@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,500;0,700;1,300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap");
body, window {
  margin: 0;
  padding: 0;
  color: #EDEDED;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 20px;
  background: #0a0a08;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

body.modal {
  height: 100%;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.error {
  text-align: center;
  background: rgba(255, 100, 100, 0.5);
  color: white;
  margin: 0 0 10px;
  padding: 10px;
  align-self: stretch;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@keyframes glow {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.4;
  }
}
.spinner {
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spinner--orange {
  border-color: rgba(232, 119, 34, 0.15);
  border-top-color: rgba(232, 119, 34, 0.8);
}

.spinner--blue {
  border-color: rgba(74, 127, 165, 0.15);
  border-top-color: rgba(106, 170, 212, 0.8);
}

.spinner--teal {
  border-color: rgba(78, 205, 196, 0.15);
  border-top-color: rgba(78, 205, 196, 0.8);
}

.spinner--sm {
  width: 11px;
  height: 11px;
}

.spinner--lg {
  width: 28px;
  height: 28px;
  border-width: 3px;
}

.landing-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #0a0a08;
}

.landing-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.landing-heading {
  margin: 0 0 22px;
}

.landing-logo {
  display: block;
  width: 236px;
  max-width: 100%;
  height: auto;
}

.landing-subtitle {
  margin: 0 0 32px;
  max-width: 372px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(230, 228, 222, 0.5);
}

.landing-signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  background: #F05625;
  color: #14100c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.landing-signin:hover {
  background: #f46d40;
}
.landing-signin:focus-visible {
  outline: 2px solid #e6e4de;
  outline-offset: 3px;
}

.landing-terms {
  margin: 22px 0 0;
  max-width: 360px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(230, 228, 222, 0.35);
}
.landing-terms a {
  color: rgba(230, 228, 222, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.landing-terms a:hover {
  color: #e6e4de;
}

.landing-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 106, 91, 0.4);
  border-radius: 6px;
  background: rgba(201, 106, 91, 0.1);
  font-size: 12px;
  color: #d89489;
}

.landing-notice-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #c96a5b;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-footer {
  flex-shrink: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(230, 228, 222, 0.08);
}

.landing-footer-text {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 228, 222, 0.2);
}

@media (max-width: 600px) {
  .landing-main {
    padding: 32px 20px;
  }
  .landing-logo {
    width: 200px;
  }
}
.search-selector {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-top: 0;
  list-style: none;
}
.search-selector .search-filter-container {
  margin-bottom: 8px;
}
.search-selector .search-filter-container input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.12);
  border-radius: 4px;
  color: #e6e4de;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.15s;
}
.search-selector .search-filter-container input::placeholder {
  color: rgba(230, 228, 222, 0.3);
}
.search-selector .search-filter-container input:focus {
  border-color: rgba(230, 228, 222, 0.3);
}
.search-selector li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-selector li > span {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(230, 228, 222, 0.07);
  border-radius: 4px;
  font-size: 14px;
  font-family: system-ui, sans-serif;
  font-weight: 300;
  color: rgba(230, 228, 222, 0.85);
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.15s;
}
.search-selector li > span:hover {
  background: rgba(255, 255, 255, 0.05);
}
.search-selector li > span .episode-row-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.search-selector li > span .episode-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.search-selector li > span .episode-v2-badge {
  display: inline-block;
  flex-shrink: 0;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(78, 205, 196, 0.15);
  color: #4ecdc4;
  letter-spacing: 0.03em;
}
.search-selector li > span .episode-meta {
  flex-shrink: 0;
  font-size: 11px;
  color: rgba(230, 228, 222, 0.35);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.search-selector .search-list-empty {
  font-size: 13px;
  color: rgba(230, 228, 222, 0.35);
  padding: 12px 0;
  text-align: center;
  font-style: italic;
}

.content-col {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  max-width: 720px;
  width: 100%;
  align-self: center;
  padding: 20px 24px 80px;
}

.selector-heading {
  font-family: "Courier Prime", monospace;
  font-size: 18px;
  font-weight: 700;
  color: rgba(230, 228, 222, 0.6);
  margin-bottom: 16px;
  padding-top: 28px;
}

div.page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}
div.page .header-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 16px;
  background: rgba(29, 29, 26, 0.98);
  border-bottom: 1px solid rgba(230, 228, 222, 0.06);
  position: relative;
  flex-shrink: 0;
  z-index: 200;
  gap: 8px;
}
div.page .header-bar .back-button {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  background: transparent;
  color: rgba(230, 228, 222, 0.35);
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}
div.page .header-bar .back-button:hover {
  color: rgba(230, 228, 222, 0.7);
}
div.page .header-bar img.episode-poster {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  align-self: center;
  flex-grow: 0;
  max-height: 36px;
  max-width: 36px;
  min-width: 36px;
  min-height: 36px;
  margin-right: 10px;
}
div.page .header-bar h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e6e4de;
  text-align: left;
  margin: 0;
  padding: 0;
}
div.page .header-bar .sp-header-title {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.page .header-bar .sp-header-title-edit {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0.3;
  display: flex;
  align-items: center;
}
div.page .header-bar .sp-header-title-edit .sp-header-title-edit-icon {
  width: 14px;
  height: 14px;
  filter: invert(1);
}
div.page .header-bar .sp-header-title-edit:hover {
  opacity: 0.7;
}
div.page .header-bar .header-sep {
  color: rgba(230, 228, 222, 0.12);
  font-size: 14px;
  flex-shrink: 0;
  user-select: none;
}
div.page .header-bar .sp-header-spacer {
  flex: 1;
}
div.page .header-bar .header-spacer {
  flex: 1;
}
div.page .header-bar .header-back {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.4);
  cursor: pointer;
  flex-shrink: 0;
}
div.page .header-bar .header-back:hover {
  color: rgba(230, 228, 222, 0.7);
}
div.page .header-bar .header-title {
  color: rgba(230, 228, 222, 0.85);
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.page .header-bar .header-btn {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 3px;
  cursor: pointer;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.1);
  color: rgba(230, 228, 222, 0.55);
  white-space: nowrap;
  flex-shrink: 0;
}
div.page .header-bar .header-btn:hover {
  background: rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.75);
}
div.page .header-bar .edit-program-title {
  display: flex;
  align-items: center;
  opacity: 0.4;
  transition: opacity 0.15s;
  cursor: pointer;
}
div.page .header-bar .edit-program-title:hover {
  opacity: 0.8;
}
div.page .header-bar .edit-program-title .program-icon {
  width: 14px;
  height: 14px;
}

.program-title-editor-content {
  display: flex;
  flex-direction: column;
}
.program-title-editor-content input.program-title-editor {
  background-color: rgba(255, 255, 255, 0.056);
  box-shadow: 0 2.1px 8.3px rgba(0, 0, 0, 0.205);
  color: rgba(237, 237, 237, 0.87);
  border: 1px solid rgba(237, 237, 237, 0.4);
  border-radius: 4px;
  cursor: text;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 27px;
  padding: 10px 16px;
  outline: none;
  min-height: 24px;
  white-space: pre-wrap;
  transition: all 0.3;
  margin-bottom: 20px;
}
.program-title-editor-content input.program-title-editor::placeholder {
  font-style: italic;
  color: rgba(237, 237, 237, 0.4);
}
.program-title-editor-content input.program-title-editor:focus {
  color: #EDEDED;
  border: 1px solid #EDEDED;
}
.program-title-editor-content .update-program-title {
  background: #ec542e;
  color: white;
  text-shadow: 0 0 10px rgba(75, 17, 3, 0.5);
  border: 0 solid transparent;
  border-radius: 4px;
  padding: 20px;
  cursor: pointer;
  flex-grow: 0;
  align-self: center;
  padding: 10px 30px;
  font-size: 18px;
}
.program-title-editor-content .update-program-title.update-disabled {
  background-color: rgba(200, 65, 31, 0.5);
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
}

.program-selector-controls {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 16px;
}
.program-selector-controls .create-program {
  background: rgba(232, 119, 34, 0.12);
  border: 1px solid rgba(232, 119, 34, 0.3);
  border-radius: 4px;
  color: #e87722;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.program-selector-controls .create-program:hover {
  background: rgba(232, 119, 34, 0.2);
}
.program-selector-controls .upgrade-to-v2 {
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.15);
  border-radius: 4px;
  color: rgba(230, 228, 222, 0.45);
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.program-selector-controls .upgrade-to-v2:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(230, 228, 222, 0.65);
}

.program-selector-no-programs {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(230, 228, 222, 0.35);
  font-style: italic;
}

.program-picker-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(230, 228, 222, 0.08);
  margin-bottom: 16px;
}

.program-picker-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 8px 16px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.program-picker-tab:hover {
  color: rgba(230, 228, 222, 0.7);
}

.program-picker-tab--active {
  color: #e87722;
  border-bottom-color: #e87722;
}

.program-picker-tab-count {
  background: rgba(230, 228, 222, 0.08);
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.program-picker-tab--active .program-picker-tab-count {
  background: rgba(232, 119, 34, 0.2);
  color: #e87722;
}

.draft-pending-pill {
  background: rgba(232, 119, 34, 0.14);
  border: 1px solid rgba(232, 119, 34, 0.4);
  color: #e87722;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: 6px;
}
.draft-pending-pill:hover {
  background: rgba(232, 119, 34, 0.22);
}

.draft-list-section {
  margin-bottom: 28px;
}

.draft-list {
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.draft-list-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 6px;
  transition: background 0.12s, border-color 0.12s;
  padding-right: 6px;
}
.draft-list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 119, 34, 0.35);
}

.draft-list-link {
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: #e6e4de;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}

.draft-list-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-published-badge {
  background: rgba(120, 200, 130, 0.12);
  border: 1px solid rgba(120, 200, 130, 0.35);
  border-radius: 3px;
  color: rgba(180, 220, 185, 0.9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  text-transform: uppercase;
}

.draft-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.draft-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(230, 228, 222, 0.3);
  transition: background 0.1s, color 0.1s;
}
.draft-action-btn--delete:hover {
  background: rgba(200, 60, 50, 0.15);
  color: rgba(220, 90, 80, 0.85);
}

.draft-list-item--confirming {
  border-color: rgba(200, 60, 50, 0.35) !important;
  background: rgba(200, 60, 50, 0.05) !important;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 8px;
}

.draft-confirm-zone {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.draft-confirm-label {
  font-size: 11px;
  color: rgba(220, 90, 80, 0.8);
  white-space: nowrap;
}

.draft-confirm-btn {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid;
  white-space: nowrap;
}
.draft-confirm-btn--yes {
  background: rgba(200, 60, 50, 0.15);
  border-color: rgba(200, 60, 50, 0.4);
  color: rgba(220, 100, 90, 0.9);
}
.draft-confirm-btn--yes:hover {
  background: rgba(200, 60, 50, 0.25);
}
.draft-confirm-btn--no {
  background: transparent;
  border-color: rgba(230, 228, 222, 0.12);
  color: rgba(230, 228, 222, 0.45);
}
.draft-confirm-btn--no:hover {
  background: rgba(230, 228, 222, 0.06);
}

.draft-pill-wrap {
  position: relative;
  flex-shrink: 0;
}

.draft-pending-pill--open {
  background: rgba(232, 119, 34, 0.22);
}

.draft-pill-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #1e1e1c;
  border: 1px solid rgba(230, 228, 222, 0.14);
  border-radius: 6px;
  padding: 8px;
  width: 210px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.draft-pill-popover-title {
  padding: 4px 8px 8px;
  border-bottom: 1px solid rgba(230, 228, 222, 0.07);
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.draft-pill-popover-heading {
  font-size: 12px;
  font-weight: 600;
  color: rgba(230, 228, 222, 0.75);
}

.draft-pill-popover-meta {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.38);
}

.draft-pill-popover-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 7px 8px;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  color: rgba(230, 228, 222, 0.75);
  transition: background 0.1s;
  font-family: system-ui, sans-serif;
}
.draft-pill-popover-btn:hover:not(:disabled) {
  background: rgba(230, 228, 222, 0.06);
}
.draft-pill-popover-btn--destructive {
  color: rgba(220, 90, 80, 0.85);
}
.draft-pill-popover-btn--destructive:hover {
  background: rgba(200, 60, 50, 0.12) !important;
}
.draft-pill-popover-btn--disabled {
  color: rgba(230, 228, 222, 0.25);
  cursor: default;
}

.draft-list-updated,
.draft-list-meta {
  color: rgba(230, 228, 222, 0.4);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.page .section-container .text-container .section-text {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.15);
}

.section-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}
.section-container .section-control-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.section-container .section-control-bar .section-preview-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}
.section-container .section-control-bar .section-preview-controls a.player-button {
  display: flex;
  border: none;
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.5;
}
.section-container .section-control-bar .section-preview-controls a.player-button:hover {
  opacity: 0.8;
}
.section-container .section-control-bar .section-preview-controls a.player-button img {
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}
.section-container .section-control-bar .section-preview-controls a.player-button.no-content {
  opacity: 0.2;
  cursor: initial;
}
.section-container .section-control-bar .section-preview-controls a.player-button.player-loading {
  animation: rotation 1.5s infinite linear;
}
.section-container .section-control-bar .voice-selector {
  margin: 0;
  font-size: 14px;
  font-family: system-ui, sans-serif;
}
.section-container .section-control-bar .section-voice-label {
  margin: 0;
  flex-grow: 1;
  font-size: 13px;
  line-height: 20px;
  color: rgba(230, 228, 222, 0.35);
  font-style: italic;
  font-family: system-ui, sans-serif;
}
.section-container .section-control-bar .section-voice-label .language-label,
.section-container .section-control-bar .section-voice-label .voice-label {
  cursor: pointer;
}
.section-container .section-control-bar .section-voice-label .language-label:hover,
.section-container .section-control-bar .section-voice-label .voice-label:hover {
  color: rgba(230, 228, 222, 0.6);
  text-decoration: underline;
}
.section-container .section-control-bar .v2-line-host-label {
  flex-grow: 1;
}
.section-container .section-control-bar .v2-line-host-label .v2-host-toggle {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1.5px solid;
  letter-spacing: 0.03em;
  opacity: 0.85;
  line-height: 1;
  user-select: none;
}
.section-container .section-control-bar .v2-line-host-label .v2-host-toggle.v2-host-toggle--clickable {
  cursor: pointer;
  transition: opacity 0.15s;
}
.section-container .section-control-bar .v2-line-host-label .v2-host-toggle.v2-host-toggle--clickable:hover {
  opacity: 0.55;
}
.section-container .section-control-bar .position-controls {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.section-container .section-control-bar .position-controls li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 5px;
}
.section-container .section-control-bar .position-controls .order-icon {
  opacity: 0.4;
  cursor: pointer;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.section-container .section-control-bar .position-controls .order-icon:hover {
  opacity: 0.7;
}
.section-container .section-control-bar .position-controls .delete-section {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1;
  justify-content: flex-end;
  margin-right: -2px;
  display: flex;
  align-items: center;
}
.section-container .section-control-bar .position-controls .delete-section img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity 0.15s;
}
.section-container .section-control-bar .position-controls .delete-section:hover img {
  opacity: 0.7;
}
.section-container .text-container {
  display: inline-grid;
}
.section-container .text-container::after,
.section-container .text-container .section-text {
  font-weight: 300;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 9px 12px;
  min-height: 24px;
  white-space: pre-wrap;
  grid-area: 2/1;
  resize: none;
  max-height: 600px;
}
.section-container .text-container::after {
  border: 1px solid transparent;
  content: attr(data-content);
  visibility: hidden;
}
.section-container .text-container .section-text {
  grid-area: 2/1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.15);
  border-radius: 4px;
  color: rgba(230, 228, 222, 0.85);
  outline: none;
  transition: border-color 0.15s;
}
.section-container .text-container .section-text::placeholder {
  font-style: italic;
  color: rgba(230, 228, 222, 0.25);
}
.section-container .text-container .section-text:focus {
  color: #e6e4de;
  border-color: rgba(230, 228, 222, 0.4);
}
.section-container .text-container .section-text.error, .section-container .text-container .section-text.error:focus {
  border-color: #e74c3c;
}

.add-section-bar {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 8px;
}
.add-section-bar button {
  font-size: 12px;
  font-style: italic;
  font-family: system-ui, sans-serif;
  border-radius: 3px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(230, 228, 222, 0.15);
  color: rgba(230, 228, 222, 0.35);
  padding: 4px 8px;
  transition: all 0.15s;
}
.add-section-bar button:hover {
  color: rgba(230, 228, 222, 0.6);
  border-color: rgba(230, 228, 222, 0.3);
}

