﻿:root {
  --bg: #070d1b;
  --bg-soft: #0f1728;
  --card: #121d32;
  --card-2: #0f1a2f;
  --line: #22324d;
  --text: #e9f1ff;
  --muted: #94a7c6;
  --brand: #19d9c2;
  --brand-2: #3b82f6;
  --danger: #ff6b6b;
  --ok: #2dd4bf;
  --warning: #fbbf24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(29, 217, 194, 0.2) 0%, transparent 65%),
    radial-gradient(900px 500px at 100% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    var(--bg);
}

.app-shell {
  width: min(1600px, 96vw);
  margin: 18px auto 28px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.95), rgba(12, 21, 38, 0.92));
  padding: 16px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.brand h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0.3px;
}

.brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.content-project-bar {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: none;
}

.content-project-bar > .mini-label {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.content-project-bar select {
  width: 260px;
  min-width: 220px;
}

.content-search-wrap {
  position: relative;
  flex: 1 1 240px;
}

.content-search-results {
  position: absolute;
  z-index: 900;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow: auto;
  border: 1px solid #2b4568;
  border-radius: 12px;
  background: #0b1729;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.content-search-result {
  width: 100%;
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 9px;
  padding: 9px 10px;
  text-align: left;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.content-search-result:hover {
  background: rgba(59, 130, 246, 0.14);
}

.content-search-result-title {
  font-size: 13px;
  font-weight: 700;
}

.content-search-result-snippet {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.mode-btn {
  border: 0;
  padding: 8px 14px;
  color: var(--muted);
  background: #0c1528;
  cursor: pointer;
}

.mode-btn.active {
  background: rgba(25, 217, 194, 0.16);
  color: #dbfffa;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--muted);
  background: #0d1629;
}

.chip.online {
  border-color: rgba(45, 212, 191, 0.5);
  color: #9ff6ea;
  background: rgba(45, 212, 191, 0.14);
}

.chip.offline {
  border-color: rgba(255, 107, 107, 0.3);
  color: #ffc0c0;
  background: rgba(255, 107, 107, 0.12);
}

.chip.busy {
  border-color: rgba(251, 191, 36, 0.4);
  color: #ffe4a3;
  background: rgba(251, 191, 36, 0.12);
}

.chip.mock,
.chip.blocked {
  border-color: rgba(251, 191, 36, 0.44);
  color: #ffe4a3;
  background: rgba(251, 191, 36, 0.12);
}

.workspace {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 260px 1fr 360px;
  gap: 12px;
  align-items: start;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.left-nav {
  padding: 14px;
  position: sticky;
  top: 12px;
}

.left-head strong {
  display: block;
  font-size: 15px;
}

.left-head p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.step-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: #0c1629;
  border-radius: 12px;
  color: var(--text);
  padding: 10px;
  cursor: pointer;
}

.step-item .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0b1628;
  background: #7b8da8;
}

.step-item.active {
  border-color: rgba(25, 217, 194, 0.6);
  background: linear-gradient(180deg, rgba(25, 217, 194, 0.18), rgba(18, 35, 55, 0.7));
}

.step-item.active .step-index,
.step-item.done .step-index {
  background: var(--brand);
}

.step-item.done {
  border-color: rgba(45, 212, 191, 0.35);
}

.step-item.running {
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.18), rgba(18, 35, 55, 0.7));
}

.step-item.error {
  border-color: rgba(255, 107, 107, 0.6);
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.15), rgba(27, 17, 20, 0.75));
}

.step-text {
  display: grid;
  gap: 2px;
}

.step-text b {
  font-size: 18px;
}

.step-text small {
  color: var(--muted);
  font-size: 12px;
}

.center-flow {
  min-width: 0;
}

.task-panel {
  padding: 14px 16px;
  margin-bottom: 12px;
}

.task-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.task-panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.task-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.task-panel-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.task-progress {
  margin-top: 10px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1325;
}

.task-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1adbc3, #3b82f6);
  transition: width 250ms ease;
}

.task-steps {
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}

.task-steps li {
  transition: color 160ms ease;
}

.task-steps li.active {
  color: #d9fbff;
}

.task-steps li.done {
  color: #9ff6ea;
}

.task-steps li.error {
  color: #ffb6b6;
}

.step-panel {
  display: none;
  padding: 16px;
}

.step-panel.active {
  display: block;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
}

.section-head p {
  margin: 6px 0 14px;
  color: var(--muted);
}

.entry-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.entry-mode-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0d182d;
  color: var(--muted);
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
}

.entry-mode-btn.active {
  border-color: rgba(25, 217, 194, 0.6);
  color: #d9fbff;
  background: rgba(25, 217, 194, 0.16);
}

.entry-panel {
  display: none;
}

.entry-panel.active {
  display: block;
}

.strategy-card {
  border: 1px solid #1b2f4f;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 28, 50, 0.9), rgba(10, 19, 37, 0.9));
  padding: 14px;
  margin-bottom: 12px;
}

.content-workspace-panel {
  border-color: rgba(25, 217, 194, 0.35);
}

