/* Editing controls only; export progress and Save behavior are unchanged. */
.storyline-editor.compact-story-editor {
  margin: 12px 0;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid #282d30;
  border-radius: 0;
  background: transparent;
}
.compact-story-editor .storyline-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.compact-story-editor .color-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #adb3ba;
  font-size: 13px;
}
.compact-story-editor #colorMode {
  min-height: 40px;
  max-width: 140px;
  padding: 6px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  color-scheme: dark;
  cursor: pointer;
}
.compact-story-editor #applyStorylineBtn {
  min-height: 40px;
  flex-shrink: 0;
  padding: 6px 0 6px 12px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
}
.compact-story-editor #applyStorylineBtn:not(:disabled):hover {
  color: var(--artist-orange, #e97b50) !important;
}
.compact-story-editor #applyStorylineBtn:not(:disabled):active {
  color: var(--artist-blue, #5adbd8) !important;
}
.compact-story-editor #applyStorylineBtn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.compact-story-editor .storyline-heading {
  gap: 10px;
  min-height: 20px;
}
.compact-story-editor .storyline-heading label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.compact-story-editor .storyline-heading label span,
.compact-story-editor #storylineMode {
  color: #929aa2;
  font-size: 11px;
  font-weight: 400;
}
.compact-story-editor #storylineInput {
  min-height: 72px;
  margin: 6px 0 0;
  padding: 10px 12px;
  border: 1px solid #353a3e;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.compact-story-editor #storylineInput::placeholder { color: #929aa2; }
.compact-story-editor #storylineStatus {
  margin: 6px 0 0;
  color: #adb3ba;
  font-size: 12px;
  line-height: 1.5;
}
.compact-story-editor #storylineStatus:empty { display: none; }
.compact-story-editor .storyline-help {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.compact-story-editor #colorMode:focus-visible {
  outline: 1px solid var(--artist-blue, #5adbd8);
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .compact-story-editor #colorMode,
  .compact-story-editor #applyStorylineBtn { min-height: 44px; }
  .compact-story-editor #storylineInput { min-height: 82px; }
}
