/* ── OCT01_WAITING: WHAT SHE FINISHED WAITS ON TOP (1 Oct 2026) ─────────────────────────────
   Samuel, after @4m.a.r.k never saw the audit she finished three minutes after he left:
   "anything finished and ready for the user appear on top of the board and floating or
   something for the user to feel that it is waiting for him". Two places, one look:
     .pw-strip  the top of the board (#cw-space .pa-wait-slot) - every piece that waits, floating
     #pw-pop    the popup when one lands, wherever they are - then it folds into a small pill
   Her pen for what it is, her serif for what she made, lavender for "ready", her frame round it. */
/* the JS draws nothing until it reads this: a CSS that did not arrive never leaves the strip bare */
:root{--pw-css:1}
.pa-wait-slot:empty{display:none}
/* OCT01_UNDERWORK: on the four board it is the first part of Work - plain rows like Done's, her line under it, no frame */
.cw4-wsub.k-wait{--hue:var(--lav)}
.cw4-wsub.k-wait[hidden],.cw4-sep.k-wait-sep[hidden]{display:none!important}
.pw-strip.pw-four{margin:0;padding:0 2px;--hue:var(--lav)}
.pw-four > .cw4-card{cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none}
.pw-four > .cw4-card:first-child{padding-top:4px}
.pw-four > .cw4-card:focus-visible .cw4-t{text-decoration:underline;text-decoration-color:var(--lav)}
.pw-four .pw-ago,.pw-four .pw-pl{color:var(--mute);font-size:14px;flex:0 0 auto}
.pw-sep{color:var(--mute);flex:0 0 auto;opacity:.7}
.pw-four .cw4-meta > span:first-of-type{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw4-wsub.k-wait:not(.open) .cw4-rest{display:none}
.pw-four > .cw4-more{margin-top:6px}
.pw-strip{position:relative;margin:16px 0 4px;min-width:0;--hue:var(--lav)}
.pw-h{display:flex;align-items:center;gap:9px;margin:0 2px 12px}
.pw-h > svg{flex:0 0 auto;width:21px;height:21px;overflow:visible;color:var(--lav)}
.pw-h > b{font:600 23px/1 var(--pen);color:var(--ink);letter-spacing:.1px;white-space:nowrap}
.pw-n{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 7px;box-sizing:border-box;
  border-radius:11px;background:var(--lav);color:#fff;font:600 11.5px/1 var(--sans);font-style:normal}
.pw-list{display:flex;flex-direction:column;gap:14px}
.pw-strip:not(.open) .pw-rest{display:none}

/* a card: her frame, what it is, one button - still, no glow */
.pw-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"meta act" "t act" "l act";column-gap:22px;align-items:center;
  padding:16px 18px 16px 18px;margin:0;border-radius:14px;background:var(--ground-chat,var(--paper));
  cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;transition:background-color .15s ease}
/* OCT01_CALM (Samuel, 22:32: "it's too much glowing and stuff"): no glow, no float, no ping - her frame and the button */
.pw-card > .hd-ink{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;
  color:var(--lav);opacity:.7}
.pw-card:hover,.pw-card:focus-visible{background-color:color-mix(in srgb,var(--ground-chat,var(--paper)) 94%,var(--lav))}
.pw-meta{grid-area:meta;position:relative;display:flex;align-items:center;gap:8px;min-width:0;margin:0 0 6px;
  font:16px/1.1 var(--pen);color:var(--lav)}
.pw-meta > svg{flex:0 0 auto;width:18px;height:18px;overflow:visible;color:var(--lav)}
.pw-meta > span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pw-dot{flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:var(--lav)}
.pw-ago,.pw-pl{color:var(--mute);font-size:14.5px;flex:0 0 auto}
.pw-t{grid-area:t;position:relative;min-width:0;font:500 19px/1.3 var(--serif);color:var(--ink);letter-spacing:-.15px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pw-l{grid-area:l;position:relative;min-width:0;margin-top:5px;font:13.5px/1.45 var(--sans);color:var(--mute);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pw-act{grid-area:act;position:relative;display:flex;align-items:center;justify-content:flex-end;gap:14px}
.pw-go{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px 0 17px;border:0;
  border-radius:19px;background:var(--lav);color:#fff;font:600 13.5px/1 var(--sans);cursor:pointer;white-space:nowrap;
  transition:filter .13s ease,transform .13s ease}
.pw-go svg{width:16px;height:16px;overflow:visible;display:block}
.pw-go:hover,.pw-go:focus-visible{filter:brightness(1.07);outline:none}
.pw-go:active{transform:scale(.97)}
.pw-lnk{flex:0 0 auto;padding:6px 2px;border:0;background:none;cursor:pointer;white-space:nowrap;
  font:17px/1 var(--pen);color:var(--mute);text-decoration:underline;text-underline-offset:4px;
  text-decoration-color:color-mix(in srgb,var(--lav) 70%,transparent)}
.pw-lnk:hover,.pw-lnk:focus-visible{color:var(--lav);outline:none}
.pw-more{display:inline-block;margin:12px 2px 0;padding:4px 0;border:0;background:none;cursor:pointer;
  font:18px/1 var(--pen);color:var(--mute);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--lav)}
.pw-more:hover,.pw-more:focus-visible{color:var(--lav);outline:none}
.pw-card.going{animation:pwgo .32s ease forwards}

/* the popup: it drops in where they are, floats, then folds into a pill that keeps waiting */
#pw-pop{position:fixed;z-index:880;left:50%;top:var(--pw-top,76px);width:min(470px,calc(100vw - 32px));
  transform:translateX(-50%);pointer-events:none}
#pw-pop[hidden]{display:none}
#pw-pop > *{pointer-events:auto}
#pw-pop .pw-card{animation:pwin .3s ease-out both;background:var(--ground-chat,var(--paper));
  box-shadow:0 10px 28px -14px rgba(0,0,0,.45)}
