/* Daily Life Doc, round 28 (zone C1); round 30 (zone IF): the row "Uses" under a client's plan head
   (js/plan/plan-uses.js: the instructions and apps the plan uses, and the items made for the client, as the same small
   pills a line draws for "@", + Add with its menu of instructions), an instruction's sheet and Run now's answers
   (js/plan/plan-skill.js: .psk-*), and what changed under each version row (js/plan/plan-vers.js: .pvc).
   The plan's type scale (css/plan.css); tinted, no borders. */
.puses { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 10px; padding: 6px 6px 4px; }
.puses[hidden] { display: none; }
.pu-l { font-size: var(--t-xs); font-weight: 600; color: var(--ink3); line-height: 24px; }
.pu-c { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.kref.pu { padding: 0; margin: 0; line-height: 24px; user-select: none; max-width: 100%; transition: opacity var(--m-remove, .16s) ease, transform var(--m-remove, .16s) ease; animation: dd-rise .22s var(--ease-out) both; }
.kref.pu.leaving { opacity: 0; transform: scale(.94); }
.pu-o { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; padding: 0 9px; color: inherit; font: inherit; cursor: pointer; border-radius: 7px; }
.pu-o:active { transform: scale(.97); }
.pu-o:focus-visible { outline: 2px solid var(--sage); outline-offset: 1px; }
.pu-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pu-m { font-size: var(--t-2xs); font-weight: 500; opacity: .7; }
.kref.pu.k-skill { background: var(--app2, var(--soft)); color: var(--ink2); }
/* Fixer FX5: a skill's words, "Running…" and "Ready" share one slot in the pill (as wide as the widest), so Run now
   never moves the pills after it; only one of the three shows. */
.pu-slot { display: inline-grid; min-width: 0; text-align: left; }
.pu-slot > * { grid-area: 1 / 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pu-slot .pu-s { visibility: hidden; padding: 0; font-size: inherit; }
.pu-slot.is-run .pu-n, .pu-slot.is-ready .pu-n { visibility: hidden; }
.pu-slot.is-run .pu-run, .pu-slot.is-ready .pu-ready { visibility: visible; }
.pu-ready { font-weight: 600; color: var(--sage-d); }
.pill.sm.pu-add { padding: 2px 11px; font-size: var(--t-xs); line-height: 20px; }
.pu-br { flex-basis: 100%; height: 0; } /* the menu starts its own line */
.pu-menu { margin-left: 42px; }
.ch.pu-pick { display: inline-flex; align-items: center; gap: 5px; }
.ch.pu-pick svg { width: 12px; height: 12px; opacity: .7; }
@media (max-width: 480px) { .pu-menu { margin-left: 0; } }

/* An instruction's sheet: its text (read only), and the answers of Run now (Done, Waits for Publish). */
.psk { display: flex; flex-direction: column; gap: 14px; padding: 2px 0 6px; }
.psk-r { display: flex; flex-direction: column; gap: 4px; }
.psk-l { font-size: var(--t-xs); font-weight: 600; color: var(--ink3); }
.psk p { margin: 0; font-size: var(--t-s); line-height: 1.5; color: var(--ink); }
.psk-tx { padding: 12px 14px; border-radius: 12px; background: var(--field); display: flex; flex-direction: column; gap: 6px; }
.psk-tx p { overflow-wrap: anywhere; }
.psk-day { align-self: flex-start; font-size: var(--t-2xs); font-weight: 600; color: var(--ink2); }
.psk-none { margin: 0; color: var(--ink3); font-size: var(--t-s); }
.psk-ch { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.psk-ch li { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 12px; background: var(--field); font-size: var(--t-s); line-height: 1.5;
  animation: dd-rise .22s var(--ease-out) both; }
.psk-old { color: var(--ink3); }
.psk-new { color: var(--ink); }
.psk-why { font-size: var(--t-xs); color: var(--ink2); }
.psk-tag { align-self: flex-start; font-size: var(--t-2xs); font-weight: 600; color: var(--sage-d); background: var(--soft); border-radius: 6px; padding: 1px 7px; }
.psk-tag.off { color: var(--ink3); }
.psk-msgs { display: flex; flex-direction: column; gap: 8px; padding-bottom: 4px; }
.psk-msg { font: inherit; font-size: var(--t-s); line-height: 1.5; color: var(--ink); background: var(--field); border: 0; border-radius: 14px; padding: 10px 14px; resize: none; overflow: hidden; width: 100%; outline: none; }
.psk-msg:focus { box-shadow: 0 0 0 2px var(--sage); }

/* Versions: what changed under each version row, and why. */
.pvc { padding: 0 4px 10px; border-bottom: 1px solid var(--cardline); margin-top: -2px; }
.plver:has(+ .pvc) { border-bottom: 0; }
.pvc-why { margin: 0 0 4px; font-size: var(--t-xs); color: var(--ink2); }
.pvc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--t-xs); line-height: 1.5; color: var(--ink2); }
.pvc li { overflow-wrap: anywhere; }
.pvc s { color: var(--ink3); }
.pvc-k { color: var(--ink3); font-weight: 600; margin-right: 6px; }
.pvc li.pvc-e { display: flex; flex-direction: column; }
.pvc-to { margin-right: 6px; color: var(--ink3); }
.pvc-more { color: var(--ink3); }