.program-control-bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 12px 0 4px;
}
.program-control-bar button {
  background: rgba(232, 119, 34, 0.12);
  border: 1px solid rgba(232, 119, 34, 0.3);
  border-radius: 4px;
  color: #e87722;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 24px;
  cursor: pointer;
  transition: background 0.15s;
}
.program-control-bar button:hover {
  background: rgba(232, 119, 34, 0.2);
}
.program-control-bar button:disabled {
  background: rgba(232, 119, 34, 0.06);
  border-color: rgba(232, 119, 34, 0.15);
  color: rgba(232, 119, 34, 0.3);
  cursor: default;
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  overflow-y: auto;
}
.modal-container .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}
.modal-container .modal-close img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  transition: opacity 0.15s;
}
.modal-container .modal-close:hover img {
  opacity: 0.7;
}
.modal-container .modal-title {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(230, 228, 222, 0.5);
  text-align: center;
  margin: 0 0 12px;
}
.modal-container .modal-content {
  background: #1e1e1b;
  border: 1px solid rgba(230, 228, 222, 0.1);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  max-width: 420px;
  width: 100%;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 20px;
}
.modal-container .modal-content .search-selector li > span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(230, 228, 222, 0.2);
  margin-right: 8px;
  flex-shrink: 0;
  align-self: center;
}
.modal-container .modal-content .search-selector li > span.is-active::before {
  background: #e87722;
}
.modal-container .loading-indicator {
  width: 28px;
  height: 28px;
  border: 2.5px solid rgba(230, 228, 222, 0.15);
  border-top-color: rgba(230, 228, 222, 0.8);
  border-radius: 50%;
  animation: rotation 0.7s linear infinite;
}
.modal-container .upgrade-controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.modal-container .upgrade-controls button {
  background: #ec542e;
  color: white;
  text-shadow: 0 0 10px rgba(75, 17, 3, 0.5);
  border: 0 solid transparent;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
}
.modal-container .upgrade-controls button.upgrade-studio {
  background-color: white;
  color: black;
}
.modal-container .upgrade-controls button.cancel-upgrade-studio {
  background-color: transparent;
  border: 1px solid white;
}
.modal-container .upgrade-controls button:first-child {
  margin-right: 10px;
}

.preview-controls {
  position: fixed;
  left: 20px;
  bottom: 20px;
}
.preview-controls .player-button {
  display: flex;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
.preview-controls .player-button.no-content {
  display: none;
  opacity: 0.2;
  cursor: initial;
}
.preview-controls .player-button .player-icon {
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}
.preview-controls .player-button.player-loading {
  animation: rotation 1.5s infinite linear;
}
.preview-controls .player-button.player-playing {
  animation: glow 1s infinite linear;
  animation-direction: alternate;
}
.preview-controls .player-button.player-playing:hover {
  animation: none;
}

.v2-host-chips {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}

.v2-host-chip {
  background-color: rgba(255, 255, 255, 0.056);
  box-shadow: 0 2.1px 8.3px rgba(0, 0, 0, 0.205);
  color: rgba(237, 237, 237, 0.87);
  margin: 0;
  padding: 6px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
}
.v2-host-chip:hover {
  background-color: rgba(237, 237, 237, 0.1);
}
.v2-host-chip .host-name {
  font-weight: 500;
  font-size: 16px;
}
.v2-host-chip .host-sep {
  color: rgba(237, 237, 237, 0.25);
  font-size: 12px;
}
.v2-host-chip .host-voice {
  font-style: italic;
  color: rgba(237, 237, 237, 0.4);
  font-size: 14px;
}

.v2-add-host {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px dashed rgba(237, 237, 237, 0.3);
  background: transparent;
  color: rgba(237, 237, 237, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.v2-add-host:hover {
  border-color: rgba(237, 237, 237, 0.5);
  color: rgba(237, 237, 237, 0.85);
}

.v2-settings-toggle {
  font-size: 14px;
  color: rgba(237, 237, 237, 0.35);
  cursor: pointer;
  margin-bottom: 20px;
  font-style: italic;
}
.v2-settings-toggle:hover {
  color: rgba(237, 237, 237, 0.55);
}

.v2-settings {
  margin-bottom: 20px;
}
.v2-settings .settings-row {
  display: flex;
  gap: 12px;
}
.v2-settings .settings-field {
  flex: 1;
}
.v2-settings .settings-field label {
  display: block;
  font-size: 12px;
  color: rgba(237, 237, 237, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.v2-settings .settings-field textarea {
  width: 100%;
  background-color: transparent;
  border: 1px solid rgba(237, 237, 237, 0.25);
  border-radius: 4px;
  color: rgba(237, 237, 237, 0.7);
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  padding: 8px 12px;
  resize: none;
  outline: none;
}
.v2-settings .settings-field textarea:focus {
  border-color: rgba(237, 237, 237, 0.5);
  color: #EDEDED;
}

.v2-direction-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  opacity: 0.4;
  font-size: 13px;
  font-style: normal;
  transition: opacity 0.2s;
  color: rgba(237, 237, 237, 0.6);
  margin-left: 8px;
}
.v2-direction-toggle:hover {
  opacity: 0.7;
}
.v2-direction-toggle.has-direction {
  opacity: 0.65;
  color: rgba(237, 237, 237, 0.8);
}
.v2-direction-toggle img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.v2-direction-input {
  margin-top: 6px;
  margin-bottom: -6px;
}
.v2-direction-input input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237, 237, 237, 0.2);
  color: rgba(237, 237, 237, 0.5);
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  padding: 4px 0;
  outline: none;
}
.v2-direction-input input::placeholder {
  color: rgba(237, 237, 237, 0.25);
  font-style: italic;
}
.v2-direction-input input:focus {
  border-bottom-color: rgba(237, 237, 237, 0.4);
  color: rgba(237, 237, 237, 0.7);
}

.sp-editor-outer {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.sp-nav {
  width: 48px;
  flex-shrink: 0;
  background: #0a0a08;
  border-right: 1px solid rgba(230, 228, 222, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  gap: 4px;
}

.sp-nav-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.sp-nav-item:hover {
  background: rgba(230, 228, 222, 0.04);
}
.sp-nav-item--active {
  background: rgba(230, 228, 222, 0.08);
}
.sp-nav-item--active::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: #e87722;
  border-radius: 0 2px 2px 0;
}
.sp-nav-item--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sp-nav-item--disabled:hover {
  background: transparent;
}

.sp-nav-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  filter: invert(1);
}
.sp-nav-item--active .sp-nav-icon {
  opacity: 0.85;
}
.sp-nav-item:hover .sp-nav-icon {
  opacity: 0.7;
}

.sp-editor-layout {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  gap: 0;
  overflow: hidden;
}

.sp-transcript-col {
  flex: 1;
  min-width: 0;
  background: #0a0a08;
  overflow-y: auto;
  padding: 32px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.sp-page {
  background: #1d1d1a;
  max-width: 740px;
  width: 100%;
  padding: 60px 72px;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.75);
  font-family: "Courier Prime", monospace;
  color: #e6e4de;
  position: relative;
}

.sp-enhance-col {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #111110;
  border-left: 1px solid rgba(230, 228, 222, 0.06);
  overflow-y: auto;
}

.sp-scene-settings {
  margin-bottom: 16px;
}

.sp-scene-heading {
  font-family: "Courier Prime", monospace;
  font-size: 14.5px;
  line-height: 1.7;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  outline: none;
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  field-sizing: content;
  resize: none;
  overflow: hidden;
}
.sp-scene-heading:focus {
  outline: none;
  color: rgba(232, 119, 34, 0.95);
}
.sp-scene-heading::placeholder {
  opacity: 0.35;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.sp-directors-notes {
  font-size: 14.5px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.35);
  margin-bottom: 4px;
  outline: none;
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  field-sizing: content;
  resize: none;
  overflow: hidden;
  line-height: 1.7;
}
.sp-directors-notes:focus {
  color: rgba(230, 228, 222, 0.55);
  outline: none;
}
.sp-directors-notes::placeholder {
  opacity: 0.45;
}

.cover-image-well {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  align-self: center;
  margin-right: 12px;
}
.cover-image-well:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.cover-image-well.cover-image-well--empty {
  border: 1px dashed rgba(230, 228, 222, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(230, 228, 222, 0.2);
  background: transparent;
}
.cover-image-well.cover-image-well--generating {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 228, 222, 0.05);
  cursor: default;
}
.cover-image-well .cover-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  width: 100%;
  height: 100%;
  gap: 4px;
}

.cover-image-placeholder-label {
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255, 255, 255, 0.3);
}

.cover-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  transition: opacity 0.2s;
}
.cover-image-well:hover .cover-image-img {
  opacity: 0.7;
}

.cover-image-error-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-first-run-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(232, 119, 34, 0.06);
  border: 1px solid rgba(232, 119, 34, 0.22);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.sp-first-run-hint-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sp-first-run-hint-title {
  font-size: 12px;
  font-weight: 600;
  color: #e6e4de;
}

.sp-first-run-hint-sub {
  font-size: 11.5px;
  color: rgba(230, 228, 222, 0.55);
  line-height: 1.55;
  margin: 0;
}

.sp-first-run-hint-dismiss {
  margin-left: auto;
  flex-shrink: 0;
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.12);
  border-radius: 3px;
  color: rgba(230, 228, 222, 0.55);
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.sp-first-run-hint-dismiss:hover {
  background: rgba(230, 228, 222, 0.06);
  color: #e6e4de;
}

.sp-preview-btn {
  font-family: system-ui;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.15s;
  background: rgba(74, 127, 165, 0.12);
  border: 1px solid rgba(74, 127, 165, 0.3);
  color: #6aaad4;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.sp-preview-btn:hover:not(:disabled) {
  background: rgba(74, 127, 165, 0.22);
  border-color: #6aaad4;
}
.sp-preview-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.sp-preview-btn.sp-preview-btn--pending, .sp-preview-btn.sp-preview-btn--synthesizing {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

.sp-episode-preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(74, 127, 165, 0.07);
  border-bottom: 1px solid rgba(74, 127, 165, 0.18);
}

.sp-episode-preview-bar--synthesizing {
  gap: 12px;
}

.sp-ep-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.sp-ep-progress-fill {
  height: 100%;
  background: #4a7fa5;
  border-radius: 2px;
  transition: width 0.3s;
}

.sp-ep-progress-label {
  font-size: 11px;
  color: rgba(106, 170, 212, 0.7);
  white-space: nowrap;
  flex-shrink: 0;
}

.sp-ep-cancel-btn {
  font-size: 11px;
  background: none;
  border: none;
  color: rgba(230, 228, 222, 0.3);
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}
.sp-ep-cancel-btn:hover {
  color: rgba(230, 228, 222, 0.6);
}

.sp-ep-dismiss-btn {
  font-size: 14px;
  background: none;
  border: none;
  color: rgba(230, 228, 222, 0.25);
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 1;
}
.sp-ep-dismiss-btn:hover {
  color: rgba(230, 228, 222, 0.55);
}

.sp-episode-preview-bar--failed {
  background: rgba(180, 60, 60, 0.07);
  border-bottom-color: rgba(180, 60, 60, 0.18);
}

.sp-ep-error {
  font-size: 11px;
  color: rgba(220, 100, 100, 0.8);
  flex: 1;
}

.sp-preview-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 8px;
}

.sp-preview-progress-label {
  font-size: 11px;
  color: rgba(106, 170, 212, 0.7);
  white-space: nowrap;
}

.sp-preview-progress-track {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.sp-preview-progress-fill {
  height: 100%;
  background: #4a7fa5;
  border-radius: 2px;
  transition: width 0.3s;
}

.render-overlay-card {
  background: #1e1e1b;
  border: 1px solid rgba(230, 228, 222, 0.1);
  border-radius: 6px;
  max-width: 380px;
  width: 100%;
  padding: 22px 22px 20px;
}

.render-overlay-title {
  font-size: 15px;
  font-weight: 600;
  color: #e6e4de;
  margin-bottom: 16px;
}

.render-progress-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(230, 228, 222, 0.12);
  overflow: hidden;
}

.render-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: #e87722;
  transition: width 0.3s;
}

.render-progress-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.render-progress-pct {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.5);
  font-variant-numeric: tabular-nums;
}

.render-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.render-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  padding: 3px 0;
  color: rgba(230, 228, 222, 0.35);
}
.render-step .render-step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(230, 228, 222, 0.2);
  flex-shrink: 0;
}

.render-step--done {
  color: rgba(230, 228, 222, 0.55);
}
.render-step--done .render-step-dot {
  background: #6db86d;
}

.render-step--active {
  color: #e6e4de;
  font-weight: 600;
}
.render-step--active .render-step-dot {
  background: #e87722;
  box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.2);
}

.sp-preview-cancel {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.35);
  background: none;
  border: none;
  cursor: pointer;
  font-family: system-ui;
  padding: 0;
}
.sp-preview-cancel:hover {
  color: rgba(230, 228, 222, 0.65);
}

.sp-preview-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  min-width: 0;
}

.sp-preview-eyebrow {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(74, 127, 165, 0.6);
  border: 1px solid rgba(74, 127, 165, 0.2);
  border-radius: 2px;
  padding: 1px 4px;
  display: inline-block;
  align-self: flex-start;
}

.sp-preview-title {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.sp-record-header-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  align-self: center;
}

.sp-record-mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(196, 122, 107, 0.25);
  color: rgba(196, 122, 107, 0.45);
  transition: all 0.15s;
}
.sp-record-mode-btn:hover {
  border-color: rgba(196, 122, 107, 0.5);
  color: rgba(196, 122, 107, 0.7);
}

.sp-record-mode-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid rgba(196, 122, 107, 0.25);
  background: rgba(196, 122, 107, 0.04);
  cursor: pointer;
  user-select: none;
  position: relative;
}
.sp-record-mode-indicator--muted {
  border-color: rgba(230, 228, 222, 0.1);
  background: rgba(230, 228, 222, 0.02);
}
.sp-record-mode-indicator--connecting {
  border-color: rgba(196, 122, 107, 0.15);
  background: none;
}

.sp-record-connecting-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: rgba(196, 122, 107, 0.4);
  font-style: italic;
}

.sp-record-mic-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-led-vu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sp-led-seg {
  width: 5px;
  height: 10px;
  border-radius: 1px;
  flex-shrink: 0;
  opacity: 0.12;
  transition: opacity 0.07s;
}
.sp-led-seg--green {
  background: rgba(78, 205, 196, 0.5);
}
.sp-led-seg--amber {
  background: rgba(220, 175, 80, 0.5);
}
.sp-led-seg--red {
  background: rgba(196, 122, 107, 0.6);
}
.sp-led-seg--lit {
  opacity: 0.92;
}

.sp-led-vu-sm {
  display: flex;
  align-items: center;
  gap: 1px;
}

.sp-led-seg-sm {
  width: 4px;
  height: 8px;
  border-radius: 1px;
  flex-shrink: 0;
  opacity: 0.12;
  transition: opacity 0.07s;
}
.sp-led-seg-sm--green {
  background: rgba(78, 205, 196, 0.5);
}
.sp-led-seg-sm--amber {
  background: rgba(220, 175, 80, 0.5);
}
.sp-led-seg-sm--red {
  background: rgba(196, 122, 107, 0.6);
}
.sp-led-seg-sm--lit {
  opacity: 0.92;
}

.sp-record-device-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(230, 228, 222, 0.4);
  letter-spacing: 0.02em;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 8px;
  cursor: pointer;
}
.sp-record-device-selector--muted {
  color: rgba(230, 228, 222, 0.2);
}

.sp-record-device-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 0;
  min-width: 210px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  z-index: 300;
}

.sp-record-device-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 11px;
  font-family: "Courier Prime", monospace;
  color: rgba(230, 228, 222, 0.55);
  cursor: pointer;
}
.sp-record-device-option:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(230, 228, 222, 0.85);
}
.sp-record-device-option--selected {
  color: rgba(78, 205, 196, 0.75);
}

.sp-record-exit {
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: bold;
  color: rgba(196, 122, 107, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 8px;
}
.sp-record-exit--muted {
  color: rgba(230, 228, 222, 0.25);
}

.sp-info-view {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px;
}

.sp-info-heading {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  color: rgba(230, 228, 222, 0.85);
  margin-bottom: 32px;
}

.sp-info-cover-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  cursor: pointer;
}
.sp-info-cover-wrap:hover {
  border-color: rgba(230, 228, 222, 0.2);
}

.sp-info-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-info-cover-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(230, 228, 222, 0.35);
  font-size: 13px;
  font-family: system-ui, sans-serif;
  text-align: center;
  padding: 16px;
}

.sp-info-cover-generating {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
}

.sp-info-label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.sp-info-input, .sp-info-textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: "Courier Prime", monospace;
  font-size: 15px;
  color: #e6e4de;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 4px;
  outline: none;
  margin-bottom: 24px;
  color-scheme: dark;
}
.sp-info-input:focus, .sp-info-textarea:focus {
  border-color: rgba(232, 119, 34, 0.5);
}

.sp-info-textarea {
  min-height: 120px;
  resize: vertical;
  field-sizing: content;
}

.sp-music-view {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
}

.sp-music-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sp-music-view-heading {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  color: rgba(230, 228, 222, 0.85);
}

.sp-music-view-count {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.35);
  margin-bottom: 16px;
}

.sp-music-track-list--full .sp-music-track {
  padding: 10px 12px;
}

.sp-header-title--link {
  cursor: pointer;
  transition: color 0.15s;
}
.sp-header-title--link:hover {
  color: #e87722;
}

.sp-hosts-view {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
}

.sp-hosts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sp-hosts-heading {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  color: rgba(230, 228, 222, 0.85);
}

