/* The signed-in editor shares the dashboard's light/dark color tokens. */
.dashboard-tabs { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.dashboard-tabs button { border: 0; background: transparent; color: var(--muted); border-radius: 7px; padding: 8px 17px; cursor: pointer; font: inherit; font-size: 13px; }
.dashboard-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.dashboard-panel[hidden], .video-editor-panel[hidden] { display: none !important; }

.video-editor { --editor-accent: #b18a58; --editor-hover: color-mix(in srgb, var(--ink) 6%, transparent); max-width: 1560px; margin: 0 auto; color: var(--ink); font-size: 13px; }
.video-editor button, .video-editor input { font: inherit; color: inherit; }
.video-editor button { cursor: pointer; }
.video-editor button:disabled { opacity: .3; cursor: default; }
.video-editor :is(button, a, input, [tabindex]):focus-visible { outline: 2px solid var(--editor-accent); outline-offset: 2px; }
.video-editor__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Project bar */
.video-editor__bar { display: flex; align-items: center; gap: 16px; margin: 4px 0 20px; }
.video-editor__title { flex: 1; min-width: 0; max-width: 480px; margin-left: -8px; padding: 6px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent;
  font-size: 22px !important; font-weight: 500; letter-spacing: -.03em; text-overflow: ellipsis; }
.video-editor__title:hover:not(:disabled) { border-color: var(--line); }
.video-editor__title:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.video-editor__bar-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.video-editor__primary { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 9px 18px; border: 0; border-radius: 9px;
  background: var(--ink); color: var(--paper) !important; font-weight: 500; text-decoration: none; white-space: nowrap; }
.video-editor__primary:hover:not(:disabled) { opacity: .88; }
.video-editor__primary .video-editor__icon { width: 16px; height: 16px; }

/* Icon buttons */
.video-editor__tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 34px; height: 34px; padding: 0 8px;
  border: 0; border-radius: 8px; background: transparent; color: var(--ink); white-space: nowrap; }
.video-editor__tool:hover:not(:disabled), .video-editor__tool[aria-pressed="true"] { background: var(--editor-hover); }
.video-editor__tool.has-label { padding: 0 12px 0 10px; }
.video-editor__tool.is-spinning .video-editor__icon { animation: video-editor-spin .9s linear infinite; }
@keyframes video-editor-spin { to { transform: rotate(360deg); } }
.video-editor__text-button { border: 0; background: transparent; color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.video-editor__text-button:hover { color: var(--ink); }

/* Status and errors: a floating stack, so they never push the editor around */
.video-editor__toasts { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: grid; gap: 8px; width: min(520px, calc(100vw - 32px)); transform: translateX(-50%); pointer-events: none; }
.video-editor__notice { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 44px; padding: 6px 8px 6px 16px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); box-shadow: 0 10px 30px rgb(0 0 0 / .14); pointer-events: auto; animation: video-editor-toast .18s ease-out; }
@keyframes video-editor-toast { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .video-editor__notice { animation: none; } }
.video-editor__notice > span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.video-editor__notice progress { flex: 1; min-width: 60px; height: 4px; border: 0; border-radius: 2px; background: var(--line); overflow: hidden; appearance: none; }
.video-editor__notice progress::-webkit-progress-bar { background: var(--line); }
.video-editor__notice progress::-webkit-progress-value { background: var(--editor-accent); transition: width .2s ease; }
.video-editor__notice progress::-moz-progress-bar { background: var(--editor-accent); }
.video-editor__notice.is-error { color: #bd5555; background: color-mix(in srgb, #bd5555 8%, var(--paper)); border-color: color-mix(in srgb, #bd5555 35%, var(--line)); }
.video-editor__notice.is-error > span { flex: 1; white-space: normal; }
.video-editor__notice.is-error .video-editor__tool { color: inherit; margin-left: auto; }
@media (max-width: 480px) {
  .video-editor__notice { flex-wrap: wrap; gap: 4px 12px; }
  .video-editor__notice > span { flex: 1; min-width: 0; white-space: normal; }
  .video-editor__notice progress { order: 1; flex-basis: 100%; }
  .video-editor__notice .video-editor__text-button { min-height: 44px; flex-shrink: 0; }
}

/* Media + preview */
.video-editor__main { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 20px; }
.video-editor__media { display: flex; flex-direction: column; min-width: 0; }
.video-editor__panel-head { display: flex; align-items: center; justify-content: space-between; height: 34px; margin-bottom: 6px; }
.video-editor h2 { margin: 0; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.video-editor__panel-head .video-editor__tool { color: var(--muted); }
.video-editor__media-list { list-style: none; margin: 0 -8px; padding: 0; max-height: 440px; overflow-y: auto; }
.video-editor__media-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; }
.video-editor__media-item:hover:not(:disabled) { background: var(--editor-hover); }
.video-editor__media-text { flex: 1; min-width: 0; }
.video-editor__media-text strong { display: block; overflow: hidden; font-weight: 450; white-space: nowrap; text-overflow: ellipsis; }
.video-editor__media-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.video-editor__media-add { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: var(--muted); }
.video-editor__media-item:hover:not(:disabled) .video-editor__media-add { background: var(--ink); color: var(--paper); }
.video-editor__media-add .video-editor__icon { width: 16px; height: 16px; }
.video-editor__hint { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }

.video-editor__stage { min-width: 0; }
.video-editor__screen { position: relative; display: grid; place-items: center; height: clamp(220px, 34vw, 460px); overflow: hidden; border-radius: 12px; background: var(--soft); }
.video-editor__screen.has-video { background: #000; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.video-editor__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; visibility: hidden; }
.video-editor__screen video.is-visible { visibility: visible; }
.video-editor__empty { display: grid; justify-items: center; gap: 12px; padding: 24px; color: var(--muted); text-align: center; }
.video-editor__empty .video-editor__icon { width: 28px; height: 28px; stroke-width: 1.4; }
.video-editor__empty p { margin: 0; }
.video-editor__transport { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 52px; font-variant-numeric: tabular-nums; }
.video-editor__time > span, .video-editor__resolution { color: var(--muted); }
.video-editor__resolution { text-align: right; font-size: 12px; }
.video-editor__play { width: 42px; height: 42px; border-radius: 50%; }

/* Crop mode: the whole picture with the crop box on top. Outside the box dims; bold corners resize it,
   dragging inside moves it, and a rule-of-thirds grid shows only while adjusting. */
.video-editor__screen.is-cropping { background: #000; cursor: default; }
.video-editor__screen video { transition: none; }
.video-editor__crop { position: absolute; z-index: 2; touch-action: none; }
.video-editor__crop-box { position: absolute; box-sizing: border-box; border: 1px solid rgb(255 255 255 / .9); cursor: move; touch-action: none;
  box-shadow: 0 0 0 100vmax rgb(0 0 0 / .58); }
.video-editor__crop-box:focus-visible { outline: none !important; border-color: var(--editor-accent); }
.video-editor__crop-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .15s ease;
  background:
    linear-gradient(to right, transparent calc(33.333% - .5px), rgb(255 255 255 / .5) calc(33.333% - .5px) calc(33.333% + .5px), transparent calc(33.333% + .5px),
      transparent calc(66.666% - .5px), rgb(255 255 255 / .5) calc(66.666% - .5px) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
    linear-gradient(to bottom, transparent calc(33.333% - .5px), rgb(255 255 255 / .5) calc(33.333% - .5px) calc(33.333% + .5px), transparent calc(33.333% + .5px),
      transparent calc(66.666% - .5px), rgb(255 255 255 / .5) calc(66.666% - .5px) calc(66.666% + .5px), transparent calc(66.666% + .5px)); }
.video-editor__crop-box.is-dragging .video-editor__crop-grid { opacity: 1; }
.video-editor .video-editor__crop-corner { position: absolute; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; touch-action: none; }
.video-editor__crop-corner::before { content: ''; position: absolute; width: 20px; height: 20px; border: 0 solid #fff; filter: drop-shadow(0 0 1px rgb(0 0 0 / .45)); }
.video-editor__crop-corner.is-nw { left: -18px; top: -18px; cursor: nwse-resize !important; }
.video-editor__crop-corner.is-ne { right: -18px; top: -18px; cursor: nesw-resize !important; }
.video-editor__crop-corner.is-sw { left: -18px; bottom: -18px; cursor: nesw-resize !important; }
.video-editor__crop-corner.is-se { right: -18px; bottom: -18px; cursor: nwse-resize !important; }
.video-editor__crop-corner.is-nw::before { left: 15px; top: 15px; border-left-width: 3.5px; border-top-width: 3.5px; }
.video-editor__crop-corner.is-ne::before { right: 15px; top: 15px; border-right-width: 3.5px; border-top-width: 3.5px; }
.video-editor__crop-corner.is-sw::before { left: 15px; bottom: 15px; border-left-width: 3.5px; border-bottom-width: 3.5px; }
.video-editor__crop-corner.is-se::before { right: 15px; bottom: 15px; border-right-width: 3.5px; border-bottom-width: 3.5px; }
.video-editor .video-editor__crop-corner:focus-visible { outline: none; }
.video-editor__crop-corner:focus-visible::before { border-color: var(--editor-accent); }

/* Aspect presets under the preview */
.video-editor__cropbar { display: grid; gap: 6px; padding-top: 10px; }
.video-editor__presets { display: flex; justify-content: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.video-editor__presets::-webkit-scrollbar { display: none; }
.video-editor .video-editor__preset { display: grid; justify-items: center; flex: none; gap: 1px; min-width: 60px; padding: 6px 6px 5px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); line-height: 1.2; }
.video-editor__preset:hover { color: var(--ink); background: var(--editor-hover); }
.video-editor__preset-icon { display: grid; place-items: center; width: 34px; height: 30px; margin-bottom: 2px; border-radius: 8px; transition: background .12s, color .12s; }
.video-editor__preset-icon .video-editor__icon { width: 20px; height: 20px; }
.video-editor__preset-label { font-size: 12px; }
.video-editor__preset small { font-size: 10.5px; opacity: .75; font-variant-numeric: tabular-nums; }
.video-editor__preset[aria-checked="true"] { color: var(--ink); }
.video-editor__preset[aria-checked="true"] .video-editor__preset-icon { background: var(--ink); color: var(--paper); }
.video-editor__preset[aria-checked="true"] .video-editor__preset-label { font-weight: 500; }
.video-editor__crop-actions { display: flex; align-items: center; gap: 6px; height: 44px; font-variant-numeric: tabular-nums; }
.video-editor__crop-actions .video-editor__resolution { flex: 1; text-align: center; }
.video-editor__crop-actions .video-editor__primary { margin-left: 4px; padding: 8px 20px; }
.video-editor__timeline.is-inert { opacity: .45; transition: opacity .15s; }
@media (max-width: 760px) {
  .video-editor__presets { justify-content: flex-start; }
}
.video-editor__play .video-editor__icon { width: 20px; height: 20px; }

/* Timeline */
.video-editor__timeline { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.video-editor__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.video-editor__toolbar.is-empty { visibility: hidden; }
.video-editor__tools, .video-editor__zoom { display: flex; align-items: center; gap: 2px; }
.video-editor__zoom { margin-left: auto; }
.video-editor__divider { width: 1px; height: 18px; margin: 0 6px; background: var(--line); }
.video-editor__range { display: flex; align-items: center; gap: 12px; }
.video-editor__range label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.video-editor__range input { width: 72px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: transparent; font-size: 12px; font-variant-numeric: tabular-nums; }
.video-editor__range input:focus { outline: none; border-color: var(--ink); }

.video-editor__timeline-scroll { max-height: 380px; overflow: auto; padding-bottom: 6px; }
.video-editor__timeline-canvas { position: relative; min-width: 100%; }
.video-editor__ruler { position: sticky; top: 0; z-index: 3; background: var(--paper); height: 24px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; cursor: text; touch-action: none; user-select: none; }
.video-editor__ruler span { position: absolute; top: 0; height: 100%; padding-left: 5px; border-left: 1px solid var(--line); line-height: 14px; }
/* Clips sit at their play-order time; each layer is a visual row (all on one row = a flat strip). */
.video-editor__clips { position: relative; list-style: none; margin: 4px 0 0; padding: 0; transition: height .18s ease; }
.video-editor__clips > li { position: absolute; min-width: 0; height: 72px; padding: 0 1px; box-sizing: border-box; }
.video-editor__new-lane { left: 0; right: 0; display: grid; place-items: center; border: 1.5px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; pointer-events: none; }
.video-editor__clip { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 100%; height: 100%; min-width: 0; padding: 0 14px;
  border: 1px solid transparent; border-radius: 8px; background: var(--soft); text-align: left; cursor: grab !important; }
.video-editor__clip:hover { border-color: var(--line); }
.video-editor__clip:active { cursor: grabbing !important; }
.video-editor__clip strong { overflow: hidden; font-weight: 450; white-space: nowrap; text-overflow: ellipsis; }
.video-editor__clip span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.video-editor__clip span .video-editor__icon { width: 14px; height: 14px; }
.video-editor__clip { position: relative; overflow: hidden; justify-content: flex-start; padding-top: 4px; }
.video-editor__clip-head { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.video-editor__clip-head strong { min-width: 0; }
.video-editor__clip-head > span { flex: none; }
/* Duotone waveform: light grey peaks around a darker average-loudness core, scaled by the gain line. */
.video-editor__wave { position: absolute; left: 0; right: 0; top: 20px; bottom: 3px; width: 100%; height: calc(100% - 23px); pointer-events: none;
  color: color-mix(in srgb, var(--ink) 58%, var(--soft)); }
.video-editor__clips > li.is-selected .video-editor__wave { color: color-mix(in srgb, var(--ink) 62%, var(--paper)); }
.video-editor__gain { position: absolute; left: 1px; right: 1px; z-index: 1; height: 10px; margin-top: -4px; cursor: ns-resize; touch-action: none; }
.video-editor__gain::before { content: ''; position: absolute; left: 8px; right: 8px; top: 4px; height: 2px; border-radius: 1px;
  background: color-mix(in srgb, var(--ink) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--paper) 55%, transparent); transition: background .12s; }
/* Grab knob in the middle of the line, shown on hover, like an event's gain handle. */
.video-editor__gain::after { content: ''; position: absolute; left: 50%; top: 5px; width: 12px; height: 12px; border: 2px solid var(--paper); border-radius: 50%; box-sizing: border-box;
  background: var(--editor-accent); transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .12s, transform .12s; }
.video-editor__clips > li:hover .video-editor__gain::after, .video-editor__gain.is-active::after, .video-editor__gain:focus-visible::after { opacity: 1; transform: translate(-50%, -50%); }
.video-editor__gain:hover::before, .video-editor__gain.is-active::before, .video-editor__gain:focus-visible::before { background: var(--editor-accent); }
.video-editor__gain:focus-visible { outline: none !important; }
.video-editor__gain.is-muted::before, .video-editor__gain.is-muted::after { opacity: .35; }
.video-editor__gain-label { position: absolute; right: 10px; bottom: 100%; margin-bottom: -1px; padding: 2px 6px; border-radius: 5px; background: var(--ink); color: var(--paper);
  font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; }
.video-editor__gain:hover .video-editor__gain-label, .video-editor__gain.is-active .video-editor__gain-label, .video-editor__gain:focus-visible .video-editor__gain-label { opacity: 1; }
.video-editor__gain.is-top .video-editor__gain-label { bottom: auto; top: 100%; margin: 1px 0 0; }
.video-editor__clips.is-reordering .video-editor__gain, .video-editor__clips > li.is-placeholder .video-editor__gain { visibility: hidden; }
.video-editor__clips > li.is-selected .video-editor__clip { border-color: var(--editor-accent); background: color-mix(in srgb, var(--editor-accent) 14%, var(--paper)); }
.video-editor__edge { position: absolute; top: 0; bottom: 0; z-index: 2; width: 10px; padding: 0; border: 0; background: transparent; touch-action: none; cursor: ew-resize !important; opacity: 0; }
.video-editor__edge::after { content: ''; position: absolute; top: 50%; left: 50%; width: 4px; height: 24px; border-radius: 2px; background: var(--editor-accent); transform: translate(-50%, -50%); }
.video-editor__edge--start { left: 1px; }
.video-editor__edge--end { right: 1px; }
.video-editor__clips > li:hover .video-editor__edge, .video-editor__clips > li.is-selected .video-editor__edge, .video-editor__edge:focus-visible { opacity: 1; }
.video-editor__playhead { position: absolute; top: 0; bottom: 0; z-index: 3; width: 2px; margin-left: -1px; background: var(--ink); pointer-events: none; }
.video-editor__playhead::before { content: ''; position: absolute; top: 0; left: -4px; width: 10px; height: 10px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--ink); }
.video-editor__clip { touch-action: pan-y; user-select: none; }
.video-editor__clips > li.is-placeholder .video-editor__clip { border: 1.5px dashed var(--editor-accent); background: color-mix(in srgb, var(--editor-accent) 8%, transparent); }
.video-editor__clips > li.is-placeholder .video-editor__clip > *, .video-editor__clips.is-reordering .video-editor__edge { visibility: hidden; }
.video-editor__ghost { position: fixed; z-index: 50; display: flex; flex-direction: column; justify-content: center; gap: 3px; box-sizing: border-box; padding: 0 14px;
  border: 1px solid var(--editor-accent); border-radius: 8px; background: color-mix(in srgb, var(--editor-accent) 18%, var(--paper));
  box-shadow: 0 12px 28px rgb(0 0 0 / .22); transform: scale(1.03) rotate(-.6deg); pointer-events: none; cursor: grabbing; }
.video-editor__ghost strong { overflow: hidden; font-weight: 450; white-space: nowrap; text-overflow: ellipsis; }
.video-editor__ghost span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.video-editor__snap { position: absolute; top: 0; bottom: 0; z-index: 4; width: 1px; background: var(--editor-accent); pointer-events: none; }
.video-editor__timeline-empty { display: grid; place-items: center; height: 88px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }

@media (max-width: 1100px) {
  .video-editor__toolbar { gap: 8px; }
  .video-editor__range { order: 3; width: 100%; }
}
@media (max-width: 760px) {
  /* Stage first; Media sits above the timeline until the first clip is added, then below it. */
  .video-editor { display: flex; flex-direction: column; }
  .video-editor__main { display: contents; }
  .video-editor__stage { order: 1; }
  .video-editor__media { order: 2; margin-bottom: 4px; }
  .video-editor__timeline { order: 3; }
  .video-editor.has-clips .video-editor__media { order: 4; margin-top: 20px; }
  .video-editor__media-list { max-height: 196px; }
  .video-editor__title { font-size: 18px !important; }
  .video-editor__bar { gap: 8px; }
  .video-editor__primary { margin-left: 4px; padding: 9px 14px; }
  .video-editor__tool.has-label span { display: none; }
  .video-editor__tool.has-label { padding: 0 8px; }
  .video-editor__range { order: 0; width: auto; }
  .video-editor__clip { padding: 0 10px; }
}

.cloud-page .cloud-dashboard-shell:has(.video-editor-panel:not([hidden])) { width: min(1440px, calc(100% - 80px)); }
#dashboard-tabs:empty { display: none; }
@media (max-width: 760px) {
  .cloud-page .cloud-dashboard-shell:has(.video-editor-panel:not([hidden])) { width: calc(100% - 32px); }
  .dashboard-tabs button { padding: 8px 10px; font-size: 12px; }
}

.cloud-page .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.cloud-page .site-header > .brand { justify-self: start; min-width: 0; }
.cloud-page .site-header > #dashboard-tabs { justify-self: center; }
.cloud-page .site-header > nav { grid-column: 3; justify-self: end; display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; }
.cloud-page .site-header .theme-toggle { width: 40px; height: 40px; flex: 0 0 40px; }
.cloud-page .site-header .theme-toggle svg { width: 18px; height: 18px; }
.cloud-page #dashboard-actions { display: inline-flex; align-items: center; }
.cloud-page .dashboard-account { position: relative; }
.cloud-page .dashboard-account__trigger { display: grid; place-items: center; width: 40px; height: 40px; padding: 2px; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.cloud-page .dashboard-account__trigger:hover, .cloud-page .dashboard-account__trigger[aria-expanded="true"] { border-color: var(--line); background: var(--soft); }
.cloud-page .dashboard-account__avatar { position: relative; display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 600; }
.cloud-page .dashboard-account__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cloud-page .dashboard-account__avatar img[hidden] { display: none; }
.cloud-page .dashboard-account__menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: max-content; min-width: 190px; max-width: min(280px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 12px 32px #0002; }
.cloud-page .dashboard-account__logout { display: block; width: 100%; min-height: 44px; padding: 10px; border: 0; border-radius: 7px; background: transparent; color: #b42318; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; text-align: left; }
.cloud-page .dashboard-account__logout:hover { background: #b4231814; }
.cloud-page .dashboard-account__logout:disabled { opacity: .5; cursor: wait; }
:root[data-theme="dark"] .cloud-page .dashboard-account__logout { color: #ff8f84; }
@media (max-width: 520px) {
  .cloud-page .site-header > .brand span { display: none; }
  .dashboard-tabs button { padding-inline: 8px; }
}
@media (max-width: 600px) {
  .cloud-page .site-header { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .cloud-page .site-header > .brand { grid-column: 1; grid-row: 1; }
  .cloud-page .site-header > nav { grid-column: 2; grid-row: 1; }
  .cloud-page .site-header > #dashboard-tabs { grid-column: 1 / -1; grid-row: 2; }
  .cloud-page .dashboard-account__menu { top: calc(100% + 58px); }
}

.video-editor__media-thumbnail { position: relative; display: grid; place-items: center; flex: 0 0 84px; height: 52px; overflow: hidden; border-radius: 6px; background: var(--soft); color: var(--muted); }
.video-editor__hover-preview { position: fixed; z-index: 12000; overflow: hidden; pointer-events: none; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 60px #0004, 0 3px 12px #0002; }
.video-editor__hover-title { box-sizing: border-box; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; }
.video-editor__hover-title strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; }
.video-editor__hover-title .video-editor__icon { flex: 0 0 16px; width: 16px; height: 16px; color: var(--muted); }
.video-editor__hover-picture { display: grid; place-items: center; background: #000; }
.video-editor__hover-picture video { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.video-editor__hover-error { color: #ccc; font-size: 13px; }
