/* ============================================================
 * audio-tool · ElementAdmin-inspired styles
 * ========================================================== */

:root {
  --at-c-bg: #f0f2f5;
  --at-c-card: #ffffff;
  --at-c-border: #e4e7ed;
  --at-c-border-light: #ebeef5;
  --at-c-text: #303133;
  --at-c-text-sub: #606266;
  --at-c-text-mute: #909399;
  --at-c-primary: #409eff;
  --at-c-primary-hover: #66b1ff;
  --at-c-primary-active: #3a8ee6;
  --at-c-success: #67c23a;
  --at-c-warning: #e6a23c;
  --at-c-danger: #f56c6c;
  --at-c-info: #909399;

  --at-c-side: #304156;
  --at-c-side-2: #263445;
  --at-c-side-3: #1f2d3d;
  --at-c-side-text: #bfcbd9;
  --at-c-side-text-active: #f4f4f5;
  --at-c-side-active: #409eff;

  --at-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  --at-shadow-lg: 0 4px 12px rgba(0, 21, 41, 0.12);
  --at-radius: 4px;

  --at-sidebar-w: 210px;
  --at-header-h: 60px;
  --at-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--at-font);
  font-size: 14px;
  color: var(--at-c-text);
  background: var(--at-c-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--at-c-primary); text-decoration: none; }
a:hover { color: var(--at-c-primary-hover); }