.sp-hosts-add-btn {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.5);
  cursor: pointer;
  font-family: system-ui, sans-serif;
}
.sp-hosts-add-btn:hover {
  border-color: rgba(230, 228, 222, 0.2);
  color: rgba(230, 228, 222, 0.6);
}

.sp-hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.sp-host-card {
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-host-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-host-card-color {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
}

.sp-host-card-name {
  font-family: "Courier Prime", monospace;
  font-size: 15px;
  font-weight: 700;
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  padding: 0;
}
.sp-host-card-name::placeholder {
  color: rgba(230, 228, 222, 0.2);
}
.sp-host-card-name:focus {
  color: #e87722;
}

.sp-host-field {
  display: flex;
  flex-direction: column;
}

.sp-host-field-label {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(230, 228, 222, 0.35);
  margin-bottom: 4px;
}

.sp-host-type-toggle {
  display: flex;
  gap: 2px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 2px;
  width: fit-content;
}

.sp-host-type-btn {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  background: transparent;
  color: rgba(230, 228, 222, 0.35);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sp-host-type-btn--active {
  background: rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.85);
}
.sp-host-type-btn--ai.sp-host-type-btn--active {
  color: #4ecdc4;
}
.sp-host-type-btn--human.sp-host-type-btn--active {
  color: #c47a6b;
}

.sp-host-input, .sp-host-textarea {
  align-self: stretch;
  padding: 8px 10px;
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  color: #e6e4de;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 4px;
  outline: none;
}
.sp-host-input:focus, .sp-host-textarea:focus {
  border-color: rgba(232, 119, 34, 0.4);
}
.sp-host-input::placeholder, .sp-host-textarea::placeholder {
  color: rgba(230, 228, 222, 0.2);
}

.sp-host-textarea {
  min-height: 60px;
  resize: vertical;
  line-height: 1.5;
}

.sp-host-textarea--tall {
  min-height: 100px;
}

.sp-host-voice-btn {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 4px;
  cursor: pointer;
}
.sp-host-voice-btn:hover {
  border-color: rgba(230, 228, 222, 0.2);
}
.sp-host-voice-btn--disabled {
  cursor: default;
  opacity: 0.4;
}
.sp-host-voice-btn--disabled:hover {
  border-color: rgba(230, 228, 222, 0.08);
}

.sp-host-voice-name {
  font-size: 13px;
  color: rgba(230, 228, 222, 0.6);
  font-family: "Courier Prime", monospace;
}
.sp-host-voice-name--muted {
  font-style: italic;
  color: rgba(230, 228, 222, 0.35);
}

.sp-host-voice-meta {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.35);
}

.sp-host-voice-chevron {
  font-size: 10px;
  color: rgba(230, 228, 222, 0.2);
  margin-left: auto;
}

.sp-host-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(230, 228, 222, 0.04);
  margin-top: 4px;
}

.sp-host-remove-btn {
  margin-left: auto;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(196, 122, 107, 0.2);
  background: transparent;
  color: rgba(196, 122, 107, 0.5);
  cursor: pointer;
  font-family: system-ui, sans-serif;
}
.sp-host-remove-btn:hover {
  border-color: rgba(196, 122, 107, 0.4);
  color: rgba(196, 122, 107, 0.7);
}

.sp-host-card--diverged {
  border-color: rgba(232, 180, 0, 0.35);
}

.sp-lib-chip {
  font-family: system-ui, sans-serif;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sp-lib-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp-lib-chip--saved {
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.3);
  color: #4ecdc4;
}
.sp-lib-chip--saved .sp-lib-chip-dot {
  background: #4ecdc4;
}

.sp-lib-chip--modified {
  background: rgba(232, 180, 0, 0.1);
  border: 1px solid rgba(232, 180, 0, 0.35);
  color: #e8b400;
}
.sp-lib-chip--modified .sp-lib-chip-dot {
  background: #e8b400;
}

.sp-lib-chip--unmanaged {
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.5);
}
.sp-lib-chip--unmanaged .sp-lib-chip-dot {
  background: rgba(230, 228, 222, 0.35);
}

.sp-host-divergence-note {
  flex: 1 0 100%;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(232, 180, 0, 0.78);
}

.sp-host-lib-btn {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.5);
}
.sp-host-lib-btn:hover {
  border-color: rgba(230, 228, 222, 0.2);
  color: rgba(230, 228, 222, 0.85);
}
.sp-host-lib-btn--save {
  border-color: rgba(78, 205, 196, 0.35);
  color: #4ecdc4;
}
.sp-host-lib-btn--save:hover {
  border-color: rgba(78, 205, 196, 0.6);
}

.sp-host-recall {
  border-top: 1px solid rgba(230, 228, 222, 0.08);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-host-recall-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-host-recall-title {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(230, 228, 222, 0.35);
}

.sp-host-recall-seg {
  display: inline-flex;
  gap: 2px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 2px;
  width: fit-content;
}

.sp-host-recall-pill {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  background: transparent;
  color: rgba(230, 228, 222, 0.5);
  transition: all 0.15s;
}
.sp-host-recall-pill:hover {
  color: rgba(230, 228, 222, 0.85);
}
.sp-host-recall-pill--active {
  background: rgba(232, 119, 34, 0.14);
  color: #e87722;
}
.sp-host-recall-pill--studio.sp-host-recall-pill--active {
  background: rgba(232, 180, 0, 0.14);
  color: #e8b400;
}

.sp-host-recall-pill:has(> svg) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sp-pill-icon {
  width: 13px;
  height: 13px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sp-host-recall-disclosure {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(232, 180, 0, 0.8);
  background: rgba(232, 180, 0, 0.06);
  border: 1px solid rgba(232, 180, 0, 0.22);
  border-radius: 5px;
  padding: 9px 11px;
}
.sp-host-recall-disclosure strong {
  color: #e8b400;
  font-weight: 700;
}

.sp-host-recall-warn {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #e8b400;
}

.sp-host-recall-hint {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(230, 228, 222, 0.35);
}
.sp-host-recall-hint strong {
  color: rgba(78, 205, 196, 0.75);
  font-weight: 500;
}

.sp-section-label {
  font-family: system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 228, 222, 0.45);
  margin: 28px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(230, 228, 222, 0.08);
}

.sp-section-count {
  font-size: 10.5px;
  color: rgba(230, 228, 222, 0.25);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.sp-hostlib-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  margin-bottom: 16px;
  border-radius: 5px;
  font-size: 12.5px;
  background: rgba(78, 205, 196, 0.08);
  border: 1px solid rgba(78, 205, 196, 0.25);
  color: rgba(230, 228, 222, 0.6);
}
.sp-hostlib-notice span {
  flex: 1;
}

.sp-hostlib-notice-close {
  background: none;
  border: none;
  color: rgba(230, 228, 222, 0.35);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.sp-hostlib-notice-close:hover {
  color: rgba(230, 228, 222, 0.85);
}

.sp-hostlib-empty {
  font-size: 12.5px;
  color: rgba(230, 228, 222, 0.35);
  padding: 8px 0;
}
.sp-hostlib-empty--error {
  color: rgba(196, 122, 107, 0.8);
}

.sp-hostlib-retry {
  background: none;
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 4px;
  font-size: 11px;
  color: rgba(230, 228, 222, 0.5);
  cursor: pointer;
}
.sp-hostlib-retry:hover {
  border-color: rgba(230, 228, 222, 0.2);
}

.sp-hostlib-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-hostlib-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 6px;
}
.sp-hostlib-row:hover {
  border-color: rgba(230, 228, 222, 0.2);
}

.sp-hostlib-row-color {
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  flex-shrink: 0;
}

.sp-hostlib-row-main {
  flex: 1;
  min-width: 0;
}

.sp-hostlib-row-name {
  font-family: "Courier Prime", monospace;
  font-size: 14px;
  font-weight: 700;
}

.sp-hostlib-row-meta {
  font-size: 11.5px;
  color: rgba(230, 228, 222, 0.35);
  margin-top: 2px;
}

.sp-hostlib-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sp-hostlib-in-episode {
  font-size: 10.5px;
  color: #4ecdc4;
  padding: 4px 8px;
  border: 1px solid rgba(78, 205, 196, 0.25);
  border-radius: 10px;
}

.sp-hostlib-add-btn {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  background: rgba(232, 119, 34, 0.12);
  border: 1px solid rgba(232, 119, 34, 0.4);
  color: #e87722;
}
.sp-hostlib-add-btn:hover {
  background: rgba(232, 119, 34, 0.2);
}

.sp-hostlib-del-btn {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.35);
}
.sp-hostlib-del-btn:hover {
  border-color: rgba(196, 122, 107, 0.5);
  color: rgba(196, 122, 107, 0.85);
}

.sp-session-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(196, 122, 107, 0.25);
  background: rgba(196, 122, 107, 0.04);
  cursor: pointer;
  transition: border-color 0.15s;
}
.sp-session-indicator:hover {
  border-color: rgba(196, 122, 107, 0.4);
}
.sp-session-indicator--connecting {
  border-color: rgba(196, 122, 107, 0.15);
  background: none;
}

.sp-session-mic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c47a6b;
  animation: sp-pulse 1.5s ease-in-out infinite;
}

@keyframes sp-pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.sp-session-vu {
  display: flex;
  align-items: center;
  gap: 1.5px;
}

.sp-session-vu-seg {
  width: 3px;
  height: 8px;
  border-radius: 1px;
  opacity: 0.12;
  transition: opacity 0.07s;
}
.sp-session-vu-seg--green {
  background: rgba(78, 205, 196, 0.5);
}
.sp-session-vu-seg--amber {
  background: rgba(220, 175, 80, 0.5);
}
.sp-session-vu-seg--red {
  background: rgba(196, 122, 107, 0.6);
}
.sp-session-vu-seg--lit {
  opacity: 0.92;
}

.sp-session-label {
  font-size: 10px;
  color: rgba(196, 122, 107, 0.5);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.sp-editor-layout--immersive .sp-enhance-col {
  display: none;
}
.sp-editor-layout--immersive .sp-transcript-col {
  max-width: none;
  flex: 1;
  min-height: 0;
  padding: 0;
  align-items: stretch;
  overflow-y: hidden;
}

.sp-room-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #111;
  border-bottom: 1px solid #222;
}

.sp-room-logo {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  color: #e87722;
  font-weight: 700;
}

.sp-room-title {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.2);
}

.sp-room-status {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.sp-room-status--live {
  background: rgba(109, 184, 109, 0.12);
  border: 1px solid rgba(109, 184, 109, 0.25);
  color: rgba(109, 184, 109, 0.7);
}
.sp-room-status--rec {
  background: rgba(196, 122, 107, 0.15);
  border: 1px solid rgba(196, 122, 107, 0.3);
  color: rgba(196, 122, 107, 0.8);
  animation: pulse 1.5s infinite;
}

.sp-booth-view--room {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  align-self: stretch;
}
.sp-booth-view--room .sp-booth-heading {
  display: none;
}
.sp-booth-view--room .sp-room-header {
  display: none;
}
.sp-booth-view--room .sp-booth-mic-bar {
  display: none;
}
.sp-booth-view--room .sp-session-panel-header {
  display: none;
}
.sp-booth-view--room .sp-invite-row {
  display: none;
}
.sp-booth-view--room .sp-booth-connecting {
  display: none;
}
.sp-booth-view--room .sp-booth-transcript-heading {
  display: none;
}
.sp-booth-view--room .sp-booth-lines {
  display: none;
}

.sp-session-room {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  justify-content: center;
  align-items: stretch;
  align-content: center;
  flex: 1;
  min-height: 0;
}

.sp-card {
  width: 240px;
  background: #1a1a1a;
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.sp-card--recording {
  border-color: rgba(196, 122, 107, 0.35);
  box-shadow: 0 0 24px rgba(196, 122, 107, 0.1);
}

.sp-card--offline {
  opacity: 0.4;
}

.sp-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.sp-card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  flex-shrink: 0;
}

.sp-card-info {
  flex: 1;
  min-width: 0;
}

.sp-card-name {
  font-size: 15px;
  font-weight: 600;
  color: rgba(230, 228, 222, 0.85);
}

.sp-card-role {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.35);
  margin-top: 1px;
}

.sp-card-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 10px;
  flex-shrink: 0;
  align-self: flex-start;
}
.sp-card-badge--you {
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.2);
  color: rgba(78, 205, 196, 0.6);
}
.sp-card-badge--rec {
  background: rgba(196, 122, 107, 0.15);
  border: 1px solid rgba(196, 122, 107, 0.3);
  color: rgba(196, 122, 107, 0.8);
  animation: pulse 1.2s infinite;
}
.sp-card-badge--muted {
  background: rgba(230, 228, 222, 0.05);
  border: 1px solid rgba(230, 228, 222, 0.1);
  color: rgba(230, 228, 222, 0.3);
}
.sp-card-badge--offline {
  background: rgba(230, 228, 222, 0.03);
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.2);
}
.sp-card-badge--nohost {
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.2);
}
.sp-card-badge--hidden {
  display: none;
}
.sp-card-badge--ai {
  background: rgba(78, 205, 196, 0.15);
  border: 1px solid rgba(78, 205, 196, 0.35);
  color: rgba(78, 205, 196, 0.85);
}

.sp-card--ai .sp-card-avatar--ai {
  opacity: 0.75;
}

.sp-card-cue-btn {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(78, 205, 196, 0.35);
  background: rgba(78, 205, 196, 0.1);
  color: rgba(78, 205, 196, 0.9);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.sp-card-cue-btn:hover {
  background: rgba(78, 205, 196, 0.2);
  border-color: rgba(78, 205, 196, 0.55);
}
.sp-card-cue-btn:active {
  background: rgba(78, 205, 196, 0.3);
}

.sp-card-vu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
}

.sp-card-vu-seg {
  flex: 0 0 8px;
  height: 28px;
  border-radius: 3px;
  opacity: 0.12;
  transition: opacity 0.08s;
}
.sp-card-vu-seg--green {
  background: #6db86d;
}
.sp-card-vu-seg--amber {
  background: #e87722;
}
.sp-card-vu-seg--red {
  background: rgba(196, 122, 107, 0.8);
}
.sp-card-vu-seg--lit {
  opacity: 0.85;
}

.sp-card-caption {
  padding: 10px 14px;
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.4);
  line-height: 1.5;
  height: 72px;
  flex: none;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column-reverse;
  overflow-wrap: anywhere;
  border-top: 1px solid rgba(230, 228, 222, 0.08);
}
.sp-card-caption > * {
  flex: 0 0 auto;
}

.sp-card-assign {
  margin: 0 14px 8px;
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(78, 205, 196, 0.2);
  color: rgba(78, 205, 196, 0.5);
  background: transparent;
  cursor: pointer;
}

.sp-card-controls {
  border-top: 1px solid rgba(230, 228, 222, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.sp-card-mute-btn {
  display: block;
  padding: 8px 14px;
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  color: rgba(230, 228, 222, 0.35);
}
.sp-card-mute-btn:hover {
  color: rgba(230, 228, 222, 0.6);
  background: rgba(230, 228, 222, 0.03);
}

.sp-invite-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.sp-invite-modal {
  background: #1a1a1a;
  border: 1px solid rgba(230, 228, 222, 0.12);
  border-radius: 10px;
  padding: 24px;
  max-width: 480px;
  min-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-invite-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(230, 228, 222, 0.85);
}

.sp-invite-modal-subtitle {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.4);
  margin-top: -8px;
}

.sp-invite-modal-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.sp-invite-modal-qr-img {
  width: 240px;
  height: 240px;
  background: #fff;
  padding: 12px;
  border-radius: 6px;
}

.sp-invite-modal-qr-hint {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.5);
}

.sp-invite-modal-url-wrap {
  display: flex;
}

.sp-invite-modal-url {
  flex: 1;
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(230, 228, 222, 0.1);
  border-radius: 5px;
  color: rgba(230, 228, 222, 0.7);
  cursor: text;
}
.sp-invite-modal-url:focus {
  outline: none;
  border-color: rgba(78, 205, 196, 0.3);
}

.sp-invite-modal-hint {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.3);
}

.sp-invite-modal-done {
  align-self: flex-end;
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 20px;
  border-radius: 5px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(78, 205, 196, 0.3);
  color: rgba(78, 205, 196, 0.6);
  margin-top: 4px;
}
.sp-invite-modal-done:hover {
  border-color: rgba(78, 205, 196, 0.5);
  color: rgba(78, 205, 196, 0.85);
}

.sp-invite-banner {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(232, 119, 34, 0.04);
  border: 1px solid rgba(232, 119, 34, 0.15);
  border-radius: 6px;
}

.sp-invite-banner-label {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  color: rgba(232, 119, 34, 0.6);
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.sp-invite-banner-url {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: rgba(230, 228, 222, 0.5);
  word-break: break-all;
}

.sp-booth-view {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
}
.sp-booth-view--room {
  max-width: none;
  width: auto;
  padding: 0;
  margin: 0;
}

.sp-booth-heading {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  color: rgba(230, 228, 222, 0.85);
  margin-bottom: 24px;
}

.sp-booth-session {
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
}

.sp-booth-session-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.sp-booth-session-row:last-child {
  margin-bottom: 0;
}

.sp-booth-field-label {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(230, 228, 222, 0.35);
  min-width: 60px;
}

.sp-booth-device-select {
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.6);
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 3px;
  padding: 6px 10px;
  flex: 1;
}