.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.workspace-toolbar > select {
  width: min(360px, 100%);
}

.workspace-toolbar > .mini-label {
  margin-bottom: 0;
}

.copy-model-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 340px;
  flex-wrap: wrap;
}

.copy-model-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #2a4163;
  border-radius: 999px;
  padding: 6px 10px;
  background: #0b172a;
  color: #c9d9f5;
  font-size: 12px;
}

.workspace-error,
.candidate-error {
  min-height: 18px;
  color: #ffabab;
  font-size: 13px;
}

.comparison-status {
  margin: 10px 0;
  color: #9ff6ea;
  font-size: 13px;
}

.comparison-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.workflow-panel,
.schedule-panel,
.p2-panel {
  border: 1px solid rgba(116, 144, 187, 0.28);
  border-radius: 12px;
  background: rgba(5, 12, 24, 0.36);
  margin-top: 12px;
  padding: 12px;
}

.workflow-toolbar > select,
.schedule-toolbar > select,
.schedule-toolbar > input {
  min-width: 140px;
}

.workflow-timeline,
.schedule-list,
.content-asset-list,
.local-model-eval-list,
.batch-generation-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.workflow-run-summary {
  margin: 0;
  color: #9ff6ea;
  font-size: 13px;
}

.workflow-node,
.schedule-row,
.content-asset-row,
.local-model-eval-row,
.batch-generation-row {
  min-width: 0;
  border: 1px solid #263c5c;
  border-radius: 12px;
  background: #0a1527;
  padding: 10px;
}

.content-asset-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dce7fa;
}

.p2-form-grid {
  margin-top: 0;
}

.workflow-node-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.workflow-node-output {
  margin: 8px 0 0;
  color: #dce7fa;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

.workflow-review-result {
  margin-top: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 180px;
  overflow: auto;
}

.comparison-card,
.project-version-row {
  border: 1px solid #263c5c;
  border-radius: 12px;
  background: #0a1527;
  padding: 12px;
}

.comparison-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.comparison-card h4,
.project-version-row h4 {
  margin: 0;
  font-size: 15px;
}

.candidate-status {
  border-radius: 999px;
  padding: 3px 7px;
  background: #182842;
  color: #b8cae8;
  font-size: 11px;
}

.status-succeeded {
  color: #9ff6ea;
  background: rgba(45, 212, 191, 0.14);
}

.status-provider_failed,
.status-timeout {
  color: #ffc0c0;
  background: rgba(255, 107, 107, 0.14);
}

.candidate-score,
.candidate-dimension {
  margin: 7px 0 0;
  color: #c6d5ef;
  font-size: 12px;
}

.candidate-dimension {
  color: var(--muted);
}

.candidate-copy,
.version-excerpt {
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  color: #e7effd;
}

.candidate-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.project-history-list {
  display: grid;
  gap: 10px;
}

.project-history-panel {
  width: min(920px, 96vw);
}

.strategy-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 10px;
}

.strategy-mode-btn {
  border: 1px solid #2b3f60;
  border-radius: 12px;
  background: #172338;
  color: var(--muted);
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.strategy-mode-btn.active {
  border-color: rgba(25, 217, 194, 0.65);
  background: rgba(25, 217, 194, 0.18);
  color: #e8fffc;
}

.quick-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.quick-tag-btn {
  border: 1px solid #2b3f60;
  border-radius: 999px;
  background: #172338;
  color: #c3d5f5;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
}

.quick-tag-btn.active {
  border-color: rgba(25, 217, 194, 0.65);
  background: rgba(25, 217, 194, 0.2);
  color: #eafffb;
}

.hidden-panel {
  display: none;
}

.btn-wide {
  width: 100%;
  justify-content: center;
}

.creator-works-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1325;
  padding: 10px;
  margin-bottom: 10px;
  max-height: 260px;
  overflow: auto;
}

.creator-works-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.creator-work-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  border: 1px solid #1a2943;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
  background: #0b1629;
}

.creator-work-item:last-child {
  margin-bottom: 0;
}

.creator-work-title {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.creator-work-url {
  display: block;
  color: #8dd8ff;
  text-decoration: none;
  font-size: 12px;
  word-break: break-all;
}

.creator-work-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.sub-title {
  margin: 2px 0 10px;
  font-size: 18px;
}

.label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.mini-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.options {
  margin-bottom: 10px;
}

input[type="text"],
input[type="search"],
input[type="file"],
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b1426;
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}

textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.65;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(25, 217, 194, 0.7);
  box-shadow: 0 0 0 3px rgba(25, 217, 194, 0.16);
}

.link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d182d;
  color: var(--text);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 14px;
}

.btn:hover {
  background: #13213c;
}

