.job-share-actions{position:relative;z-index:2;border-top:1px solid var(--studio-line);padding:12px 16px;display:flex;align-items:center;justify-content:flex-end;background:#fffefa}.video-share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fffefa;border:1px solid #ded9cd;border-radius:7px;padding:9px 15px;font:500 12px DM,Arial,sans-serif;color:#3c3d32;cursor:pointer}.video-share-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.video-share-button:hover:not(:disabled){background:#f8ece2;border-color:#e2af8c;color:#a84923}.video-share-button:disabled{color:#8c8e81;opacity:.6;cursor:default}.generation-actions .video-share-button{padding:12px 18px;min-width:115px}

/* Compact sharing dialog */
.share-dialog {
  width:calc(100vw - 32px);
  max-width:460px;
  max-height:calc(100dvh - 32px);
  padding:24px;
  overflow:auto;
}
.share-dialog .dialog-heading {margin-bottom:8px;gap:16px}
.share-dialog .dialog-heading h2 {margin:0;font-size:25px;letter-spacing:-.8px}
.share-dialog .close-dialog {width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;padding:0}
.share-video-heading {display:flex;align-items:baseline;gap:12px;margin-bottom:20px}
.share-video-heading h3 {min-width:0;flex:1;margin:0;font-size:13px;font-weight:500;letter-spacing:0;color:#737767;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-video-heading #share-version {flex-shrink:0;font-size:10px;color:#909283}
.share-caption-label {display:block;font-size:11px;color:#727565;margin-bottom:7px}
.share-dialog textarea.share-caption {
  display:block;
  width:100%;
  height:84px;
  min-height:84px;
  max-height:180px;
  margin:0 0 18px;
  padding:10px 12px;
  background:#fffefa;
  border:1px solid #e2dfd4;
  border-radius:9px;
  font-size:12px;
  line-height:1.6;
  resize:vertical;
}
.share-platforms {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:20px}
.share-platforms a {height:48px;display:grid;place-items:center;border:1px solid #e2dfd4;border-radius:11px;background:#fffefa}
.share-platforms a:hover {background:#f5f2e8;border-color:#c9c3b5}
.share-social-icon {width:24px;height:24px;display:grid;place-items:center;color:#555b49}
.share-dialog .share-social-icon svg {fill:currentColor;stroke:none;width:22px;height:22px}
.share-x {color:#21221d}
.share-linkedin {color:#0a66c2}
.share-facebook {color:#1877f2}
.share-whatsapp {color:#21834a}
.share-telegram {color:#1682b1}
.share-dialog .share-email svg {fill:none;stroke:currentColor}
.share-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px}
.share-actions button,.share-actions a {
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px;
  border:1px solid #e2dfd4;
  border-radius:8px;
  background:#fffefa;
  color:#4e5342;
  font:500 12px DM,Arial,sans-serif;
  white-space:nowrap;
}
.share-actions #share-copy {background:#ff6a24;border-color:#ed6124;color:#241e18}
.share-actions #share-copy:hover {background:#ff783a}
.share-actions .share-download:hover {background:#f5f2e8;border-color:#c9c3b5}
.share-dialog .share-actions svg,.share-footer svg {width:16px;height:16px;flex-shrink:0}
.share-footer {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid #e3dfd4}
.share-access-note {font-size:10px;color:#898c7c}
.share-footer button {display:flex;align-items:center;gap:6px;font:400 10px DM,Arial,sans-serif;border:0;background:none;padding:7px 0;color:#7b7e6e}
.share-footer button:hover {color:#9d4928}
.share-footer #share-revoke {margin-left:auto}
.share-loading {height:96px;display:grid;place-items:center}
.share-loading-spinner {width:23px;height:23px;border-radius:50%;border:2px solid #e6dfcf;border-top-color:#f56a28;animation:studio-spin .7s linear infinite}
.share-dialog .sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.share-dialog #share-copy-fallback {width:100%;margin-top:12px;font-size:12px;line-height:1.6}
.share-dialog #share-retry {margin-top:15px}
.share-dialog [hidden] {display:none!important}
@media(max-width:600px) {
  .share-dialog {padding:22px 20px;border-radius:14px}
  .share-dialog .dialog-heading h2 {font-size:24px}
  .share-platforms {gap:6px}
  .share-platforms a {height:46px}
  .share-dialog textarea.share-caption {padding:10px}
  .share-actions {gap:8px}
  .share-actions button,.share-actions a {font-size:11px;padding:10px 8px}
}
@media(max-width:350px) {
  .share-platforms {grid-template-columns:repeat(3,minmax(0,1fr))}
  .share-actions {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {.share-loading-spinner {animation:none}}