.sp-booth-host-select {
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(230, 228, 222, 0.08);
  background: rgba(230, 228, 222, 0.04);
  color: rgba(230, 228, 222, 0.6);
}

.sp-booth-vu-bar {
  flex: 1;
  height: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  padding: 0 6px;
}
.sp-booth-vu-bar--inactive {
  opacity: 0.3;
}

.sp-booth-vu-seg {
  width: 5px;
  height: 10px;
  border-radius: 1px;
  opacity: 0.12;
  transition: opacity 0.07s;
  flex-grow: 1;
}
.sp-booth-vu-seg--green {
  background: rgba(78, 205, 196, 0.5);
}
.sp-booth-vu-seg--amber {
  background: rgba(220, 175, 80, 0.5);
}
.sp-booth-vu-seg--red {
  background: rgba(196, 122, 107, 0.6);
}
.sp-booth-vu-seg--lit {
  opacity: 0.92;
}

.sp-booth-session-btn {
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-weight: 500;
}
.sp-booth-session-btn--start {
  background: rgba(196, 122, 107, 0.12);
  border: 1px solid rgba(196, 122, 107, 0.35);
  color: #c47a6b;
}
.sp-booth-session-btn--start:hover {
  background: rgba(196, 122, 107, 0.2);
  border-color: rgba(196, 122, 107, 0.5);
}
.sp-booth-session-btn--end {
  background: rgba(196, 122, 107, 0.08);
  border: 1px solid rgba(196, 122, 107, 0.2);
  color: rgba(196, 122, 107, 0.6);
}
.sp-booth-session-btn--end:hover {
  background: rgba(196, 122, 107, 0.15);
  color: #c47a6b;
}
.sp-booth-session-btn--connecting {
  background: none;
  border: 1px solid rgba(196, 122, 107, 0.15);
  color: rgba(196, 122, 107, 0.4);
  cursor: default;
}

.sp-booth-mic-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 4px;
  margin-bottom: 12px;
}

.sp-booth-mic-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.sp-booth-mic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sp-booth-mic-dot--live {
  background: #6db86d;
}
.sp-booth-mic-dot--muted {
  background: rgba(196, 122, 107, 0.5);
}
.sp-booth-mic-dot--off {
  background: rgba(230, 228, 222, 0.2);
}

.sp-booth-mic-label {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(230, 228, 222, 0.2);
  text-transform: uppercase;
}

.sp-booth-mute-btn {
  font-family: "Courier Prime", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(109, 184, 109, 0.25);
  color: rgba(109, 184, 109, 0.5);
  transition: all 0.15s;
  flex-shrink: 0;
}
.sp-booth-mute-btn:hover {
  border-color: rgba(109, 184, 109, 0.5);
  color: rgba(109, 184, 109, 0.8);
}
.sp-booth-mute-btn--muted {
  border-color: rgba(196, 122, 107, 0.3);
  color: rgba(196, 122, 107, 0.6);
}
.sp-booth-mute-btn--muted:hover {
  border-color: rgba(196, 122, 107, 0.5);
  color: rgba(196, 122, 107, 0.9);
}

.sp-booth-mic-host {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: rgba(230, 228, 222, 0.2);
  flex-shrink: 0;
}

.sp-booth-connecting {
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.2);
  font-style: italic;
}

.sp-booth-transcript-heading {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(230, 228, 222, 0.2);
  margin-bottom: 12px;
}

.sp-booth-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-booth-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.1s;
}
.sp-booth-line:hover {
  background: rgba(230, 228, 222, 0.04);
}
.sp-booth-line--active {
  background: rgba(196, 122, 107, 0.06);
  border: 1px solid rgba(196, 122, 107, 0.15);
  flex-direction: column;
  align-items: stretch;
  padding: 12px 14px;
  gap: 8px;
}
.sp-booth-line--disabled {
  opacity: 0.5;
}

.sp-booth-line-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-booth-line-host {
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  font-weight: 700;
  min-width: 70px;
  text-transform: uppercase;
}

.sp-booth-line-text {
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.5);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-booth-line-transport {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sp-booth-script-text {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  color: rgba(230, 228, 222, 0.6);
  line-height: 1.6;
  padding: 8px 10px;
  background: rgba(196, 122, 107, 0.04);
  border-radius: 3px;
  border-left: 3px solid rgba(196, 122, 107, 0.3);
}

.sp-booth-live-transcript {
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  color: rgba(196, 122, 107, 0.5);
  font-style: italic;
  padding: 4px 10px;
  min-height: 20px;
}

.sp-booth-ai-badge {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 2px;
  color: rgba(78, 205, 196, 0.5);
  border: 1px solid rgba(78, 205, 196, 0.15);
}

.sp-booth-rec-btn {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(196, 122, 107, 0.1);
  border: 1px solid rgba(196, 122, 107, 0.3);
  color: #c47a6b;
}
.sp-booth-rec-btn:hover {
  background: rgba(196, 122, 107, 0.2);
}
.sp-booth-rec-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.sp-booth-rec-btn--recording {
  background: rgba(196, 122, 107, 0.2);
  border-color: rgba(196, 122, 107, 0.5);
  animation: sp-pulse 1s ease-in-out infinite;
}

.sp-booth-stop-btn {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.5);
}

.sp-booth-play-btn {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-family: "Courier Prime", monospace;
  background: rgba(78, 205, 196, 0.06);
  border: 1px solid rgba(78, 205, 196, 0.15);
  color: rgba(78, 205, 196, 0.6);
}

.sp-booth-take-badge {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(232, 119, 34, 0.1);
  border: 1px solid rgba(232, 119, 34, 0.2);
  color: rgba(232, 119, 34, 0.6);
}

.sp-booth-rerec-btn {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  background: rgba(232, 119, 34, 0.06);
  border: 1px solid rgba(232, 119, 34, 0.25);
  color: rgba(232, 119, 34, 0.75);
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  transition: all 0.15s;
}
.sp-booth-rerec-btn:hover {
  background: rgba(232, 119, 34, 0.12);
  color: rgba(232, 119, 34, 0.95);
}
.sp-booth-rerec-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.sp-booth-cue-btn {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(232, 119, 34, 0.35);
  color: rgba(232, 119, 34, 0.6);
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.15s;
}
.sp-booth-cue-btn:hover {
  border-color: rgba(232, 119, 34, 0.7);
  color: rgba(232, 119, 34, 0.9);
  background: rgba(232, 119, 34, 0.06);
}
.sp-booth-cue-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.sp-booth-cue-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(232, 119, 34, 0.1);
  border: 1px solid rgba(232, 119, 34, 0.25);
  color: rgba(232, 119, 34, 0.7);
}

.sp-booth-uncue-btn {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(230, 228, 222, 0.12);
  color: rgba(230, 228, 222, 0.35);
  font-family: "Courier Prime", monospace;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.15s;
}
.sp-booth-uncue-btn:hover {
  border-color: rgba(230, 228, 222, 0.25);
  color: rgba(230, 228, 222, 0.55);
}

.sp-booth-muted-hint {
  font-size: 10px;
  font-style: italic;
  color: rgba(196, 122, 107, 0.45);
}

.sp-booth-no-session {
  text-align: center;
  padding: 48px 24px;
}

.sp-booth-no-session-text {
  font-size: 13px;
  color: rgba(230, 228, 222, 0.2);
}

.sp-booth-insert-point {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  margin: 2px 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s;
}
.sp-booth-insert-point:hover {
  background: rgba(196, 122, 107, 0.04);
}
.sp-booth-insert-point:hover .sp-booth-insert-label {
  color: rgba(196, 122, 107, 0.6);
}
.sp-booth-insert-point:hover .sp-booth-insert-line {
  background: rgba(196, 122, 107, 0.3);
}

.sp-booth-insert-line {
  flex: 1;
  height: 1px;
  background: rgba(196, 122, 107, 0.1);
  transition: background 0.15s;
}

.sp-booth-insert-label {
  font-size: 9px;
  color: rgba(196, 122, 107, 0.2);
  font-family: "Courier Prime", monospace;
  white-space: nowrap;
  transition: color 0.15s;
}

.sp-booth-continuous-zone {
  background: rgba(196, 122, 107, 0.04);
  border: 1px solid rgba(196, 122, 107, 0.15);
  border-radius: 6px;
  padding: 14px;
  margin: 4px 0;
}

.sp-booth-continuous-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sp-booth-continuous-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(196, 122, 107, 0.7);
  font-family: "Courier Prime", monospace;
}

.sp-booth-segment-completed {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(196, 122, 107, 0.06);
}

.sp-booth-segment-num {
  font-size: 9px;
  color: rgba(196, 122, 107, 0.3);
  font-family: "Courier Prime", monospace;
  min-width: 16px;
  padding-top: 2px;
}

.sp-booth-segment-text {
  font-family: "Courier Prime", monospace;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.6);
  line-height: 1.5;
}

.sp-booth-segment-active {
  padding: 8px 0 4px;
}

.sp-booth-segment-active-text {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  color: rgba(230, 228, 222, 0.6);
  line-height: 1.5;
}

.sp-booth-segment-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: rgba(196, 122, 107, 0.6);
  vertical-align: middle;
  margin-left: 2px;
  animation: sp-pulse 0.8s ease-in-out infinite;
}

.sp-booth-line--new {
  background: rgba(196, 122, 107, 0.03);
}

.sp-session-panel {
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.sp-session-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sp-session-panel-title {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(230, 228, 222, 0.6);
}

.sp-session-id {
  font-size: 10px;
  color: rgba(230, 228, 222, 0.2);
  font-family: "Courier Prime", monospace;
}

.sp-invite-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.sp-invite-url {
  flex: 1;
  font-size: 11px;
  font-family: "Courier Prime", monospace;
  color: rgba(230, 228, 222, 0.35);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 3px;
  padding: 6px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-invite-copy-btn {
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.5);
  cursor: pointer;
  font-family: system-ui, sans-serif;
}

.sp-invite-new-btn {
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(78, 205, 196, 0.06);
  border: 1px solid rgba(78, 205, 196, 0.15);
  color: rgba(78, 205, 196, 0.6);
  cursor: pointer;
  font-family: system-ui, sans-serif;
}

.sp-participants-title {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(230, 228, 222, 0.2);
  margin-bottom: 8px;
}

.sp-participant {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.sp-participant--recording {
  background: rgba(196, 122, 107, 0.03);
  border: 1px solid rgba(196, 122, 107, 0.12);
}

.sp-participant-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp-participant-name {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.6);
  min-width: 60px;
}

.sp-participant-host {
  font-size: 10px;
  font-family: "Courier Prime", monospace;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid;
}

.sp-participant-vu {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
}

.sp-participant-vu-seg {
  width: 3px;
  height: 7px;
  border-radius: 1px;
  opacity: 0.12;
}
.sp-participant-vu-seg--green {
  background: rgba(78, 205, 196, 0.5);
}
.sp-participant-vu-seg--amber {
  background: rgba(220, 175, 80, 0.5);
}
.sp-participant-vu-seg--red {
  background: rgba(196, 122, 107, 0.6);
}
.sp-participant-vu-seg--lit {
  opacity: 0.92;
}

.sp-participant-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sp-participant-badge--ready {
  background: rgba(109, 184, 109, 0.1);
  border: 1px solid rgba(109, 184, 109, 0.25);
  color: rgba(109, 184, 109, 0.7);
}
.sp-participant-badge--recording {
  background: rgba(196, 122, 107, 0.1);
  border: 1px solid rgba(196, 122, 107, 0.25);
  color: rgba(196, 122, 107, 0.7);
}
.sp-participant-badge--nohost {
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.2);
}
.sp-participant-badge--muted {
  background: rgba(196, 122, 107, 0.06);
  border: 1px solid rgba(196, 122, 107, 0.15);
  color: rgba(196, 122, 107, 0.5);
}
.sp-participant-badge--offline {
  border: 1px solid rgba(230, 228, 222, 0.08);
  color: rgba(230, 228, 222, 0.08);
}

.sp-participant-assign {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid rgba(78, 205, 196, 0.2);
  color: rgba(78, 205, 196, 0.5);
  cursor: pointer;
  background: rgba(78, 205, 196, 0.04);
  font-family: system-ui, sans-serif;
}

.sp-participant-mute {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 228, 222, 0.08);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  color: rgba(230, 228, 222, 0.35);
  flex-shrink: 0;
  font-family: "Courier Prime", monospace;
}

.sp-producer-mic-btn {
  font-family: "Courier Prime", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(78, 205, 196, 0.25);
  color: rgba(78, 205, 196, 0.5);
  transition: all 0.15s;
}
.sp-producer-mic-btn:hover {
  border-color: rgba(78, 205, 196, 0.5);
  color: rgba(78, 205, 196, 0.8);
}
.sp-producer-mic-btn--active {
  border-color: rgba(109, 184, 109, 0.3);
  color: rgba(109, 184, 109, 0.6);
}
.sp-producer-mic-btn--active:hover {
  border-color: rgba(109, 184, 109, 0.5);
  color: rgba(109, 184, 109, 0.9);
}

.sp-create-session-btn {
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(78, 205, 196, 0.08);
  border: 1px solid rgba(78, 205, 196, 0.2);
  color: rgba(78, 205, 196, 0.7);
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}
.sp-create-session-btn:hover {
  background: rgba(78, 205, 196, 0.15);
}

.sp-line-cue-btn {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  background: rgba(232, 119, 34, 0.08);
  border: 1px solid rgba(232, 119, 34, 0.25);
  color: rgba(232, 119, 34, 0.6);
  cursor: pointer;
}

.sp-script-wrap {
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  background: #111;
  flex-shrink: 0;
}

.sp-script-label {
  padding: 8px 20px 0;
  font-size: 10px;
  color: rgba(230, 228, 222, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Courier Prime", monospace;
}

.sp-script-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 20px 12px;
  gap: 3px;
}
.sp-script-scroll::-webkit-scrollbar {
  height: 4px;
}
.sp-script-scroll::-webkit-scrollbar-thumb {
  background: rgba(230, 228, 222, 0.1);
  border-radius: 2px;
}

.sp-script-line {
  flex-shrink: 0;
  width: 210px;
  padding: 10px 14px;
  background: rgba(230, 228, 222, 0.04);
  border-radius: 5px;
  border-left: 3px solid transparent;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sp-script-line--cued {
  border-left-color: rgba(232, 119, 34, 0.5);
  background: rgba(232, 119, 34, 0.04);
}
.sp-script-line--recording {
  border-left-color: rgba(196, 122, 107, 0.5);
  background: rgba(196, 122, 107, 0.05);
}
.sp-script-line--done {
  opacity: 0.3;
}

.sp-script-host {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: "Courier Prime", monospace;
}

.sp-script-text {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.5);
  font-family: "Courier Prime", monospace;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-script-ctrl {
  display: flex;
  gap: 6px;
  margin-top: 3px;
}

.sp-script-btn {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  background: none;
  border: 1px solid;
}
.sp-script-btn--cue {
  border-color: rgba(232, 119, 34, 0.3);
  color: rgba(232, 119, 34, 0.55);
}
.sp-script-btn--cue:hover {
  border-color: rgba(232, 119, 34, 0.6);
  color: rgba(232, 119, 34, 0.85);
  background: rgba(232, 119, 34, 0.05);
}
.sp-script-btn--stop {
  border-color: rgba(230, 228, 222, 0.15);
  color: rgba(230, 228, 222, 0.4);
}
.sp-script-btn--rec {
  border-color: rgba(196, 122, 107, 0.3);
  color: rgba(196, 122, 107, 0.55);
}
.sp-script-btn--rec:hover {
  border-color: rgba(196, 122, 107, 0.5);
  color: rgba(196, 122, 107, 0.85);
  background: rgba(196, 122, 107, 0.05);
}
.sp-script-btn--uncue {
  border-color: rgba(230, 228, 222, 0.12);
  color: rgba(230, 228, 222, 0.3);
}
.sp-script-btn--uncue:hover {
  border-color: rgba(230, 228, 222, 0.25);
  color: rgba(230, 228, 222, 0.5);
}

.sp-script-cued-label {
  font-size: 10px;
  font-weight: 700;
  font-family: "Courier Prime", monospace;
  color: rgba(232, 119, 34, 0.7);
  letter-spacing: 0.04em;
}

.sp-session-room--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-session-room-empty-text {
  font-size: 13px;
  color: rgba(230, 228, 222, 0.3);
  font-style: italic;
}

.sp-session-last-take {
  grid-column: 1/-1;
  margin-top: 12px;
  padding: 8px 14px;
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(230, 228, 222, 0.7);
  background: rgba(232, 119, 34, 0.06);
  border: 1px solid rgba(232, 119, 34, 0.2);
  border-radius: 4px;
}

.sp-script-rec-label {
  font-size: 10px;
  color: rgba(196, 122, 107, 0.7);
  font-weight: 700;
  font-family: "Courier Prime", monospace;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-script-rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(196, 122, 107, 0.8);
  animation: pulse 1s infinite;
  display: inline-block;
}

.sp-script-take {
  font-size: 9px;
  color: rgba(109, 184, 109, 0.5);
  font-weight: 600;
  font-family: "Courier Prime", monospace;
}

.sp-booth-bottom-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #111;
  border-top: 1px solid #222;
  flex-shrink: 0;
}