.btn.primary {
  border-color: rgba(25, 217, 194, 0.6);
  background: linear-gradient(180deg, #1adbc3, #16bda8);
  color: #041019;
  font-weight: 700;
}

.btn.primary:hover {
  filter: brightness(1.03);
}

.btn.small {
  padding: 6px 10px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.grid.two-cols {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid.three-cols {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.result-head h2,
.result-head h3 {
  margin: 0;
  font-size: 18px;
}

.result-box,
.title-list,
.preview-text,
.preview-log {
  margin: 0;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1325;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
}

.result-box.compact {
  min-height: 130px;
}

.title-list {
  padding-left: 30px;
}

.title-list li {
  margin: 0 0 8px;
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.status {
  min-height: 22px;
  margin: 12px 2px 0;
  color: var(--muted);
}

.toolbar {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.actions {
  display: flex;
  gap: 10px;
}

.record-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  min-width: 60px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #062320;
  background: rgba(25, 217, 194, 0.9);
}

.hint-inline {
  color: var(--muted);
  font-size: 13px;
}

.voice-store {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1.2fr auto 1fr auto auto;
  gap: 8px;
  align-items: center;
}

#voiceAliasInput,
#savedVoiceSelect {
  width: 100%;
}

.divider {
  height: 1px;
  margin: 14px 0;
  background: var(--line);
}

.audio-box {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

#lipAudioUrl {
  flex: 1;
  min-width: 280px;
}

#cosyAudio,
#previewAudio,
#lipVideo,
#previewVideo {
  width: min(520px, 100%);
}

#previewVideo,
#lipVideo {
  background: #000;
  border-radius: 10px;
}

#cosyDownload,
#lipDownload,
#previewAudioLink,
#previewVideoLink {
  color: #8dd8ff;
  text-decoration: none;
  font-size: 14px;
}

#cosyDownload:hover,
#lipDownload:hover,
#previewAudioLink:hover,
#previewVideoLink:hover {
  text-decoration: underline;
}

.right-preview {
  padding: 14px;
  position: sticky;
  top: 12px;
}

.preview-tabs {
  display: inline-flex;
  gap: 6px;
}

.preview-tab {
  border: 1px solid #2b3f60;
  border-radius: 999px;
  background: #152238;
  color: #9bb0d5;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}

.preview-tab.active {
  border-color: rgba(25, 217, 194, 0.65);
  background: rgba(25, 217, 194, 0.2);
  color: #eafffb;
}

.hidden-preview {
  display: none;
}

.preview-block {
  margin-bottom: 14px;
}

.preview-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.preview-text {
  min-height: 120px;
}

.preview-log {
  min-height: 160px;
  max-height: 280px;
  overflow: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 10, 18, 0.7);
}

.modal.hidden {
  display: none;
}

.activation-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 11, 19, 0.72);
}

.activation-modal.hidden {
  display: none;
}

.activation-panel {
  width: min(460px, 92vw);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #101b2f;
  padding: 18px 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.activation-panel h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.activation-panel p {
  margin: 0 0 10px;
  color: #9ab0d6;
}

.activation-panel input {
  width: 100%;
  border: 1px solid #2a4062;
  border-radius: 10px;
  background: #0c1425;
  color: #eaf3ff;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.modal-panel {
  width: min(880px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0f1b31;
  padding: 16px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modal-head h3 {
  margin: 0;
  font-size: 20px;
}

.sample-text {
  margin: 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1325;
  padding: 10px 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

#voiceWaveCanvas {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(32, 53, 84, 0.8), rgba(12, 22, 39, 0.95));
}

.level-track {
  margin-top: 10px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #101c33;
  overflow: hidden;
}

.level-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1adbc3, #3b82f6);
  transition: width 80ms linear;
}

.global-toast {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 1800;
  min-width: 220px;
  max-width: 420px;
  border-radius: 12px;
  border: 1px solid #2e4f75;
  background: #0f2038;
  color: #eaf3ff;
  padding: 11px 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.global-toast.success {
  border-color: rgba(45, 212, 191, 0.5);
  background: #0f2a31;
}

.global-toast.error {
  border-color: rgba(255, 107, 107, 0.55);
  background: #341d24;
}

.global-toast.hidden {
  display: none;
}

@media (max-width: 1400px) {
  .workspace {
    grid-template-columns: 230px 1fr;
  }

  .right-preview {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 1100px) {
  .topbar {
    flex-wrap: wrap;
  }

  .content-project-bar {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    flex-wrap: wrap;
  }

  .comparison-results {
    grid-template-columns: 1fr;
  }

  .workspace-toolbar {
    align-items: stretch;
  }

  .workflow-toolbar > *,
  .schedule-toolbar > * {
    flex: 1 1 160px;
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .left-nav,
  .right-preview {
    position: static;
  }

  .grid.two-cols {
    grid-template-columns: 1fr;
  }

  .grid.three-cols {
    grid-template-columns: 1fr;
  }

  .link-row {
    grid-template-columns: 1fr;
  }

  .voice-store {
    grid-template-columns: 1fr;
  }

  .toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .strategy-mode {
    grid-template-columns: 1fr;
  }

  .task-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-steps {
    grid-template-columns: 1fr;
  }

  .content-project-bar {
    min-width: 0;
  }

  .content-project-bar select,
  .content-search-wrap {
    flex: 1 1 100%;
    width: 100%;
  }
}