/* ---------- App Shell ---------- */
.at-app__shell {
  display: flex;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.at-sidebar {
  width: var(--at-sidebar-w);
  background: var(--at-c-side);
  color: var(--at-c-side-text);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.at-sidebar__logo {
  height: var(--at-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: var(--at-c-side-3);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.at-sidebar__logo-mark {
  width: 28px; height: 28px;
  background: var(--at-c-primary);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.at-sidebar__logo-text { letter-spacing: 0.5px; }
.at-sidebar__menu {
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
}
.at-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  height: 48px;
  color: var(--at-c-side-text);
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.at-sidebar__item:hover {
  background: var(--at-c-side-2);
  color: #fff;
}
.at-sidebar__item--active {
  background: var(--at-c-side-2);
  color: var(--at-c-side-text-active);
  border-left-color: var(--at-c-primary);
}
.at-sidebar__icon {
  width: 18px;
  text-align: center;
  color: inherit;
  font-size: 14px;
  opacity: 0.85;
}
.at-sidebar__footer {
  padding: 14px 22px;
  font-size: 12px;
  color: #6c7a89;
  border-top: 1px solid var(--at-c-side-2);
}

/* ---------- Main / Header ---------- */
.at-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.at-header {
  height: var(--at-header-h);
  background: #fff;
  border-bottom: 1px solid var(--at-c-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: var(--at-shadow);
  z-index: 1;
}
.at-header__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--at-c-text);
}
.at-header__right { display: flex; align-items: center; gap: 12px; }

.at-userchip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  background: #f5f7fa;
}
.at-userchip__avatar {
  width: 28px; height: 28px;
  background: var(--at-c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.at-userchip__name { color: var(--at-c-text-sub); font-size: 13px; }
.at-userchip__logout { display: inline; margin: 0; }

/* ---------- Content ---------- */
.at-content {
  flex: 1;
  padding: 20px 24px 40px;
  overflow-y: auto;
}

/* ---------- Card ---------- */
.at-card {
  background: var(--at-c-card);
  border-radius: var(--at-radius);
  box-shadow: var(--at-shadow);
  border: 1px solid var(--at-c-border-light);
}
.at-card--mt { margin-top: 16px; }
.at-card--pad .at-card__body { padding: 20px 24px; }
.at-card--muted { background: #fafbfc; }
.at-card__title {
  padding: 14px 24px;
  border-bottom: 1px solid var(--at-c-border-light);
  font-weight: 600;
  font-size: 15px;
  color: var(--at-c-text);
}
.at-card__body { padding: 20px 24px; }

/* ---------- Buttons ---------- */
.at-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--at-c-border);
  background: #fff;
  color: var(--at-c-text);
  border-radius: var(--at-radius);
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s;
  user-select: none;
}
.at-btn:hover { color: var(--at-c-primary); border-color: var(--at-c-primary); }
.at-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.at-btn--primary { background: var(--at-c-primary); border-color: var(--at-c-primary); color: #fff; }
.at-btn--primary:hover { background: var(--at-c-primary-hover); border-color: var(--at-c-primary-hover); color: #fff; }
.at-btn--text { border-color: transparent; background: transparent; color: var(--at-c-text-sub); }
.at-btn--text:hover { color: var(--at-c-primary); border-color: transparent; background: transparent; }
.at-btn--lg { height: 40px; padding: 0 22px; font-size: 14px; }
.at-btn--block { width: 100%; }

/* ---------- Form ---------- */
.at-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--at-c-border);
  border-radius: var(--at-radius);
  font-size: 14px;
  color: var(--at-c-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.at-input:focus {
  outline: none;
  border-color: var(--at-c-primary);
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.15);
}
.at-form-item { margin-bottom: 16px; }
.at-form-item__label { display: block; font-size: 13px; color: var(--at-c-text-sub); margin-bottom: 6px; }

/* ---------- Flash ---------- */
.at-flashes { margin-bottom: 12px; }
.at-flash {
  padding: 8px 14px;
  border-radius: var(--at-radius);
  font-size: 13px;
  margin-bottom: 6px;
}
.at-flash--error { background: #fef0f0; color: var(--at-c-danger); border: 1px solid #fbc4c4; }
.at-flash--success { background: #f0f9eb; color: var(--at-c-success); border: 1px solid #c2e7b0; }

/* ---------- Toast ---------- */
.at-toast-host {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.at-toast {
  background: #fff;
  border: 1px solid var(--at-c-border-light);
  box-shadow: var(--at-shadow-lg);
  border-radius: var(--at-radius);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--at-c-text);
  min-width: 200px;
  text-align: center;
  animation: atToastIn 0.2s ease-out;
}
.at-toast--error { color: var(--at-c-danger); border-color: #fbc4c4; background: #fef0f0; }
.at-toast--success { color: var(--at-c-success); border-color: #c2e7b0; background: #f0f9eb; }
@keyframes atToastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Topbar Progress ---------- */
.at-topbar-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 10000;
}
.at-topbar-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--at-c-primary), #79bbff);
  width: 0%;
  transition: width 0.2s;
  box-shadow: 0 0 6px rgba(64, 158, 255, 0.5);
}

/* ---------- Welcome / Tool grid ---------- */
.at-welcome { margin: 6px 0 20px; }
.at-welcome__hi { font-size: 22px; font-weight: 600; }
.at-welcome__sub { color: var(--at-c-text-mute); font-size: 13px; margin-top: 4px; }

.at-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.at-tool-card {
  display: block;
  background: #fff;
  border-radius: var(--at-radius);
  padding: 22px;
  border: 1px solid var(--at-c-border-light);
  box-shadow: var(--at-shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  color: var(--at-c-text);
}
.at-tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--at-shadow-lg);
  border-color: var(--at-c-primary);
  color: var(--at-c-text);
}
.at-tool-card__icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 14px;
}
.at-tool-card__icon--blue { background: var(--at-c-primary); }
.at-tool-card__icon--green { background: var(--at-c-success); }
.at-tool-card__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.at-tool-card__desc { color: var(--at-c-text-mute); font-size: 13px; line-height: 1.6; }
.at-tool-card__more { margin-top: 14px; color: var(--at-c-primary); font-size: 13px; }

.at-tips { padding-left: 20px; color: var(--at-c-text-sub); font-size: 13px; line-height: 1.9; margin: 0; }

/* ---------- Login ---------- */
.at-login-page {
  background: linear-gradient(135deg, #2b3a4d 0%, #304156 50%, #3a4f6b 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.at-login {
  width: 100%;
  max-width: 420px;
}
.at-login__brand { text-align: center; margin-bottom: 24px; color: #fff; }
.at-login__logo {
  width: 56px; height: 56px;
  background: var(--at-c-primary);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(64, 158, 255, 0.4);
}
.at-login__title { font-size: 22px; font-weight: 600; }
.at-login__subtitle { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 4px; }
.at-login__card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.at-login__step { animation: atStepIn 0.2s ease-out; }
@keyframes atStepIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.at-login__hint { font-size: 13px; color: var(--at-c-text-mute); margin-bottom: 14px; }
.at-login__user-cards { display: flex; flex-direction: column; gap: 10px; }

.at-user-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  border: 1px solid var(--at-c-border);
  border-radius: var(--at-radius);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.at-user-card:hover {
  border-color: var(--at-c-primary);
  background: #ecf5ff;
}
.at-user-card:active { transform: scale(0.99); }
.at-user-card__avatar {
  width: 44px; height: 44px;
  background: var(--at-c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
}
.at-user-card__name { font-size: 15px; font-weight: 600; color: var(--at-c-text); }
.at-user-card__sub { font-size: 12px; color: var(--at-c-text-mute); margin-top: 2px; }

.at-login__back {
  border: none; background: transparent; color: var(--at-c-text-mute);
  font-size: 13px; cursor: pointer; padding: 0; margin-bottom: 14px;
}
.at-login__back:hover { color: var(--at-c-primary); }
.at-login__user-summary {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #f5f7fa;
  border-radius: var(--at-radius);
  margin-bottom: 18px;
}
.at-login__user-avatar {
  width: 32px; height: 32px;
  background: var(--at-c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.at-login__user-name { font-weight: 600; }
.at-login__user-sub { color: var(--at-c-text-mute); font-size: 12px; margin-left: auto; }
.at-login__form .at-btn { margin-top: 4px; }
.at-login__error {
  background: #fef0f0; color: var(--at-c-danger);
  border: 1px solid #fbc4c4;
  border-radius: var(--at-radius);
  padding: 8px 12px; font-size: 13px;
  margin-bottom: 10px;
}
.at-login__foot { text-align: center; color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 20px; }

/* ---------- Uploader ---------- */
.at-uploader__area {
  border: 2px dashed var(--at-c-border);
  border-radius: 6px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.15s;
  background: #fafbfc;
}
.at-uploader__area:hover, .at-uploader__area--drag {
  border-color: var(--at-c-primary);
  background: #ecf5ff;
}
.at-uploader__big {
  font-size: 36px; color: var(--at-c-primary);
  line-height: 1; margin-bottom: 8px;
}
.at-uploader__hint { font-size: 14px; color: var(--at-c-text); }
.at-uploader__sub { font-size: 12px; color: var(--at-c-text-mute); margin-top: 4px; }

/* ---------- Progress ---------- */
.at-progress-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.at-progress-row__name { font-weight: 600; }
.at-progress-row__pct { color: var(--at-c-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.at-progress {
  height: 8px; background: #ebeef5; border-radius: 4px; overflow: hidden;
}
.at-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--at-c-primary), #79bbff);
  transition: width 0.25s;
  border-radius: 4px;
}
.at-progress-row__sub { font-size: 12px; color: var(--at-c-text-mute); margin-top: 6px; }

/* ---------- Table / KV ---------- */
.at-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.at-table td { padding: 8px 0; border-bottom: 1px dashed var(--at-c-border-light); }
.at-table td:first-child { color: var(--at-c-text-mute); width: 100px; }
.at-table td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

.at-kv { list-style: none; padding: 0; margin: 0; }
.at-kv li { display: flex; padding: 6px 0; border-bottom: 1px dashed var(--at-c-border-light); font-size: 13px; }
.at-kv li span { color: var(--at-c-text-mute); width: 90px; }
.at-kv li b { font-weight: 500; }

.at-result-actions { margin-top: 16px; display: flex; gap: 10px; }

/* ---------- Editor ---------- */
.at-editor {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  padding: 20px;
}
.at-editor__preview {
  background: #000;
  border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 320px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.at-editor__video, .at-editor__audio { width: 100%; max-height: 480px; background: #000; }
.at-editor__time {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(0,0,0,0.55);
  padding: 4px 10px; border-radius: 4px;
  font-size: 12px; font-variant-numeric: tabular-nums;
}
.at-editor__sidebar { display: flex; flex-direction: column; gap: 10px; }
.at-editor__side-title { font-weight: 600; font-size: 14px; }
.at-editor__segs { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.at-editor__divider { height: 1px; background: var(--at-c-border-light); margin: 6px 0; }
.at-editor__hint { color: var(--at-c-text-mute); font-size: 12px; line-height: 1.7; }

.at-empty { color: var(--at-c-text-mute); font-size: 13px; padding: 14px; text-align: center; background: #fafbfc; border-radius: 4px; }

.at-seg {
  border: 1px solid var(--at-c-border);
  border-radius: 4px;
  padding: 10px 12px;
  background: #fff;
  font-size: 12px;
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer;
  transition: border-color 0.1s;
}
.at-seg:hover { border-color: var(--at-c-primary); }
.at-seg--active { border-color: var(--at-c-primary); background: #ecf5ff; }
.at-seg__head { display: flex; justify-content: space-between; align-items: center; }
.at-seg__title { font-weight: 600; }
.at-seg__times { display: flex; gap: 6px; align-items: center; }
.at-seg__time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--at-c-border);
  border-radius: 3px; padding: 2px 4px; width: 96px; font-size: 12px;
}
.at-seg__fades { display: flex; gap: 6px; }
.at-seg__select {
  height: 24px; border: 1px solid var(--at-c-border); border-radius: 3px;
  padding: 0 4px; font-size: 12px; background: #fff;
}
.at-seg__del { background: transparent; border: none; color: var(--at-c-danger); cursor: pointer; }

.at-editor__timeline { padding: 12px 20px 20px; border-top: 1px solid var(--at-c-border-light); }
.at-editor__ruler {
  height: 22px;
  position: relative;
  font-size: 10px;
  color: var(--at-c-text-mute);
  border-bottom: 1px solid var(--at-c-border-light);
  margin-bottom: 6px;
}
.at-editor__ruler-tick { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--at-c-border-light); padding-left: 4px; }
.at-editor__track {
  position: relative;
  height: 80px;
  background: #2b2b2b;
  border-radius: 4px;
  overflow: hidden;
  cursor: crosshair;
}
.at-editor__thumbs {
  display: flex; height: 100%;
  background-size: cover; background-repeat: repeat-x;
}
.at-editor__playhead {
  position: absolute; top: 0; bottom: 0; width: 2px; background: #ff5252;
  pointer-events: none; box-shadow: 0 0 4px rgba(255,82,82,0.7);
}
.at-editor__markers { position: absolute; inset: 0; pointer-events: none; }
.at-marker {
  position: absolute; top: 0; bottom: 0; width: 3px;
  pointer-events: auto; cursor: ew-resize;
}
.at-marker--in { background: #67c23a; }
.at-marker--out { background: #e6a23c; }
.at-marker__handle {
  position: absolute; top: -6px; left: -5px; width: 13px; height: 12px;
  background: inherit; border-radius: 2px;
}
.at-seg-range {
  position: absolute; top: 0; bottom: 0;
  background: rgba(64, 158, 255, 0.18);
  border-left: 3px solid #67c23a;
  border-right: 3px solid #e6a23c;
  pointer-events: none;
}
.at-seg-range--active { background: rgba(64, 158, 255, 0.32); }

.at-editor__actions {
  padding: 16px 20px;
  border-top: 1px solid var(--at-c-border-light);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ---------- Drawer (right slide-in, NOT modal mask) ---------- */
.at-drawer {
  position: fixed; inset: 0;
  pointer-events: auto;
  z-index: 1000;
  background: rgba(0,0,0,0.18);
  animation: atDrawerBg 0.18s ease-out;
}
@keyframes atDrawerBg { from { background: rgba(0,0,0,0); } to { background: rgba(0,0,0,0.18); } }
.at-drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 360px; max-width: 90vw;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  animation: atDrawerIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes atDrawerIn { from { transform: translateX(100%); } to { transform: none; } }
.at-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--at-c-border-light);
}
.at-drawer__title { font-size: 16px; font-weight: 600; }
.at-drawer__close {
  background: transparent; border: none; font-size: 22px; line-height: 1;
  color: var(--at-c-text-mute); cursor: pointer; padding: 0 6px;
}
.at-drawer__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.at-radio-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--at-c-border);
  border-radius: 4px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.at-radio-card:hover { border-color: var(--at-c-primary); }
.at-radio-card input { margin: 0; }
.at-radio-card:has(input:checked) { border-color: var(--at-c-primary); background: #ecf5ff; }
.at-radio-card__title { font-weight: 600; }
.at-radio-card__sub { color: var(--at-c-text-mute); font-size: 12px; margin-top: 2px; }

/* ---------- Editor: prepare / placeholder / drawer hint ---------- */
.at-prepare { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.at-prepare__name { font-weight: 600; flex: 0 0 auto; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-prepare__msg { color: var(--at-c-text-mute); font-size: 13px; flex: 1; }
.at-editor__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; pointer-events: none; color: #fff;
}
.at-editor__placeholder-icon { font-size: 56px; opacity: 0.6; }
.at-editor__placeholder-text { font-size: 13px; opacity: 0.7; margin-top: 4px; }
.at-editor__side-sub { color: var(--at-c-text-mute); font-weight: normal; font-size: 12px; margin-left: 4px; }
.at-drawer__hint { color: var(--at-c-text-mute); font-size: 12px; padding: 6px 0; }

/* ---------- Editor: seg list ---------- */
.at-seg--active { border-color: var(--at-c-primary); background: #ecf5ff; }
.at-seg__head { display: flex; justify-content: space-between; align-items: center; }
.at-seg__title { font-weight: 600; font-size: 13px; }
.at-seg__del {
  background: transparent; border: none; color: var(--at-c-text-mute);
  font-size: 16px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.at-seg__del:hover { color: var(--at-c-danger); }
.at-seg__times { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 6px; align-items: center; }
.at-seg__times > span { font-size: 12px; color: var(--at-c-text-mute); }
.at-seg__fades { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--at-c-text-mute); }
.at-seg__select {
  height: 22px; padding: 0 4px; border: 1px solid var(--at-c-border); border-radius: 3px;
  background: #fff; font-size: 12px;
}

/* ---------- Editor: timeline ranges ---------- */
.at-editor__ranges { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Editor: export result ---------- */
.at-export-result { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.at-export-seg-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--at-c-text-sub); }
.at-export-seg-list li { padding: 4px 0; border-bottom: 1px dashed var(--at-c-border-light); display: flex; justify-content: space-between; align-items: center; }
.at-export-seg-link { font-size: 12px; }
