/* Google Drive hand-off: the "Open from Google Drive" card above Redact's dropzone and the
   "Save to Google Drive" row on the result. Motion reuses kpRise / kpFadeDown (main.css); the
   global reduced-motion block in main.css collapses both. */
.drive-open-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  margin: 0 0 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  animation: kpRise .34s cubic-bezier(.2, .7, .3, 1) both;
}
.drive-open-card.is-leaving { animation: kpFadeDown .18s ease-in both; }
.drive-open-card.is-error { border-color: var(--danger); }
.drive-open-icon { flex: 0 0 auto; display: flex; }
.drive-open-text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.drive-open-text strong { font-size: 15px; }
.drive-open-msg { font-size: 13px; color: var(--text-soft); overflow-wrap: anywhere; }
.drive-open-card.is-error .drive-open-msg { color: var(--text); font-weight: 600; }
.drive-open-btn { flex: 0 0 auto; transition: border-color .15s, box-shadow .15s, transform .15s; }
.drive-open-btn:hover:not(:disabled) { transform: translateY(-2px); }
.drive-open-btn:focus-visible, .drive-save-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.drive-save {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
  animation: kpRise .34s cubic-bezier(.2, .7, .3, 1) both;
}
.drive-save-btn { flex: 0 0 auto; transition: border-color .15s, box-shadow .15s, transform .15s; }
.drive-save-btn:hover:not(:disabled) { transform: translateY(-2px); }
.drive-save-note { font-size: 13px; min-width: 0; flex: 1 1 200px; overflow-wrap: anywhere; }
.drive-save.is-error .drive-save-note { color: var(--text); font-weight: 600; }
@media (max-width: 480px) {
  .drive-open-btn, .drive-save-btn { width: 100%; }
}
