/* Concept A — The Stream. One column, newest first. Nothing is a tile; the only
   emphasis in the page is the amber rule down an item that is waiting on the owner. */

.wrap{max-width:600px;margin:0 auto;padding:0 16px 150px}
.head{padding:22px 2px 10px}
.head h1{font-size:27px;line-height:1.15}
.lede{margin-top:6px;color:var(--dim);font-size:15px}
.lede b{color:var(--text);font-weight:600}

.stream{list-style:none;margin:0;padding:0}
.item{display:grid;grid-template-columns:62px minmax(0,1fr);gap:0 10px;
  padding:16px 0;border-top:1px solid var(--line)}
.item:first-child{border-top:0}
.time{color:var(--faint);font-size:12px;padding-top:3px}
.body{min-width:0}
.tagrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:5px}
.item h2{font-size:17px;line-height:1.3}
.item h2.plain{font-family:var(--sans);font-weight:600;font-size:15.5px;letter-spacing:0}
.when{margin-top:4px;font-size:12.5px;color:var(--accent2)}
.said{margin-top:7px;color:var(--dim);font-size:14.5px;line-height:1.55}
.said.quote{color:var(--dim);border-left:2px solid var(--line2);padding-left:10px}
.item.muted .said{color:var(--faint);font-size:13px}

/* Waiting on the owner: an amber rule and one word. Shape + word + colour, never colour
   alone — and amber is a fill, never small text, on cream. */
.item.needs{position:relative;padding-left:14px}
.item.needs::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;
  border-radius:3px;background:var(--accent)}
.flag{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--on-accent);
  background:var(--accent);border-radius:5px;padding:2px 7px}

.acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px}
/* The third choice is a sentence, not a button: it must not read as a heading when it
   wraps onto its own line under the two that matter. */
.acts .btn.bare{padding:0;font-weight:400;font-size:13.5px;text-decoration:underline;
  text-underline-offset:3px;text-decoration-color:var(--line2);min-height:38px}

.done{grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:14.5px;
  color:var(--good);background:var(--good-tint);border:1px solid var(--good-line);
  border-radius:12px;padding:10px 12px}
.done .tick{font-weight:700}
.done .btn{margin-left:auto;color:var(--dim)}
.item.settled::before{background:var(--good-line)}
.item.settled .body{display:none}

.endline{padding:22px 2px 4px;color:var(--faint);font-size:13px;display:flex;
  align-items:center;gap:8px;flex-wrap:wrap}

/* The line to the staff: one field, always there, nothing else in it. */
.ask{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;gap:8px;
  padding:10px 12px calc(10px + var(--safe-b));background:var(--bg);
  border-top:1px solid var(--line)}
.askin{flex:1;display:flex;align-items:center;background:var(--card);
  border:1px solid var(--line2);border-radius:999px;padding:0 16px;min-height:48px}
.askin input{flex:1;border:0;background:none;outline:none;color:var(--text);
  font:inherit;font-size:16px}
.askin input::placeholder{color:var(--faint)}
.ask .btn{width:48px;padding:0;min-height:48px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.toast{position:fixed;left:50%;bottom:76px;transform:translate(-50%,8px);z-index:50;
  background:var(--text);color:var(--bg);font-size:13.5px;padding:10px 16px;
  border-radius:999px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
.toast.on{opacity:1;transform:translate(-50%,0)}

@media (min-width:720px){
  .wrap{padding-bottom:140px}
  .head{padding-top:34px}
  .head h1{font-size:32px}
  .ask{left:50%;right:auto;transform:translateX(-50%);width:600px;background:transparent;
    border-top:0;padding-bottom:18px}
  .askin,.ask .btn{box-shadow:var(--shadow)}
}
