/* Upload existing CV: review dialog and drop overlay (Task 19). App UI only. */
.app-import__body { display: flex; flex-direction: column; gap: 10px; }
.app-import__hint { margin: 0; }
.app-import__warn {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px;
  border-radius: var(--ui-radius); background: var(--ui-warn-soft); color: var(--ui-text);
}
.app-import__warn > span { flex: 1; }
.app-import__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; min-height: 0; }
.app-import__left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.app-import__src { width: 100%; height: 56vh; resize: none; white-space: pre; overflow: auto; }
.app-import__notes ul { margin: 0; padding: 0; list-style: none; max-height: 20vh; overflow: auto; }
.app-import__note {
  display: block; width: 100%; padding: 3px 6px; border: 0; border-radius: var(--ui-radius-sm);
  background: none; color: var(--ui-warn); font: inherit; font-size: var(--ui-size-sm); text-align: left; cursor: pointer;
}
.app-import__note:hover { background: var(--ui-warn-soft); }
.app-import__note:focus-visible { outline: none; box-shadow: var(--ui-focus); }
.app-import__preview { min-width: 0; height: calc(56vh + 30px); padding: 12px; overflow: auto; border-radius: var(--ui-radius); background: var(--ui-desk); }
.app-import__frame { overflow: hidden; }
.app-import__host { transform-origin: top left; }
@media (max-width: 899px) {
  .app-import__grid { grid-template-columns: minmax(0, 1fr); }
  .app-import__src { height: 40vh; }
  .app-import__preview { height: 50vh; }
}

.app-drop {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: rgb(0 0 0 / 0.35); pointer-events: none;
}
.app-drop[hidden] { display: none; }
.app-drop__msg {
  margin: 0; padding: 28px 40px; border: 2px dashed var(--ui-accent); border-radius: 12px;
  background: var(--ui-surface); color: var(--ui-text); font-size: 16px; font-weight: 600; box-shadow: var(--ui-shadow);
}