.sp-booth-rec-all {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 122, 107, 0.1);
  border: 1px solid rgba(196, 122, 107, 0.35);
  color: rgba(196, 122, 107, 0.8);
  transition: all 0.2s;
}
.sp-booth-rec-all:hover {
  background: rgba(196, 122, 107, 0.18);
  border-color: rgba(196, 122, 107, 0.5);
}
.sp-booth-rec-all--disabled {
  opacity: 0.4;
  cursor: default;
}
.sp-booth-rec-all--disabled:hover {
  background: rgba(196, 122, 107, 0.1);
}

.sp-booth-rec-all-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.sp-booth-rec-all--stopping {
  background: rgba(136, 136, 136, 0.08);
  border-color: rgba(136, 136, 136, 0.3);
  color: rgba(187, 187, 187, 0.9);
}

.sp-booth-rec-all-spinner {
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: sp-booth-rec-all-spin 0.8s linear infinite;
}

@keyframes sp-booth-rec-all-spin {
  to {
    transform: rotate(360deg);
  }
}
.sp-booth-bb-sep {
  width: 1px;
  height: 18px;
  background: #333;
}

.sp-booth-bb-btn {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 5px;
  cursor: pointer;
  background: none;
  border: 1px solid;
}
.sp-booth-bb-btn--invite {
  border-color: rgba(232, 119, 34, 0.3);
  color: rgba(232, 119, 34, 0.6);
}
.sp-booth-bb-btn--invite:hover {
  border-color: rgba(232, 119, 34, 0.5);
  color: rgba(232, 119, 34, 0.85);
}
.sp-booth-bb-btn--end {
  border-color: rgba(196, 122, 107, 0.2);
  color: rgba(196, 122, 107, 0.4);
}

.sp-booth-bb-device {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.3);
  font-family: "Courier Prime", monospace;
}

.sp-booth-mem {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-booth-mem-label {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(230, 228, 222, 0.35);
}

.sp-booth-mem-seg {
  display: inline-flex;
  gap: 2px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  padding: 2px;
}

.sp-booth-mem-pill {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: rgba(230, 228, 222, 0.45);
  transition: all 0.15s;
}
.sp-booth-mem-pill:hover {
  color: rgba(230, 228, 222, 0.8);
}
.sp-booth-mem-pill--active {
  background: rgba(232, 119, 34, 0.16);
  color: #e87722;
}

.sp-player {
  --sp-p-accent: #4a7fa5;
  --sp-p-text: #6aaad4;
  --sp-p-text-dim: rgba(106, 170, 212, 0.65);
  --sp-p-btn-bg: rgba(74, 127, 165, 0.12);
  --sp-p-btn-border: rgba(74, 127, 165, 0.3);
  --sp-p-btn-bg-hov: rgba(74, 127, 165, 0.22);
  --sp-p-glow: rgba(74, 127, 165, 0.5);
  --sp-p-badge-color: rgba(74, 127, 165, 0.6);
  --sp-p-badge-border: rgba(74, 127, 165, 0.2);
}

.sp-player--blue {
  --sp-p-accent: #4a7fa5;
  --sp-p-text: #6aaad4;
  --sp-p-text-dim: rgba(106, 170, 212, 0.65);
  --sp-p-btn-bg: rgba(74, 127, 165, 0.12);
  --sp-p-btn-border: rgba(74, 127, 165, 0.3);
  --sp-p-btn-bg-hov: rgba(74, 127, 165, 0.22);
  --sp-p-glow: rgba(74, 127, 165, 0.5);
  --sp-p-badge-color: rgba(74, 127, 165, 0.6);
  --sp-p-badge-border: rgba(74, 127, 165, 0.2);
}

.sp-player--teal {
  --sp-p-accent: #4ecdc4;
  --sp-p-text: #4ecdc4;
  --sp-p-text-dim: rgba(78, 205, 196, 0.6);
  --sp-p-btn-bg: rgba(78, 205, 196, 0.12);
  --sp-p-btn-border: rgba(78, 205, 196, 0.3);
  --sp-p-btn-bg-hov: rgba(78, 205, 196, 0.2);
  --sp-p-glow: rgba(78, 205, 196, 0.4);
  --sp-p-badge-color: rgba(78, 205, 196, 0.45);
  --sp-p-badge-border: rgba(78, 205, 196, 0.18);
}

.sp-player-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sp-p-btn-bg);
  border: 1px solid var(--sp-p-btn-border);
  color: var(--sp-p-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.12s, border-color 0.12s;
}
.sp-player-btn:hover {
  background: var(--sp-p-btn-bg-hov);
  border-color: var(--sp-p-text);
}

.sp-player-badge {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sp-p-badge-color);
  padding: 1px 4px;
  border: 1px solid var(--sp-p-badge-border);
  border-radius: 2px;
  flex-shrink: 0;
}

.sp-player-scrubber {
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.sp-player-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
}

.sp-player-fill {
  height: 100%;
  background: var(--sp-p-accent);
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.sp-player-thumb {
  width: 10px;
  height: 10px;
  background: var(--sp-p-text);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 4px var(--sp-p-glow);
}

.sp-player-time {
  font-size: 10px;
  color: var(--sp-p-text-dim);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.sp-cast-divider {
  border: none;
  border-top: 1px solid rgba(230, 228, 222, 0.07);
  margin: 16px 0;
}

.sp-cast-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sp-host-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  transition: opacity 0.15s;
  padding: 4px 6px;
  border-radius: 2px;
  flex-grow: 1;
  flex-basis: 100%;
}
.sp-host-card:hover {
  opacity: 0.75;
}
.sp-host-card.sp-host-card--editing {
  outline: 1px solid rgba(123, 175, 212, 0.25);
  background: rgba(123, 175, 212, 0.05);
  opacity: 1;
}

.sp-host-card-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sp-host-card-role {
  font-size: 12px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.35);
}

.sp-host-card-voice {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.2);
}

.sp-add-host-link {
  font-family: "Courier Prime", monospace;
  font-size: 10.5px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.2);
  background: none;
  border: none;
  cursor: pointer;
  align-self: center;
  margin-left: auto;
  transition: color 0.15s;
}
.sp-add-host-link:hover {
  color: rgba(230, 228, 222, 0.55);
}

.sp-cast-editor {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.08);
  border-radius: 3px;
}

.sp-cast-editor-header {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 228, 222, 0.25);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-cast-editor-header .sp-cast-editor-close {
  font-size: 14px;
  color: rgba(230, 228, 222, 0.2);
  background: none;
  border: none;
  cursor: pointer;
  font-family: system-ui;
  line-height: 1;
  transition: color 0.15s;
}
.sp-cast-editor-header .sp-cast-editor-close:hover {
  color: rgba(230, 228, 222, 0.5);
}

.sp-cast-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.sp-cast-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sp-cast-field.full {
  grid-column: 1/-1;
}
.sp-cast-field label {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 228, 222, 0.2);
  font-family: system-ui;
}
.sp-cast-field .sp-cast-field-readonly {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: rgba(230, 228, 222, 0.45);
  padding: 3px 0;
  border-bottom: 1px solid rgba(230, 228, 222, 0.07);
}
.sp-cast-field .sp-cast-voice-selector {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  cursor: pointer;
  border-bottom: 1px solid rgba(230, 228, 222, 0.15);
  padding: 3px 0;
  display: block;
  color: #e6e4de;
}
.sp-cast-field input, .sp-cast-field textarea, .sp-cast-field select {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: #e6e4de;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(230, 228, 222, 0.15);
  padding: 3px 0;
  outline: none;
  resize: none;
  transition: border-color 0.15s;
}
.sp-cast-field input:focus, .sp-cast-field textarea:focus, .sp-cast-field select:focus {
  border-bottom-color: rgba(230, 228, 222, 0.4);
}
.sp-cast-field select {
  cursor: pointer;
  appearance: auto;
  color-scheme: dark;
  background: #1a1a1a;
  color: #e6e4de;
  width: 100%;
}
.sp-cast-field textarea {
  line-height: 1.5;
}

.sp-cast-editor-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.sp-cast-editor-actions .sp-cast-btn-remove {
  margin-right: auto;
}

.sp-cast-btn {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-family: system-ui;
}
.sp-cast-btn.sp-cast-btn-save {
  background: rgba(232, 119, 34, 0.15);
  border: 1px solid rgba(232, 119, 34, 0.35);
  color: #e87722;
}
.sp-cast-btn.sp-cast-btn-cancel {
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.12);
  color: rgba(230, 228, 222, 0.35);
}
.sp-cast-btn.sp-cast-btn-remove {
  background: transparent;
  border: 1px solid rgba(220, 60, 60, 0.25);
  color: rgba(220, 60, 60, 0.55);
}
.sp-cast-btn.sp-cast-btn-remove:hover {
  border-color: rgba(220, 60, 60, 0.5);
  color: rgba(220, 60, 60, 0.8);
}

.confirm-remove-host {
  padding: 4px 0 2px;
}
.confirm-remove-host .confirm-remove-host-msg {
  font-size: 12px;
  color: #e6e4de;
  margin-bottom: 16px;
  line-height: 1.5;
}
.confirm-remove-host .confirm-remove-host-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sp-cast-section--readonly {
  cursor: pointer;
}
.sp-cast-section--readonly:hover .sp-cast-edit-hint {
  color: rgba(230, 228, 222, 0.35);
}

.sp-cast-row--readonly {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.sp-cast-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid;
  font-family: "Courier Prime", monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-cast-badge-voice {
  font-size: 10px;
  opacity: 0.5;
}

.sp-cast-edit-hint {
  font-size: 10px;
  color: rgba(230, 228, 222, 0.08);
  margin-left: auto;
  font-style: italic;
  transition: color 0.15s;
}

.sp-line {
  position: relative;
}

.sp-line-inner {
  padding: 10px;
  border-radius: 3px;
  position: relative;
  transition: background 0.1s;
}
.sp-line:hover .sp-line-inner {
  background: rgba(230, 228, 222, 0.025);
}

.sp-line--selected .sp-line-inner {
  background: rgba(232, 119, 34, 0.08) !important;
  outline: 1px solid rgba(232, 119, 34, 0.2);
}

.sp-line--streaming .sp-line-inner {
  background: rgba(123, 175, 212, 0.06);
  outline: 1px solid rgba(123, 175, 212, 0.15);
}

.sp-line--playing .sp-line-inner {
  background: rgba(109, 184, 109, 0.08);
  box-shadow: inset 3px 0 0 #6db86d;
  transition: background 0.15s, box-shadow 0.15s;
}

.sp-line-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  gap: 6px;
  align-items: center;
  z-index: 1;
}
.sp-line:hover .sp-line-actions {
  display: flex;
}
.sp-line--selected .sp-line-actions {
  display: flex;
}

.sp-line-btn {
  font-family: system-ui;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid rgba(230, 228, 222, 0.15);
  background: transparent;
  color: rgba(230, 228, 222, 0.5);
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
}
.sp-line-btn:hover {
  border-color: rgba(123, 175, 212, 0.5);
  color: #7bafd4;
}
.sp-line-btn.sp-line-btn-delete:hover {
  border-color: rgba(230, 228, 222, 0.4);
  color: rgba(230, 228, 222, 0.8);
}

.sp-speaker {
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 3px;
  cursor: pointer;
  user-select: none;
  padding-bottom: 2px;
}
.sp-speaker:hover {
  opacity: 0.75;
}

.sp-parenthetical {
  display: none;
}

.sp-parenthetical-input {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 5px;
  background: transparent;
  border: none;
  text-align: center;
  font-family: "Courier Prime", monospace;
  font-style: italic;
  font-size: 13px;
  color: rgba(230, 228, 222, 0.35);
  padding: 2px 0;
  outline: none;
}
.sp-parenthetical-input:not(:focus) {
  cursor: default;
  color: rgba(230, 228, 222, 0.35);
}
.sp-parenthetical-input:focus {
  color: rgba(230, 228, 222, 0.7);
  border-bottom: 1px solid rgba(230, 228, 222, 0.3);
  cursor: text;
}
.sp-parenthetical-input::placeholder {
  color: rgba(230, 228, 222, 0.15);
  font-style: italic;
}

.sp-dialogue-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.sp-dialogue-text {
  display: none;
}

.sp-dialogue-textarea {
  display: block;
  width: 100%;
  field-sizing: content;
  min-height: 3em;
  background: transparent;
  border: none;
  font-family: "Courier Prime", monospace;
  font-size: 14.5px;
  line-height: 1.7;
  color: #e6e4de;
  padding: 0 0 2px;
  resize: none;
  outline: none;
  cursor: text;
  overflow: hidden;
}
.sp-dialogue-textarea:not(:focus) {
  border-bottom: 1px solid transparent;
}
.sp-dialogue-textarea:focus {
  border-bottom: 1px solid rgba(230, 228, 222, 0.35);
}

.sp-dialogue-words {
  display: block;
  min-height: 3em;
  font-family: "Courier Prime", monospace;
  font-size: 14.5px;
  line-height: 1.7;
  color: #e6e4de;
  padding: 0 0 2px;
  cursor: text;
  white-space: pre-wrap;
  border-bottom: 1px solid transparent;
}

.sp-word {
  border-radius: 3px;
}

.sp-word--playing {
  background: rgba(109, 184, 109, 0.28);
  border-radius: 3px;
}

.sp-dialogue-placeholder {
  color: rgba(230, 228, 222, 0.25);
  font-style: italic;
}

.sp-line-select-btn--on {
  border-color: rgba(232, 119, 34, 0.5);
  color: #e87722;
}

.sp-line-inner:focus-within {
  background: rgba(230, 228, 222, 0.04) !important;
  outline: 1px solid rgba(230, 228, 222, 0.08);
}
.sp-line-inner:focus-within .sp-line-actions {
  display: flex;
}

@keyframes sp-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.sp-streaming-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #7bafd4;
  vertical-align: text-bottom;
  animation: sp-blink 0.8s ease-in-out infinite;
  margin-left: 2px;
}

.sp-page--locked {
  opacity: 0.72;
  pointer-events: none;
}

.sp-segment-break {
  margin: 16px 0;
  user-select: none;
}

.sp-segment-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
}

.sp-segment-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 0 4px;
}
.sp-segment-heading:hover .sp-segment-delete, .sp-segment-heading:hover .sp-segment-select {
  opacity: 1;
}

.sp-segment-title {
  flex: 1;
  font-family: "Courier Prime", monospace;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  outline: none;
  background: transparent;
  border: none;
  padding: 0;
  min-width: 0;
  width: 100%;
  field-sizing: content;
  resize: none;
  overflow: hidden;
}
.sp-segment-title:focus {
  color: rgba(232, 119, 34, 0.95);
  outline: none;
}
.sp-segment-title::placeholder {
  content: "UNTITLED SEGMENT";
  opacity: 0.4;
}

.sp-segment-summary {
  font-family: "Courier Prime", monospace;
  font-size: 14.5px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
  outline: none;
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  margin-bottom: 8px;
  field-sizing: content;
  resize: none;
  overflow: hidden;
  line-height: 1.7;
}
.sp-segment-summary:focus {
  color: rgba(255, 255, 255, 0.6);
  outline: none;
}
.sp-segment-summary::placeholder {
  opacity: 0.4;
}

.sp-segment-delete {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 0.15s;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  flex-shrink: 0;
}
.sp-segment-delete:hover {
  color: rgba(255, 255, 255, 0.7);
}
.sp-segment-delete svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.sp-segment-select {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: 1px solid rgba(230, 228, 222, 0.1);
  border-radius: 3px;
  color: rgba(230, 228, 222, 0.3);
  opacity: 0;
  transition: opacity 0.15s, color 0.15s, border-color 0.15s, background 0.15s;
  cursor: pointer;
  padding: 2px 7px;
  font-size: 9px;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  line-height: 1.4;
  flex-shrink: 0;
}
.sp-segment-select:hover {
  border-color: rgba(232, 119, 34, 0.4);
  color: #e87722;
  background: rgba(232, 119, 34, 0.08);
}

.sp-segment-select--on {
  opacity: 1;
  border-color: rgba(232, 119, 34, 0.5);
  color: #e87722;
  background: rgba(232, 119, 34, 0.08);
}

.sp-add-line-bar {
  text-align: right;
  margin-top: 8px;
}
.sp-add-line-bar button {
  font-family: "Courier Prime", monospace;
  font-size: 13.5px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.18);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
}
.sp-add-line-bar button:hover {
  color: rgba(230, 228, 222, 0.5);
}