#pw-pop .pw-x{position:absolute;top:8px;right:8px;z-index:2;width:28px;height:28px;padding:5px;border:0;border-radius:9px;
  background:transparent;color:var(--mute);cursor:pointer}
#pw-pop .pw-x:hover,#pw-pop .pw-x:focus-visible{background:var(--tint);color:var(--ink);outline:none}
#pw-pop .pw-x svg{width:18px;height:18px;overflow:visible;display:block}
#pw-pop .pw-card .pw-meta{padding-right:26px}
.pw-pill{display:none;align-items:center;gap:9px;max-width:100%;margin:0 auto;padding:9px 16px 9px 13px;border:0;border-radius:22px;
  background:var(--ground-chat,var(--paper));color:var(--ink);cursor:pointer;font:15.5px/1.1 var(--pen);
  box-shadow:0 0 0 1.2px color-mix(in srgb,var(--lav) 55%,transparent),0 6px 18px -10px rgba(0,0,0,.4)}
.pw-pill > b{font-weight:600;color:var(--lav);white-space:nowrap}
.pw-pill > span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 14px/1.2 var(--serif);color:var(--ink)}
#pw-pop.mini{width:auto;max-width:min(470px,calc(100vw - 32px))}
#pw-pop.mini .pw-card{display:none}
#pw-pop.mini .pw-pill{display:flex;animation:pwin .25s ease-out both}
#pw-pop.out{animation:pwout .28s ease forwards}

@keyframes pwin{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes pwout{to{opacity:0;transform:translateX(-50%) translateY(-10px)}}
@keyframes pwgo{to{opacity:0;transform:translateY(-8px) scale(.98)}}

@container cw4 (max-width:560px){
  .pw-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"meta" "t" "l" "act";padding:15px 15px}
  .pw-act{justify-content:flex-start;flex-direction:row-reverse;margin-top:13px}
}
@media (max-width:880px){
  #pw-pop{top:calc(env(safe-area-inset-top,0px) + var(--pw-top-m,64px));width:calc(100vw - 24px)}
  #pw-pop .pw-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"meta" "t" "l" "act";padding:15px 15px}
  #pw-pop .pw-act{justify-content:flex-start;flex-direction:row-reverse;margin-top:12px}
  .pw-t{font-size:17.5px}
}
@media (max-width:560px){
  .pw-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"meta" "t" "l" "act";padding:15px 15px}
  .pw-act{justify-content:flex-start;flex-direction:row-reverse;margin-top:13px}
}
@media (prefers-reduced-motion:reduce){
  .pw-card,.pw-pill,#pw-pop .pw-card,#pw-pop.mini .pw-pill,.pw-dot{animation:none!important}
}

/* OCT02_NONOTE (2 Oct 2026, Samuel): no notification containers. The "Ready for
   you" part on the board, its separator, the old strip and the drop-in popup /
   pill (#pw-pop) are all off. Finished work still lives under Work -> Done. */
#pw-pop,.pw-strip,.cw4-wsub.k-wait,.k-wait-sep,.pa-wait-slot{display:none!important}
