/* #1129: a platform paused on purpose: the Paused pill and info button on its day-card box and calendar card, the pause dot,
   and the dated note in the Daily log. Every colour and size from the design-system tokens. */
.pz-pill { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; font: 500 var(--fs-micro) var(--mono); color: var(--text); background: var(--x);
  border: var(--bw-chip) solid var(--line); border-radius: var(--r-pill); padding: 1px 8px; line-height: 16px; white-space: nowrap; letter-spacing: 0; }
.pz-pill svg { flex: none; }
/* #1133: one size for every info button on the cards, 22px, centred on its label's line, with an invisible 34px tap area */
.pz-info, .pcal button.pz-info { position: relative; flex: none; display: inline-grid; place-items: center; vertical-align: middle; width: 22px; height: 22px; margin: 0 0 0 6px; padding: 0;
  border-radius: 50%; cursor: pointer; font: 700 var(--fs-label) var(--display); line-height: 1; color: var(--text); background: var(--card); border: var(--bw-chip) solid var(--line); box-shadow: var(--shadow-small); }
.pz-info::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.daycard .dc-grp h4:has(.pz-info), .daycard .dc-g small:has(.pz-info) { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
/* The button is taller than the label's line; pulling it in keeps the label on the same line height as the tiles beside it */
.daycard .dc-g small .pz-info { margin-block: -3px; }
.pz-info:focus-visible { outline: 3px solid var(--pop); outline-offset: 2px; }
.pz-tip { position: fixed; z-index: 50; max-width: min(300px, calc(100vw - 32px)); padding: var(--s2) var(--s3); font-size: var(--fs-small); line-height: 1.4;
  color: var(--text); background: var(--card); border: var(--bw-card) solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); pointer-events: none; }
.pz-tip[hidden] { display: none; }

/* Day card */
.daycard .dc-grp h4 .pz-pill { margin-left: 4px; }
.daycard .dc-g.pz { background: var(--card); border-style: dashed; }
.daycard .dc-g.pz b { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.pz-short { margin: 8px 2px 0; font-size: var(--fs-label); line-height: 1.35; color: var(--text); }

/* Calendar: the pause dot, a hollow dashed circle with two bars, and the pill beside the card's name */
.pc-dots i.pz { position: relative; border: var(--bw-chip) dashed var(--muted); background: var(--card); }
.pc-dots i.pz::before, .pc-dots i.pz::after { content: ""; position: absolute; top: 4px; width: 2px; height: 5px; border-radius: 1px; background: var(--muted); }
.pc-dots i.pz::before { left: 4px; } .pc-dots i.pz::after { right: 4px; }
.pk-top.pz-top { grid-template-columns: auto 1fr; align-items: center; }
.pk-top.pz-top .pk-days { grid-column: 1 / -1; }
.pz-calnote { display: inline-flex; align-items: center; margin-left: 6px; }

/* Daily log */
.dl-items li.pz-li { color: var(--muted); border-style: dashed; }
.pz-lognote { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; padding: 8px 10px; border: var(--bw-chip) dashed var(--line); border-radius: 10px;
  background: color-mix(in srgb, var(--x) 45%, var(--card)); }
.pz-lognote p { margin: 0; font-size: var(--fs-small); line-height: 1.4; }
.pz-lognote .pz-pill { margin-top: 1px; }
/* #1131: the reason a goal was missed. Still a miss: the orange edge that marks a missed day, never the pause look */
.pz-lognote.why-note { background: var(--card); border-color: var(--pop); }
.pz-pill.why-pill { background: var(--card); border-color: var(--pop); }
.why-dot { display: inline-flex; align-items: center; gap: 2px; }
.pcal button.pz-info.why-info { margin: 0; }
@media (max-width: 560px) { .pz-lognote { grid-template-columns: 1fr; } .pz-lognote .pz-pill { justify-self: start; } }