.sp-save-btn {
  font-family: system-ui;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 12px;
  transition: all 0.15s;
}
.sp-save-btn.sp-save-btn--nochange {
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.1);
  color: rgba(230, 228, 222, 0.2);
  cursor: default;
}
.sp-save-btn.sp-save-btn--ready {
  background: rgba(232, 119, 34, 0.15);
  border: 1px solid rgba(232, 119, 34, 0.35);
  color: #e87722;
}
.sp-save-btn.sp-save-btn--saving {
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.1);
  color: rgba(230, 228, 222, 0.2);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-save-btn.sp-save-btn--saved {
  background: rgba(100, 180, 100, 0.1);
  border: 1px solid rgba(100, 180, 100, 0.2);
  color: #6db86d;
  cursor: default;
}
.sp-save-btn.sp-save-btn--blocked {
  background: rgba(200, 60, 60, 0.12);
  border: 1px solid rgba(200, 60, 60, 0.35);
  color: #e88;
  cursor: not-allowed;
}
.sp-save-btn.sp-save-btn--publish {
  background: rgba(232, 119, 34, 0.3);
  border: 1px solid #e87722;
  color: #e87722;
  font-weight: 600;
}
.sp-save-btn.sp-save-btn--publish:hover:not(:disabled) {
  background: rgba(232, 119, 34, 0.45);
}
.sp-save-btn.sp-save-btn--publish:disabled {
  opacity: 0.4;
  cursor: default;
}
.sp-save-btn.sp-save-btn--revert {
  background: transparent;
  border: 1px solid rgba(200, 100, 100, 0.35);
  color: rgba(220, 140, 140, 0.85);
}
.sp-save-btn.sp-save-btn--revert:hover:not(:disabled) {
  background: rgba(200, 100, 100, 0.12);
  border-color: rgba(200, 100, 100, 0.5);
}
.sp-save-btn.sp-save-btn--revert:disabled {
  opacity: 0.4;
  cursor: default;
}
.sp-save-btn.sp-save-btn--delete {
  background: transparent;
  border: 1px solid rgba(200, 80, 80, 0.45);
  color: rgba(230, 120, 120, 0.95);
}
.sp-save-btn.sp-save-btn--delete:hover:not(:disabled) {
  background: rgba(200, 80, 80, 0.18);
  border-color: rgba(200, 80, 80, 0.7);
}
.sp-save-btn.sp-save-btn--delete:disabled {
  opacity: 0.4;
  cursor: default;
}

.sp-save-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.sp-save-blocked-notice {
  flex-basis: 100%;
  min-width: 0;
  margin-left: 8px;
  padding: 4px 0;
  color: #e88;
  font-size: 12.5px;
  line-height: 1.35;
}

.sp-empty-transcript-cta {
  font-family: system-ui;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px dashed rgba(232, 119, 34, 0.28);
  border-radius: 5px;
  background: rgba(232, 119, 34, 0.04);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(230, 228, 222, 0.62);
}
.sp-empty-transcript-cta strong {
  color: #e87722;
  font-weight: 600;
}

.sp-music-cue {
  position: relative;
}

.sp-music-cue-line {
  font-family: "Courier Prime", monospace;
  font-size: 14.5px;
  padding: 4px 0;
  border-radius: 3px;
  cursor: pointer;
  display: block;
  line-height: 1.7;
  transition: background 0.12s;
}
.sp-music-cue-line:hover {
  background: rgba(78, 205, 196, 0.04);
}

.sp-music-cue-tag {
  color: rgba(78, 205, 196, 0.6);
  font-weight: 700;
}

.sp-music-cue-desc {
  color: rgba(230, 228, 222, 0.45);
  font-style: italic;
}

.sp-music-cue-insert {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.sp-music-cue-insert:hover .sp-music-cue-insert-btn {
  opacity: 1;
}

.sp-music-cue-insert-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: "Courier Prime", monospace;
  font-size: 13.5px;
  font-style: italic;
  color: rgba(78, 205, 196, 0.7);
  opacity: 0;
  transition: opacity 0.12s;
}
.sp-music-cue-insert-btn:hover {
  color: #4ecdc4;
}

.sp-music-cue-panel {
  border: 1px solid rgba(78, 205, 196, 0.18);
  background: rgba(78, 205, 196, 0.03);
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.sp-music-cue-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(78, 205, 196, 0.1);
  cursor: pointer;
}

.sp-music-cue-panel-tag {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #4ecdc4;
}

.sp-music-cue-panel-label {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.5);
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
}
.sp-music-cue-panel-label:focus {
  color: rgba(230, 228, 222, 0.85);
}
.sp-music-cue-panel-label::placeholder {
  color: rgba(230, 228, 222, 0.2);
}

.sp-music-cue-panel-close {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.2);
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px 4px;
  border-radius: 2px;
}
.sp-music-cue-panel-close:hover {
  color: rgba(230, 228, 222, 0.6);
}

.sp-music-cue-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-music-cue-field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(230, 228, 222, 0.3);
  white-space: nowrap;
  min-width: 52px;
}

.sp-music-cue-select,
.sp-music-cue-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: rgba(230, 228, 222, 0.75);
  font-size: 13px;
  padding: 4px 8px;
  outline: none;
  flex-grow: 1;
}
.sp-music-cue-select:focus,
.sp-music-cue-input:focus {
  border-color: rgba(78, 205, 196, 0.4);
}

.sp-cue-clip-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  user-select: none;
  -webkit-user-select: none;
}

.sp-cue-track-row {
  display: flex;
  align-items: stretch;
}

.sp-cue-track-lbl {
  width: 38px;
  flex-shrink: 0;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: system-ui, sans-serif;
  color: rgba(230, 228, 222, 0.2);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}

.sp-cue-speech-track {
  flex: 1;
  height: 14px;
  display: flex;
  overflow: hidden;
}

.sp-cue-speech-block {
  background: rgba(230, 228, 222, 0.09);
  border: 1px solid rgba(230, 228, 222, 0.12);
  flex-shrink: 0;
  min-width: 6px;
}
.sp-cue-speech-block--left {
  border-radius: 2px 0 0 2px;
}
.sp-cue-speech-block--right {
  border-radius: 0 2px 2px 0;
}

.sp-cue-speech-gap {
  flex-shrink: 0;
  min-width: 6px;
}

.sp-cue-speech-spacer {
  flex-shrink: 0;
  min-width: 0;
}

.sp-cue-music-track {
  flex: 1;
  height: 30px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.sp-cue-seg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  min-width: 6px;
  transition: filter 0.12s;
}
.sp-cue-seg:hover {
  filter: brightness(1.18);
}
.sp-cue-seg--fi {
  background: linear-gradient(to right, rgba(78, 205, 196, 0.04), rgba(78, 205, 196, 0.22));
  border-radius: 2px 0 0 2px;
}
.sp-cue-seg--io {
  background: rgba(78, 205, 196, 0.22);
}
.sp-cue-seg--s {
  background: rgba(78, 205, 196, 0.42);
}
.sp-cue-seg--oo {
  background: rgba(78, 205, 196, 0.22);
}
.sp-cue-seg--fo {
  background: linear-gradient(to right, rgba(78, 205, 196, 0.22), rgba(78, 205, 196, 0.04));
  border-radius: 0 2px 2px 0;
}
.sp-cue-seg--active {
  outline: 1.5px solid rgba(78, 205, 196, 0.75);
  outline-offset: -1.5px;
}

.sp-cue-seg-lbl {
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  color: rgba(78, 205, 196, 0.65);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}
.sp-cue-seg--s .sp-cue-seg-lbl {
  color: rgb(78, 205, 196);
  font-weight: 700;
}

.sp-cue-drag-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -4px;
  width: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
  z-index: 10;
}
.sp-cue-drag-handle::before {
  content: "";
  width: 2px;
  height: 65%;
  background: rgba(78, 205, 196, 0.4);
  border-radius: 1px;
}
.sp-cue-drag-handle:hover::before {
  background: rgba(78, 205, 196, 0.9);
}

.sp-cue-val-strip {
  display: flex;
  padding-left: 38px;
  margin-top: 3px;
  overflow: hidden;
}

.sp-cue-val-seg {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 6px;
  overflow: hidden;
}
.sp-cue-val-seg--active .sp-cue-val-lbl {
  color: rgba(78, 205, 196, 0.6);
}

.sp-cue-val-lbl {
  font-size: 8px;
  color: rgba(230, 228, 222, 0.22);
  letter-spacing: 0.04em;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
}

.sp-cue-val-num {
  font-size: 11px;
  font-weight: 600;
  color: rgba(78, 205, 196, 0.85);
  font-variant-numeric: tabular-nums;
  font-family: system-ui, sans-serif;
}

.sp-cue-edit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(78, 205, 196, 0.04);
  border: 1px solid rgba(78, 205, 196, 0.12);
  border-radius: 3px;
  margin-top: 5px;
}

.sp-cue-edit-name {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(78, 205, 196, 0.7);
  font-family: system-ui, sans-serif;
  width: 80px;
  flex-shrink: 0;
}

.sp-cue-edit-desc {
  flex: 1;
  font-size: 10px;
  color: rgba(230, 228, 222, 0.3);
  line-height: 1.4;
}

.sp-cue-edit-num {
  width: 46px;
  background: rgba(230, 228, 222, 0.06);
  border: 1px solid rgba(78, 205, 196, 0.25);
  border-radius: 2px;
  padding: 3px 6px;
  color: #4ecdc4;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  outline: none;
  font-family: system-ui, sans-serif;
}
.sp-cue-edit-num:focus {
  border-color: rgba(78, 205, 196, 0.55);
}

.sp-cue-edit-unit {
  font-size: 10px;
  color: rgba(230, 228, 222, 0.3);
  font-family: system-ui, sans-serif;
}

.sp-music-cue-zone {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  gap: 6px;
}

.sp-zone-placeholder {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.16);
  font-style: italic;
}

.sp-music-cue-actions {
  display: flex;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sp-music-cue-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(230, 228, 222, 0.5);
  cursor: pointer;
  transition: all 0.12s;
}
.sp-music-cue-btn:hover {
  border-color: rgba(78, 205, 196, 0.4);
  color: #4ecdc4;
}
.sp-music-cue-btn.sp-music-cue-btn--primary {
  border-color: rgba(78, 205, 196, 0.3);
  color: #4ecdc4;
}
.sp-music-cue-btn.sp-music-cue-btn--primary:hover {
  background: rgba(78, 205, 196, 0.1);
}
.sp-music-cue-btn.sp-music-cue-btn--danger:hover {
  border-color: rgba(196, 122, 107, 0.5);
  color: #c47a6b;
}
.sp-music-cue-btn.sp-music-cue-btn--spacer {
  margin-left: auto;
}

.sp-music-cue-preview-btn {
  background: none;
  border: 1px solid rgba(232, 119, 34, 0.5);
  color: #e87722;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}
.sp-music-cue-preview-btn:hover {
  background: rgba(232, 119, 34, 0.1);
  border-color: #e87722;
}

.sp-music-cue-preview-loading {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.5);
  font-style: italic;
}

.sp-music-cue-preview-error {
  font-size: 12px;
  color: white;
}

.sp-cue-player {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 0;
}

.sp-cue-regen-btn {
  background: none;
  border: none;
  color: rgba(230, 228, 222, 0.35);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.sp-cue-regen-btn:hover {
  color: rgba(230, 228, 222, 0.6);
}

.section-container .text-container .section-text {
  background-color: transparent;
  box-shadow: none;
  border-color: transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  cursor: text;
}
.section-container .text-container .section-text:focus {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(237, 237, 237, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.section-container .text-container .section-text.empty {
  border-color: transparent;
}
.section-container .text-container .section-text.empty:focus {
  border-color: rgba(237, 237, 237, 0.2);
}
.section-container .text-container .section-text.error {
  border-color: rgba(255, 80, 80, 0.5);
}
.section-container .text-container .section-text.error:focus {
  border-color: red;
}

.sp-music-action-btn {
  background: none;
  border: 1px solid rgba(78, 205, 196, 0.35);
  border-radius: 4px;
  padding: 5px 11px;
  font-family: system-ui, sans-serif;
  font-size: 11.5px;
  color: #4ecdc4;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.sp-music-action-btn:hover:not(:disabled) {
  background: rgba(78, 205, 196, 0.08);
}
.sp-music-action-btn--ghost {
  border-color: rgba(230, 228, 222, 0.18);
  color: rgba(230, 228, 222, 0.55);
}
.sp-music-action-btn--ghost:hover:not(:disabled) {
  background: rgba(230, 228, 222, 0.05);
}
.sp-music-action-btn--primary {
  border-color: #e87722;
  color: #e87722;
}
.sp-music-action-btn--primary:hover:not(:disabled) {
  background: rgba(232, 119, 34, 0.1);
}
.sp-music-action-btn--danger {
  border-color: rgba(201, 106, 91, 0.4);
  color: #c96a5b;
}
.sp-music-action-btn--danger:hover:not(:disabled) {
  background: rgba(201, 106, 91, 0.08);
}
.sp-music-action-btn--muted, .sp-music-action-btn:disabled {
  color: rgba(230, 228, 222, 0.25);
  border-color: rgba(230, 228, 222, 0.12);
  cursor: default;
}
.sp-music-action-btn--muted:hover, .sp-music-action-btn:disabled:hover {
  background: none;
}

.sp-music-view-actions {
  display: flex;
  gap: 6px;
}

.sp-music-view-sub {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.3);
  margin-bottom: 14px;
}

.sp-music-track-list {
  border: 1px solid rgba(230, 228, 222, 0.07);
  border-radius: 5px;
  overflow: hidden;
}

.sp-music-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  transition: background 0.1s;
}
.sp-music-track + .sp-music-track {
  border-top: 1px solid rgba(230, 228, 222, 0.05);
}
.sp-music-track:hover {
  background: rgba(78, 205, 196, 0.03);
}

.sp-music-track-play {
  background: none;
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  color: #4ecdc4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.sp-music-track-play:hover {
  border-color: #4ecdc4;
  background: rgba(78, 205, 196, 0.06);
}

.sp-music-track-play-icon {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}
.sp-music-track-play-icon:hover {
  opacity: 1;
}
.sp-music-track-play-icon--loading {
  animation: sp-spin 0.8s linear infinite;
  opacity: 0.5;
}

.sp-music-track-wave {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  width: 54px;
  height: 18px;
  flex-shrink: 0;
}

.sp-music-wave-bar {
  display: inline-block;
  width: 2px;
  border-radius: 1px;
}
.sp-music-wave-bar:nth-child(1) {
  height: 6px;
}
.sp-music-wave-bar:nth-child(2) {
  height: 13px;
}
.sp-music-wave-bar:nth-child(3) {
  height: 9px;
}
.sp-music-wave-bar:nth-child(4) {
  height: 17px;
}
.sp-music-wave-bar:nth-child(5) {
  height: 11px;
}
.sp-music-wave-bar:nth-child(6) {
  height: 15px;
}
.sp-music-wave-bar:nth-child(7) {
  height: 7px;
}
.sp-music-wave-bar:nth-child(8) {
  height: 12px;
}
.sp-music-wave-bar:nth-child(9) {
  height: 16px;
}
.sp-music-wave-bar:nth-child(10) {
  height: 8px;
}
.sp-music-wave-bar:nth-child(11) {
  height: 14px;
}
.sp-music-wave-bar:nth-child(12) {
  height: 10px;
}

.sp-music-track-wave--ai .sp-music-wave-bar {
  background: rgba(232, 119, 34, 0.55);
}

.sp-music-track-wave--builtin .sp-music-wave-bar {
  background: rgba(78, 205, 196, 0.5);
}

.sp-music-track-wave--upload .sp-music-wave-bar {
  background: rgba(230, 228, 222, 0.35);
}

.sp-music-track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sp-music-track-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.sp-music-track-name-text {
  font-size: 12.5px;
  color: #e6e4de;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.sp-music-track-sublabel {
  font-family: "Courier Prime", monospace;
  font-size: 10.5px;
  color: rgba(230, 228, 222, 0.32);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-music-track-uses {
  font-family: "Courier Prime", monospace;
  font-size: 10.5px;
  color: rgba(230, 228, 222, 0.3);
  flex-shrink: 0;
}
.sp-music-track-uses--active {
  color: rgba(78, 205, 196, 0.6);
}
.sp-music-track-uses--inactive {
  color: rgba(230, 228, 222, 0.3);
}

.sp-music-cue-track-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(78, 205, 196, 0.07);
}

.sp-cue-track-ref {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  color: rgba(78, 205, 196, 0.5);
  margin-left: 8px;
  font-style: italic;
}

.sp-music-track-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sp-music-track-wrap {
  display: flex;
  flex-direction: column;
}

.sp-music-track-editor {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(78, 205, 196, 0.08);
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-music-track-editor-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-music-track-editor-label {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(230, 228, 222, 0.3);
}

.sp-music-track-editor-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: rgba(230, 228, 222, 0.8);
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  padding: 5px 8px;
  outline: none;
}
.sp-music-track-editor-input:focus {
  border-color: rgba(78, 205, 196, 0.4);
}

.sp-music-track-editor-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: rgba(230, 228, 222, 0.8);
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  padding: 5px 8px;
  outline: none;
  resize: vertical;
  min-height: 64px;
  line-height: 1.4;
}
.sp-music-track-editor-textarea::placeholder {
  color: rgba(230, 228, 222, 0.2);
}
.sp-music-track-editor-textarea:focus {
  border-color: rgba(78, 205, 196, 0.4);
}

