/* The garden assistant: positions, asks, and the ask page. */
.ask-list .btn { flex: none; }
.ask-h { font-size: 1rem; margin: .4rem 0 .2rem; }
.ask-items { margin: 0; padding-inline-start: 1.4rem; display: grid; gap: .25rem; font-variant-numeric: tabular-nums; }
.ask-note { margin: .2rem 0 0; white-space: pre-wrap; }
.ask-form textarea { width: 100%; }
.ask-form .row-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
li.ask-stuck .row-meta:last-child { color: var(--amber); }

.pos-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.pos { background: var(--surface); border: 1px solid var(--card-edge); border-radius: 12px; padding: .9rem 1rem; display: grid; gap: .5rem; }
.pos-head { display: flex; gap: .75rem; align-items: flex-start; flex-wrap: wrap; }
.pos-head > .grow { flex: 1 1 18rem; min-width: 0; }   /* the "We have this position" tick lines up on the right */
.pos-title { margin: 0; font-size: 1.05rem; }
.pos-people { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.pos-label { color: var(--muted); font-size: .9rem; min-width: 4.5rem; }
.pos-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .65rem; border-radius: 999px; background: var(--fill); }
.pos-x { border: 0; background: none; cursor: pointer; font-size: 1.05rem; line-height: 1; padding: 0 .15rem; color: inherit; min-width: 24px; min-height: 24px; }
.pos-add { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.pos-people > .pos-add { flex-basis: 100%; }
.pos-open { min-height: 44px; padding-inline: .25rem; }
.pos-add input[type=text] { flex: 1 1 12rem; max-width: 20rem; }
.ask-list .row-meta, .ask-rows .row-meta, .pos-duties .row-meta { display: block; }
.pos-add input[type=text] { padding-block: .45rem; }
.pos-jobs summary { font-size: .95rem; }
.pos-new { margin-top: .75rem; }
.needs-role { font-weight: 600; }
.me-role { padding: .2rem 0; }
.me-role + .me-role { border-top: 1px solid var(--card-edge); }
/* The job editor: the job's name on its own line, how often and remove under it (phones too narrow for one row) */
.pos-jobs .row-split:has(select) { flex-wrap: wrap; row-gap: .35rem; }
.pos-jobs .row-split:has(select) > .grow { flex: 1 1 100%; }
.pos-jobs .row-split select { flex: 1 1 auto; width: auto; max-width: 16rem; }
.pos-jobs .pos-x { min-width: 44px; min-height: 44px; }
.pos-job-new select { flex: 0 1 12rem; width: auto; }
.me-role-h { margin: .75rem 0 .1rem; }
.me-role .row-meta { display: block; }
/* Positions holds who does what (2026-11-10): whether the holders can open the area's pages, its handover notes,
   the reminder emails, and the one-line note for positions nobody holds (the same look as on the plan). */
.pos-access { margin: 0; font-size: .95rem; padding: .45rem .7rem; border-radius: var(--r-ctl); background: var(--amber-soft); }
.pos-access a { font-weight: 600; white-space: nowrap; }
.pos-access.ok { display: flex; align-items: center; gap: .35rem; padding: 0; background: none; color: var(--muted); }
.pos-access.ok svg { width: 1rem; height: 1rem; flex: none; fill: none; stroke: var(--tint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pos-handover { margin: 0; }
.pos-handover .chev { font-size: .95rem; }
#pos-emails .pl-setting select { max-width: 16rem; }
#pos-emails .pl-checkhelp { display: block; margin: .15rem 0 0; }
.pl-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin: 0 0 1.25rem; padding: .65rem .95rem;
  border-radius: var(--r-ctl); background: var(--amber-soft); color: var(--ink); font-size: .95rem; }
.pos .pl-nobody { color: var(--muted); font-size: .9rem; }
