/* Daily Life Doc, round 15 (zone A): Import on the Atlas tab (js/atlas/atlas-import.js). The import's suggestions
   stand on the care pink of every AI suggestion (the "AI" tag), each row laid out like a field of the tab (name
   column, value) on the card's ground, with Apply and Skip at its right. (Add to Atlas in Chat was removed in round
   25, zone C.) */

/* The sheet Import */
.aimp-f { display: flex; flex-direction: column; gap: 10px; }
.aimp-f textarea.ain { max-width: none; min-height: 150px; }
.aimp-pick { display: flex; align-items: center; gap: 10px; min-width: 0; }
.aimp-fn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-xs); color: var(--ink2); }
/* Round 22 (zone I): From Profile, the sheet's first choice when the client's Profile holds something new; the count at
   its right is the count on Import's button. */
.aimp-pro { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px;
  padding: 10px 14px; border: 0; border-radius: 12px; background: var(--care); color: var(--care-d); font: inherit;
  font-size: var(--t-sm); text-align: left; cursor: pointer; transition: filter var(--m-add, .2s) ease; }
.aimp-pro:hover { filter: brightness(.97); }
.aimp-pro b { font-weight: 600; }
.aimp-pro span { min-width: 22px; padding: 1px 8px; border-radius: 9px; background: var(--surface); color: var(--ink); font-size: var(--t-xs);
  text-align: center; }

/* The suggestions on the tab */
.aim { margin: 10px 0 2px; padding: 10px 10px 8px; border-radius: 14px; background: var(--care); color: var(--care-d);
  animation: aim-in var(--m-add, .2s) var(--ease-out, ease); }
@keyframes aim-in { from { opacity: 0; transform: translateY(-4px); } }
.aim-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0 2px 0 4px; font-size: var(--t-sm); }
.aim-t { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.aim-t b { font-weight: 600; }
.aim-h .qw, .aim-w { font-size: var(--t-xs); color: var(--care-d); }
.aim-b { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.aim .pill:not(.dark) { background: var(--surface); color: var(--ink); }
.aim-r { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 6px; padding: 8px 10px;
  border-radius: 10px; background: var(--card); color: var(--ink); transition: opacity var(--m-remove, .18s) ease, transform var(--m-remove, .18s) ease; }
.aim-r.leaving { opacity: 0; transform: translateX(6px); }
.aim-r .an { display: flex; flex-direction: column; font-size: var(--t-sm); color: var(--ink2); line-height: 1.3; }
.aim-r .an small { font-size: var(--t-2xs); color: var(--ink3); }
.aim-r .av { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; font-size: var(--t-s); overflow-wrap: anywhere; }
.aim-new { padding: 1px 8px; border-radius: 7px; background: var(--try-bg); color: var(--try-d); font-size: var(--t-2xs); font-weight: 600; }

@media (max-width: 600px) {
  .aim-r { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .aim-r .aim-b { justify-content: flex-start; margin-top: 4px; }
}

/* The card's head on a phone: Import and Edit go under the name, so the name and the count keep the width. */
@media (max-width: 480px) {
  .ahd { flex-wrap: wrap; row-gap: 6px; }
  .ahd .wt { flex: 1 1 calc(100% - 56px); }
  .ahd [data-imp-open] { margin-left: 52px; }
}