.sp-music-track-editor-hint {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.4);
}
.sp-music-track-editor-hint--ready {
  color: rgba(78, 205, 196, 0.7);
}

.sp-music-track-editor-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.sp-line-transport {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 28px;
  margin-top: 6px;
  font-family: "Courier Prime", monospace;
}

.sp-line-transport--recording {
  background: rgba(196, 80, 60, 0.06);
  border-color: rgba(196, 122, 107, 0.15);
}

.sp-line-transport--complete {
  background: rgba(78, 205, 196, 0.03);
  border-color: rgba(78, 205, 196, 0.08);
}

.sp-rec-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(196, 122, 107, 0.35);
  color: rgba(196, 122, 107, 0.6);
  transition: all 0.15s;
}
.sp-rec-btn:hover {
  border-color: rgba(196, 122, 107, 0.7);
  color: rgba(196, 122, 107, 0.9);
  background: rgba(196, 122, 107, 0.07);
}
.sp-rec-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sp-rec-hint {
  font-size: 10px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.25);
  letter-spacing: 0.02em;
}
.sp-rec-hint--warn {
  color: rgba(196, 122, 107, 0.45);
}

.sp-line-transport--cued {
  background: rgba(232, 119, 34, 0.06);
  border-color: rgba(232, 119, 34, 0.15);
}

.sp-rec-cue-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(232, 119, 34, 0.35);
  color: rgba(232, 119, 34, 0.6);
  transition: all 0.15s;
}
.sp-rec-cue-btn:hover {
  border-color: rgba(232, 119, 34, 0.7);
  color: rgba(232, 119, 34, 0.9);
  background: rgba(232, 119, 34, 0.07);
}
.sp-rec-cue-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sp-rec-uncue-btn {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(230, 228, 222, 0.12);
  color: rgba(230, 228, 222, 0.35);
  transition: all 0.15s;
}
.sp-rec-uncue-btn:hover {
  border-color: rgba(230, 228, 222, 0.25);
  color: rgba(230, 228, 222, 0.55);
}

.sp-rec-cue-label {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.12em;
  color: rgba(232, 119, 34, 0.65);
}

.sp-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.sp-rec-dot--active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(196, 122, 107, 0.9);
  box-shadow: 0 0 5px rgba(196, 122, 107, 0.4);
  animation: sp-rec-pulse 1s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes sp-rec-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.sp-rec-label-active {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: bold;
  color: rgba(196, 122, 107, 0.85);
}

.sp-rec-counter {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(230, 228, 222, 0.35);
  font-variant-numeric: tabular-nums;
}
.sp-rec-counter--active {
  color: rgba(196, 122, 107, 0.65);
}

.sp-rec-stop-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid rgba(196, 122, 107, 0.5);
  color: rgba(196, 122, 107, 0.85);
  background: rgba(196, 122, 107, 0.07);
}

.sp-rec-stop-sq {
  width: 7px;
  height: 7px;
  background: currentColor;
  flex-shrink: 0;
  border-radius: 1px;
}

.sp-take-badge {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: rgba(78, 205, 196, 0.5);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.sp-rec-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(78, 205, 196, 0.3);
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.sp-rec-duration {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: rgba(78, 205, 196, 0.65);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.sp-rec-re-rec-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(230, 228, 222, 0.12);
  color: rgba(230, 228, 222, 0.3);
  transition: all 0.15s;
}
.sp-rec-re-rec-btn:hover {
  border-color: rgba(196, 122, 107, 0.4);
  color: rgba(196, 122, 107, 0.6);
}

.sp-rec-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  background: none;
  cursor: pointer;
  border: 1px solid rgba(230, 228, 222, 0.1);
  color: rgba(230, 228, 222, 0.25);
  transition: all 0.15s;
}
.sp-rec-delete-btn:hover {
  border-color: rgba(196, 122, 107, 0.4);
  color: rgba(196, 122, 107, 0.65);
}

.sp-rec-transport-sep {
  color: rgba(255, 255, 255, 0.1);
}

.sp-rec-transcript-live {
  font-size: 14px;
  color: rgba(230, 228, 222, 0.75);
  line-height: 1.5;
  margin-bottom: 8px;
  font-style: italic;
}

.sp-music-cue-panel-track-name {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-style: italic;
  color: rgba(230, 228, 222, 0.6);
  flex: 1;
}

.sp-music-cue-name {
  color: rgba(230, 228, 222, 0.5);
  font-style: normal;
}

.sp-music-track-chip {
  flex-shrink: 0;
  font-family: system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.sp-music-track-chip--role {
  color: rgba(230, 228, 222, 0.5);
  border-color: rgba(230, 228, 222, 0.18);
}

.sp-music-track-chip--in {
  color: #6db86d;
  border-color: rgba(109, 184, 109, 0.45);
}

.sp-music-track-chip--episode {
  color: #e8b400;
  border-color: rgba(232, 180, 0, 0.4);
}

.sp-music-track-chip--builtin {
  color: #4ecdc4;
  border-color: rgba(78, 205, 196, 0.35);
}

.sp-music-track-chip--upload {
  color: rgba(230, 228, 222, 0.5);
  border-color: rgba(230, 228, 222, 0.2);
}

.sp-music-track-chip--missing {
  color: #c96a5b;
  border-color: rgba(201, 106, 91, 0.45);
}

.sp-music-zone-empty {
  font-family: "Courier Prime", monospace;
  font-size: 11.5px;
  color: rgba(230, 228, 222, 0.35);
  padding: 18px 14px;
  line-height: 1.5;
}

.sp-music-zone-notice {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(230, 228, 222, 0.6);
  background: rgba(78, 205, 196, 0.07);
  border: 1px solid rgba(78, 205, 196, 0.25);
  border-radius: 4px;
  padding: 8px 12px;
  margin: 12px 0 0;
}

.enhance-panel {
  font-family: system-ui, sans-serif;
  background: #111110;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  border: 1px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.enhance-panel-header {
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(230, 228, 222, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: rgba(230, 228, 222, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.enhance-panel-header .sp-pill-icon {
  width: 14px;
  height: 14px;
}

.enhance-panel-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.sp-sources-section {
  border-bottom: 1px solid rgba(230, 228, 222, 0.06);
  flex-shrink: 0;
}

.sp-sources-header {
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.sp-sources-header:hover {
  background: rgba(230, 228, 222, 0.02);
}

.sp-sources-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(230, 228, 222, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp-sources-count {
  background: rgba(232, 119, 34, 0.15);
  color: rgba(232, 119, 34, 0.8);
  border-radius: 8px;
  padding: 0 5px;
  font-size: 9px;
  font-weight: 600;
}

.sp-sources-toggle {
  font-size: 9px;
  color: rgba(230, 228, 222, 0.2);
}

.sp-sources-body {
  padding: 0 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-source-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-source-input {
  flex: 1;
  background: rgba(230, 228, 222, 0.05);
  border: 1px solid rgba(230, 228, 222, 0.1);
  border-radius: 3px;
  padding: 4px 7px;
  font-size: 10.5px;
  font-family: "Courier Prime", monospace;
  color: rgba(230, 228, 222, 0.6);
  outline: none;
}
.sp-source-input::placeholder {
  color: rgba(230, 228, 222, 0.2);
}
.sp-source-input:focus {
  border-color: rgba(232, 119, 34, 0.35);
}

.sp-source-remove {
  color: rgba(230, 228, 222, 0.2);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
}
.sp-source-remove:hover {
  color: rgba(230, 228, 222, 0.5);
}

.sp-source-add-url {
  background: transparent;
  border: 1px dashed rgba(230, 228, 222, 0.1);
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 9.5px;
  color: rgba(230, 228, 222, 0.25);
  cursor: pointer;
  text-align: center;
  width: 100%;
}
.sp-source-add-url:hover {
  border-color: rgba(232, 119, 34, 0.3);
  color: rgba(232, 119, 34, 0.6);
}

.sp-file-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(232, 119, 34, 0.06);
  border: 1px solid rgba(232, 119, 34, 0.18);
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 10.5px;
  font-family: "Courier Prime", monospace;
  color: rgba(230, 228, 222, 0.65);
  margin-bottom: 2px;
}

.sp-file-chip--new {
  animation: sp-file-flash 1s ease-out forwards;
}

.sp-file-chip--error {
  border-color: rgba(200, 60, 60, 0.4);
  color: rgba(200, 60, 60, 0.7);
}

.sp-file-chip--loading {
  opacity: 0.75;
}

.sp-file-chip-status {
  flex-shrink: 0;
  font-style: italic;
  color: rgba(232, 119, 34, 0.75);
  animation: sp-chip-status-pulse 1.1s ease-in-out infinite;
}

@keyframes sp-chip-status-pulse {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-file-chip-status {
    animation: none;
  }
}
.sp-file-chip-icon {
  flex-shrink: 0;
  color: rgba(232, 119, 34, 0.5);
}

.sp-file-chip-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.sp-file-chip-remove {
  color: rgba(230, 228, 222, 0.2);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
  flex-shrink: 0;
}
.sp-file-chip-remove:hover {
  color: rgba(230, 228, 222, 0.5);
}

@keyframes sp-file-flash {
  0% {
    background: rgba(100, 200, 100, 0.25);
    border-color: rgba(100, 200, 100, 0.5);
  }
  60% {
    background: rgba(100, 200, 100, 0.12);
    border-color: rgba(100, 200, 100, 0.3);
  }
  100% {
    background: rgba(232, 119, 34, 0.06);
    border-color: rgba(232, 119, 34, 0.18);
  }
}
.sp-sources-add-row {
  display: flex;
  gap: 6px;
}

.sp-source-add-file {
  flex: 1;
  background: transparent;
  border: 1px dashed rgba(230, 228, 222, 0.1);
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 9.5px;
  color: rgba(230, 228, 222, 0.25);
  cursor: pointer;
  text-align: center;
}
.sp-source-add-file:hover {
  border-color: rgba(232, 119, 34, 0.3);
  color: rgba(232, 119, 34, 0.6);
}

.sp-sources-add-row .sp-source-add-url {
  flex: 1;
  width: auto;
}

.sp-sources-drop-zone {
  border: 1px dashed rgba(230, 228, 222, 0.08);
  border-radius: 3px;
  padding: 6px;
  text-align: center;
  transition: all 0.15s;
  margin-bottom: 4px;
}

.sp-sources-drop-idle {
  font-size: 9.5px;
  color: rgba(230, 228, 222, 0.18);
}

.sp-sources-section--drag .sp-sources-drop-zone {
  border: 2px dashed rgba(232, 119, 34, 0.6);
  padding: 12px 6px;
  background: rgba(232, 119, 34, 0.04);
}

.sp-sources-drop-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: rgba(232, 119, 34, 0.7);
}

.sp-sources-drop-arrow {
  font-size: 16px;
  opacity: 0.8;
}

.sp-sources-drop-types {
  font-size: 9.5px;
  color: rgba(230, 228, 222, 0.3);
}

.enhance-panel.sp-drag-active {
  border-color: rgba(232, 119, 34, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 119, 34, 0.2);
}
.enhance-panel.sp-drag-active .enhance-panel-body {
  opacity: 0.3;
  pointer-events: none;
}

.enhance-panel-header--drag {
  color: rgba(232, 119, 34, 0.85);
  letter-spacing: 0.02em;
}

.enhance-input {
  background: rgba(230, 228, 222, 0.05);
  border: 1px solid rgba(230, 228, 222, 0.1);
  border-radius: 6px;
  color: rgba(230, 228, 222, 0.7);
  font-family: system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  padding: 9px 11px;
  resize: none;
  height: 70px;
  outline: none;
  transition: border-color 0.15s;
  align-self: stretch;
}
.enhance-input:focus {
  border-color: rgba(230, 228, 222, 0.2);
}
.enhance-input--prefilled {
  border-color: rgba(232, 119, 34, 0.35);
  background: rgba(232, 119, 34, 0.05);
}
.enhance-input--prefilled:focus {
  border-color: rgba(232, 119, 34, 0.5);
}

.enhance-send {
  align-self: flex-end;
  font-family: system-ui;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 5px;
  background: rgba(232, 119, 34, 0.15);
  border: 1px solid rgba(232, 119, 34, 0.35);
  color: #e87722;
  cursor: pointer;
  transition: background 0.15s;
}
.enhance-send:hover {
  background: rgba(232, 119, 34, 0.25);
}
.enhance-send:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background: rgba(232, 119, 34, 0.08);
}
.enhance-send:disabled:hover {
  background: rgba(232, 119, 34, 0.08);
}

.enhance-note {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.2);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 10px;
}

.enhance-selection-label {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.4);
}
.enhance-selection-label .enhance-clear-selection {
  color: rgba(230, 228, 222, 0.3);
  cursor: pointer;
}
.enhance-selection-label .enhance-clear-selection:hover {
  color: rgba(230, 228, 222, 0.6);
}

.enhance-error {
  font-size: 11px;
  color: #e87;
  background: rgba(220, 80, 50, 0.08);
  border: 1px solid rgba(220, 80, 50, 0.2);
  border-radius: 4px;
  padding: 6px 9px;
}

.sp-clarify-bubble {
  background: rgba(123, 175, 212, 0.07);
  border: 1px solid rgba(123, 175, 212, 0.15);
  border-radius: 6px;
  padding: 10px 12px;
}

.sp-clarify-label {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(123, 175, 212, 0.5);
  margin-bottom: 6px;
}

.sp-clarify-question {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(230, 228, 222, 0.75);
  font-family: "Courier Prime", monospace;
}

.sp-clarify-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.sp-clarify-btn {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: system-ui;
}
.sp-clarify-btn.sp-clarify-btn-send {
  background: rgba(232, 119, 34, 0.15);
  border: 1px solid rgba(232, 119, 34, 0.35);
  color: #e87722;
}
.sp-clarify-btn.sp-clarify-btn-cancel {
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.1);
  color: rgba(230, 228, 222, 0.3);
}
.sp-clarify-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.sp-clarify-select {
  display: block;
  align-self: stretch;
  padding: 9px 11px;
  font-family: "Courier Prime", monospace;
  font-size: 12.5px;
  color: #e6e4de;
  background: rgba(230, 228, 222, 0.04);
  border: 1px solid rgba(230, 228, 222, 0.2);
  border-radius: 5px;
  color-scheme: dark;
  cursor: pointer;
  outline: none;
}
.sp-clarify-select:focus {
  border-color: rgba(232, 119, 34, 0.5);
}

.sp-done-block {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(230, 228, 222, 0.06);
  margin-bottom: 4px;
}

.sp-done-instruction {
  font-size: 11px;
  color: rgba(230, 228, 222, 0.6);
  background: rgba(230, 228, 222, 0.04);
  border-left: 2px solid rgba(232, 119, 34, 0.35);
  border-radius: 3px;
  padding: 5px 8px;
  margin-bottom: 6px;
  line-height: 1.45;
  font-family: "Courier Prime", monospace;
}

.sp-done-ops {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.sp-done-op {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11.5px;
  line-height: 1.4;
}

.sp-done-op-icon {
  color: #6db86d;
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 1px;
}

.sp-done-op-text {
  color: rgba(230, 228, 222, 0.55);
}

.sp-undo-btn {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 3px;
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.15);
  color: rgba(230, 228, 222, 0.4);
  cursor: pointer;
  font-family: system-ui;
  flex-shrink: 0;
  transition: all 0.15s;
}
.sp-undo-btn:hover {
  border-color: rgba(230, 228, 222, 0.35);
  color: rgba(230, 228, 222, 0.75);
}

.enhance-panel-header--running {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp-generating-badge {
  font-size: 10px;
  color: #e87722;
  background: rgba(232, 119, 34, 0.1);
  border: 1px solid rgba(232, 119, 34, 0.25);
  border-radius: 3px;
  padding: 2px 6px;
  font-weight: normal;
  letter-spacing: 0;
  text-transform: none;
}

.sp-running-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e87722;
  flex-shrink: 0;
  animation: sp-pulse 1s ease-in-out infinite;
}

.sp-running-instruction {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.5);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 8px;
}

.enhance-panel-body--running {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sp-running-ops {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
  flex: 1;
}

.sp-running-op {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sp-op-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  background: rgba(123, 175, 212, 0.12);
  color: #7bafd4;
  border: 1px solid rgba(123, 175, 212, 0.2);
}
.sp-op-icon.sp-op-icon--running {
  animation: sp-pulse 1s ease-in-out infinite;
}
.sp-op-icon.sp-op-icon--done {
  background: rgba(109, 184, 109, 0.15);
  color: rgba(109, 184, 109, 0.9);
  border-color: rgba(109, 184, 109, 0.3);
  animation: none;
}

.sp-op-label {
  font-size: 11.5px;
  color: rgba(230, 228, 222, 0.5);
  line-height: 1.4;
}

.sp-cancel-btn {
  width: 100%;
  margin-top: 16px;
  padding: 8px;
  font-size: 12px;
  font-family: system-ui;
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.12);
  border-radius: 4px;
  color: rgba(230, 228, 222, 0.35);
  cursor: pointer;
  transition: all 0.15s;
}
.sp-cancel-btn:hover {
  border-color: rgba(230, 228, 222, 0.25);
  color: rgba(230, 228, 222, 0.6);
}

.enhance-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.enhance-history-pref {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enhance-history-pref-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.enhance-history-pref-title {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(230, 228, 222, 0.35);
}

.enhance-history-pref-info-wrap {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  cursor: help;
  border-radius: 3px;
}
.enhance-history-pref-info-wrap:focus-visible {
  outline: 1px solid rgba(232, 119, 34, 0.6);
  outline-offset: 2px;
}

.enhance-history-pref-info {
  width: 13px;
  height: 13px;
  color: rgba(230, 228, 222, 0.2);
  transition: color 0.15s;
}
.enhance-history-pref-info-wrap:hover .enhance-history-pref-info {
  color: rgba(230, 228, 222, 0.5);
}

.sp-authoring-notice-wrap {
  display: flex;
  flex-direction: column;
}

.sp-authoring-notice {
  display: flex;
  gap: 7px;
  align-items: center;
  font-family: inherit;
  font-size: 11.5px;
  line-height: 1.4;
  text-align: left;
  border-radius: 5px;
  padding: 8px 11px;
  cursor: pointer;
}
.sp-authoring-notice strong {
  font-weight: 700;
}
.sp-authoring-notice svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.sp-authoring-notice .sp-authoring-notice-chev {
  width: 12px;
  height: 12px;
  margin-left: auto;
  opacity: 0.5;
}
.sp-authoring-notice:focus-visible {
  outline: 1px solid rgba(232, 119, 34, 0.6);
  outline-offset: 2px;
}

.sp-authoring-notice--covered {
  color: rgba(109, 184, 109, 0.9);
  background: rgba(109, 184, 109, 0.06);
  border: 1px solid rgba(109, 184, 109, 0.22);
}
.sp-authoring-notice--covered strong, .sp-authoring-notice--covered svg {
  color: #6db86d;
}

.sp-authoring-notice--contradiction {
  color: rgba(232, 180, 0, 0.85);
  background: rgba(232, 180, 0, 0.06);
  border: 1px solid rgba(232, 180, 0, 0.22);
}
.sp-authoring-notice--contradiction strong, .sp-authoring-notice--contradiction svg {
  color: #e8b400;
}

.sp-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.sp-notice-modal {
  background: #1a1a1a;
  border: 1px solid rgba(230, 228, 222, 0.12);
  border-radius: 10px;
  padding: 22px;
  max-width: 440px;
  min-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-notice-modal-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-notice-modal-head svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sp-notice-modal-title {
  font-size: 15px;
  font-weight: 600;
}

.sp-notice-modal--covered .sp-notice-modal-title, .sp-notice-modal--covered .sp-notice-modal-head svg {
  color: #6db86d;
}

.sp-notice-modal--contradiction .sp-notice-modal-title, .sp-notice-modal--contradiction .sp-notice-modal-head svg {
  color: #e8b400;
}

.sp-notice-modal-gist {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(230, 228, 222, 0.7);
}
.sp-notice-modal-gist em {
  font-style: normal;
  color: rgba(230, 228, 222, 0.92);
}

.sp-notice-eps-label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(230, 228, 222, 0.35);
}

.sp-notice-eps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}

.sp-notice-ep {
  font-size: 12.5px;
  color: rgba(230, 228, 222, 0.85);
  padding: 6px 8px;
  border-radius: 5px;
  background: rgba(230, 228, 222, 0.03);
  border: 1px solid rgba(230, 228, 222, 0.05);
}

.sp-notice-claim {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 9px 11px;
  border-radius: 6px;
}

.sp-notice-claim-label {
  display: block;
  margin-bottom: 3px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.sp-notice-claim--this {
  background: rgba(232, 180, 0, 0.06);
  border: 1px solid rgba(232, 180, 0, 0.18);
}
.sp-notice-claim--this .sp-notice-claim-label {
  color: #e8b400;
}

.sp-notice-claim--prior {
  background: rgba(230, 228, 222, 0.03);
  border: 1px solid rgba(230, 228, 222, 0.07);
}
.sp-notice-claim--prior .sp-notice-claim-label {
  color: rgba(230, 228, 222, 0.5);
}

.sp-notice-passage {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-notice-passage-label {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(230, 228, 222, 0.5);
}

.sp-notice-passage-quote {
  margin: 0;
  padding: 8px 11px;
  border-left: 2px solid rgba(232, 180, 0, 0.5);
  border-radius: 0 6px 6px 0;
  background: rgba(230, 228, 222, 0.03);
  font-size: 12.5px;
  line-height: 1.55;
  font-style: italic;
  color: rgba(230, 228, 222, 0.82);
  max-height: 160px;
  overflow-y: auto;
}

.sp-notice-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 2px;
}

.sp-notice-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
}

.sp-notice-btn--enhance {
  background: #e87722;
  color: #fff;
  border-color: #e87722;
}

.sp-notice-btn--dismiss {
  background: none;
  color: rgba(230, 228, 222, 0.55);
  border-color: rgba(230, 228, 222, 0.14);
}

.enhance-sources-hint {
  font-size: 10.5px;
  color: rgba(230, 228, 222, 0.25);
  flex: 1;
}

.enhance-history-empty {
  font-size: 11.5px;
  color: rgba(230, 228, 222, 0.25);
  line-height: 1.6;
  padding: 8px 0 4px;
}

.enhance-header-undo {
  font-size: 11px;
  padding: 3px 8px;
  background: transparent;
  border: 1px solid rgba(230, 228, 222, 0.15);
  border-radius: 4px;
  color: rgba(230, 228, 222, 0.4);
  cursor: pointer;
  font-family: system-ui;
  transition: all 0.15s;
  margin-left: auto;
}
.enhance-header-undo:hover {
  border-color: rgba(230, 228, 222, 0.3);
  color: rgba(230, 228, 222, 0.7);
}

.sp-generation-banner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0 4px;
}

.sp-generation-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 119, 34, 0.08);
  border: 1px solid rgba(232, 119, 34, 0.2);
  border-radius: 3px;
  padding: 7px 10px;
}

.sp-generation-spinner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(232, 119, 34, 0.2);
  border-top-color: #e87722;
  animation: sp-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes sp-spin {
  to {
    transform: rotate(360deg);
  }
}
.sp-generation-status-text {
  font-size: 10.5px;
  color: rgba(232, 119, 34, 0.8);
  font-family: "Inter", sans-serif;
  flex: 1;
}

.sp-progress-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 228, 222, 0.25);
  margin-bottom: 3px;
}

.sp-generation-progress-track {
  background: rgba(230, 228, 222, 0.05);
  border-radius: 2px;
  height: 3px;
  overflow: hidden;
}

.sp-generation-progress-fill {
  background: #e87722;
  height: 100%;
  border-radius: 2px;
  opacity: 0.7;
  transition: width 0.3s ease;
}

.sp-generation-hint {
  font-size: 10px;
  color: rgba(230, 228, 222, 0.2);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
}

.transcript-line--selected {
  background-color: rgba(232, 119, 34, 0.15) !important;
  outline: 1px solid rgba(232, 119, 34, 0.3);
}

.transcript-line--flash {
  transition: background-color 600ms ease-out;
  background-color: rgba(232, 119, 34, 0.3);
}

.transcript-area--locked {
  position: fixed;
  top: 0;
  left: 0;
  right: 340px;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  z-index: 11;
}
.transcript-area--locked .enhancing-label {
  background: rgba(10, 10, 10, 0.85);
  color: #e0e0e0;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-style: italic;
  border: 1px solid #333;
}

.enhance-fab {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.episode-type-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
}
.episode-type-selector .episode-type-cards {
  display: flex;
  gap: 16px;
}
.episode-type-selector .episode-type-card {
  width: 180px;
  padding: 20px 18px;
  border-radius: 10px;
  border: 2px solid rgba(237, 237, 237, 0.15);
  background: rgba(237, 237, 237, 0.05);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
}
.episode-type-selector .episode-type-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #EDEDED;
}
.episode-type-selector .episode-type-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(237, 237, 237, 0.6);
}
.episode-type-selector .episode-type-card:hover {
  border-color: rgba(236, 84, 46, 0.5);
  background: rgba(236, 84, 46, 0.06);
}
.episode-type-selector .episode-type-card.selected {
  border-color: #ec542e;
  background: rgba(236, 84, 46, 0.1);
}
.episode-type-selector .episode-type-card.selected h3 {
  color: #ec542e;
}
.episode-type-selector .episode-type-card.selected p {
  color: rgba(237, 237, 237, 0.75);
}
.episode-type-selector .episode-type-next-btn {
  background: #ec542e;
  color: white;
  text-shadow: 0 0 10px rgba(75, 17, 3, 0.5);
  border: 0 solid transparent;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  padding: 10px 40px;
  font-size: 16px;
}
.episode-type-selector .episode-type-classic-link {
  font-size: 13px;
  color: rgba(237, 237, 237, 0.5);
}
.episode-type-selector .episode-type-classic-link a {
  color: inherit;
  text-decoration: underline dotted;
  cursor: pointer;
}
.episode-type-selector .episode-type-classic-link a:hover {
  color: #EDEDED;
}

.autodraft-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}
.autodraft-form .autodraft-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(237, 237, 237, 0.7);
  margin-bottom: -6px;
}
.autodraft-form .autodraft-prompt {
  width: 100%;
  resize: vertical;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(237, 237, 237, 0.2);
  background: rgba(237, 237, 237, 0.05);
  color: #EDEDED;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  box-sizing: border-box;
}
.autodraft-form .autodraft-urls {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.autodraft-form .autodraft-url-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.autodraft-form .autodraft-url-row input {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(237, 237, 237, 0.2);
  background: rgba(237, 237, 237, 0.05);
  color: #EDEDED;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
}
.autodraft-form .autodraft-url-row .autodraft-url-remove {
  background: none;
  border: none;
  color: rgba(237, 237, 237, 0.5);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
}
.autodraft-form .autodraft-url-row .autodraft-url-remove:hover {
  color: #EDEDED;
}
.autodraft-form .autodraft-add-url {
  background: none;
  border: 1px dashed rgba(237, 237, 237, 0.3);
  border-radius: 6px;
  color: rgba(237, 237, 237, 0.6);
  cursor: pointer;
  font-size: 13px;
  padding: 6px 12px;
  align-self: flex-start;
}
.autodraft-form .autodraft-add-url:hover {
  border-color: rgba(237, 237, 237, 0.6);
  color: #EDEDED;
}
.autodraft-form .autodraft-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.autodraft-form .autodraft-add-files {
  background: none;
  border: 1px dashed rgba(237, 237, 237, 0.3);
  border-radius: 6px;
  color: rgba(237, 237, 237, 0.6);
  cursor: pointer;
  font-size: 13px;
  padding: 6px 12px;
}
.autodraft-form .autodraft-add-files:hover {
  border-color: rgba(237, 237, 237, 0.6);
  color: #EDEDED;
}
.autodraft-form .autodraft-file-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(237, 237, 237, 0.1);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
}
.autodraft-form .autodraft-file-chip.error {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}
.autodraft-form .autodraft-file-chip .autodraft-file-error {
  color: #ff6b6b;
}
.autodraft-form .autodraft-file-chip .autodraft-file-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(237, 237, 237, 0.5);
  font-size: 14px;
  padding: 0 2px;
}
.autodraft-form .autodraft-file-chip .autodraft-file-remove:hover {
  color: #EDEDED;
}
.autodraft-form .autodraft-submit {
  align-self: flex-end;
  padding: 10px 24px;
  background-color: #4ecdc4;
  color: #1a1a2e;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.autodraft-form .autodraft-submit:disabled {
  opacity: 0.4;
  cursor: default;
}
.autodraft-form .autodraft-submit:not(:disabled):hover {
  opacity: 0.85;
}

.autodraft-generating {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.autodraft-generating .autodraft-status {
  font-size: 13px;
  color: rgba(237, 237, 237, 0.6);
  margin: 0;
  font-style: italic;
}
.autodraft-generating .autodraft-status.interrupted {
  color: #ff6b6b;
  font-style: normal;
  font-weight: 500;
}
.autodraft-generating .autodraft-streamed-title {
  font-size: 18px;
  font-weight: 600;
  color: #EDEDED;
  margin: 0;
}
.autodraft-generating .autodraft-streamed-scene {
  font-size: 12px;
  color: rgba(237, 237, 237, 0.5);
  font-style: italic;
  margin: 0;
}
.autodraft-generating .autodraft-host-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.autodraft-generating .autodraft-host-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}
.autodraft-generating .autodraft-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: scroll;
  scrollbar-width: none;
}
.autodraft-generating .autodraft-lines::-webkit-scrollbar {
  display: none;
}
.autodraft-generating .autodraft-line-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(237, 237, 237, 0.05);
  border-radius: 6px;
  font-size: 13px;
}
.autodraft-generating .autodraft-line-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}
.autodraft-generating .autodraft-line-host {
  font-weight: 600;
  flex-shrink: 0;
}
.autodraft-generating .autodraft-line-text {
  color: rgba(237, 237, 237, 0.85);
}
.autodraft-generating .autodraft-generating-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.autodraft-generating .autodraft-retry-btn {
  padding: 8px 20px;
  background: rgba(237, 237, 237, 0.1);
  border: 1px solid rgba(237, 237, 237, 0.2);
  border-radius: 6px;
  color: #EDEDED;
  cursor: pointer;
  font-size: 14px;
}
.autodraft-generating .autodraft-retry-btn:hover {
  background: rgba(237, 237, 237, 0.18);
}
.autodraft-generating .autodraft-continue-btn {
  padding: 8px 20px;
  background-color: #4ecdc4;
  color: #1a1a2e;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.autodraft-generating .autodraft-continue-btn:hover {
  opacity: 0.85;
}

.autodraft-segments {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.autodraft-segment {
  border-radius: 6px;
  overflow: hidden;
}
.autodraft-segment--future {
  opacity: 0.4;
}
.autodraft-segment--active {
  border: 1px solid rgba(78, 205, 196, 0.35);
  background: rgba(78, 205, 196, 0.04);
}
.autodraft-segment--complete {
  opacity: 0.65;
}

.autodraft-segment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.autodraft-segment-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ecdc4;
}

.autodraft-segment-active-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(78, 205, 196, 0.25);
  border-top-color: #4ecdc4;
  animation: rotation 0.7s linear infinite;
}

.autodraft-segment-placeholder-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.35;
}

.autodraft-segment-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}

.autodraft-segment-duration {
  font-size: 0.75rem;
  opacity: 0.5;
  white-space: nowrap;
}

.autodraft-segment-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px 8px;
  max-height: 200px;
  overflow-y: scroll;
  scrollbar-width: none;
}
.autodraft-segment-lines::-webkit-scrollbar {
  display: none;
}

.enhance-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #252525;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.75);
  transition: right 0.25s ease, background 0.2s, border-color 0.2s;
}
.enhance-fab:hover {
  background: #2e2e2e;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.enhance-fab--active {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
  right: calc(340px + 1rem);
  color: rgba(255, 255, 255, 0.5);
}
.enhance-fab--active:hover {
  background: #252525;
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}
.enhance-fab:disabled {
  cursor: default;
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.08);
  right: calc(340px + 1rem);
  color: rgba(255, 255, 255, 0.3);
}
.enhance-fab .spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

.cover-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-lightbox-overlay.cover-lightbox-overlay--generating {
  cursor: default;
}

.cover-lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  width: 320px;
  padding: 0 8px;
}

.cover-lightbox-close {
  position: absolute;
  top: -8px;
  right: 0;
  font-size: 20px;
  color: rgba(230, 228, 222, 0.4);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.cover-lightbox-close:hover {
  color: rgba(230, 228, 222, 0.85);
}

.cover-lightbox-image-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.6);
  background: #1a2530;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-lightbox-no-image {
  font-size: 48px;
  color: rgba(230, 228, 222, 0.1);
}

.cover-lightbox-generating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cover-lightbox-spinner {
  display: block;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(232, 119, 34, 0.15);
  border-top-color: #e87722;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.cover-lightbox-generating-label {
  font-size: 12px;
  color: rgba(230, 228, 222, 0.35);
  font-style: italic;
}

.cover-lightbox-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.cover-lightbox-btn {
  flex: 1;
  padding: 8px 14px;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid rgba(230, 228, 222, 0.15);
  background: transparent;
  color: rgba(230, 228, 222, 0.5);
  transition: border-color 0.15s, color 0.15s;
}
.cover-lightbox-btn:hover {
  border-color: rgba(230, 228, 222, 0.3);
  color: rgba(230, 228, 222, 0.8);
}
.cover-lightbox-btn.cover-lightbox-btn--primary {
  background: rgba(232, 119, 34, 0.12);
  border-color: rgba(232, 119, 34, 0.4);
  color: #e87722;
}
.cover-lightbox-btn.cover-lightbox-btn--primary:hover {
  background: rgba(232, 119, 34, 0.2);
}

.cover-lightbox-error {
  font-size: 11px;
  color: #e74c3c;
  text-align: center;
  margin: 0;
}

/*# sourceMappingURL=main.css.map */
