/* Daily Life Doc, round 52 (zone D; the page "How the AI Helps", version 5, part 8 and cards b and p; decisions 14
   and 26): the one Publish list by sections in the Publish sheet (js/plan/plan-publish-list.js sheetHtml): the
   check-ins line (tapped open: each check-in's questions), Done, Kept as Rules, Added, Changed, Removed, Kept (a removal
   nobody asked for stands here with Remove, fixer FX1), Paused by the client (Resume), Waits. The rows reuse .publr and .publm of
   css/plan-goals.css; tokens from css/base.css. */
.publ.pbs { gap: 10px; }
.pbs-c { border-radius: 10px; background: var(--soft); font-size: var(--t-s); color: var(--ink2); }
.pbs-c summary { padding: 9px 12px; list-style: none; cursor: pointer; border-radius: 10px; transition: background-color var(--m-step, 160ms) ease; }
.pbs-c summary::-webkit-details-marker { display: none; }
.pbs-c summary:hover { background: var(--field); }
.pbs-c b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pbs-c[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pbs-ci { padding: 2px 12px 10px; }
.pbs-cih { margin: 4px 0 4px; font-size: var(--t-2xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.pbs-ci ol { margin: 0; padding-left: 20px; display: grid; gap: 3px; color: var(--ink); }
.pbs-ci li::marker { color: var(--sage-d); font-weight: 600; }
.pbs-g { color: var(--ink3); }
.pbs-s { display: grid; gap: 4px; }
.pbs-h { font-size: var(--t-2xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.publr.pbs-r { grid-template-columns: 16px minmax(0, 1fr) auto; align-items: start; }
.pbs-t { display: flex; flex-direction: column; min-width: 0; }
.pbs-t small { font-size: var(--t-xs); line-height: 1.4; }
.pbs-sub { color: var(--ink2); }
.pbs-nobody small { color: var(--ink2); }
.pbs-p .publm { color: var(--bad-d); }
.pbs-b { align-self: center; padding: 2px 10px; border: 0; border-radius: 999px; background: var(--field); color: var(--ink); font: inherit; font-size: var(--t-xs);
  font-weight: 500; cursor: pointer; transition: background-color var(--m-step, 160ms) ease, transform var(--m-press, 100ms) ease; }
.pbs-b:hover { background: color-mix(in srgb, var(--sage) 22%, var(--field)); }
.pbs-b:active { transform: scale(.97); }
.pbs-b:disabled { opacity: .6; cursor: default; }
/* Round 53 (zone P, C15): a line the AI wrote says so. */
.pbs-ai { display: inline-block; margin-left: 7px; padding: 0 6px; border-radius: 6px; background: var(--field); color: var(--ink3); font-size: var(--t-2xs); font-weight: 600; line-height: 16px; vertical-align: 1px; }
/* Round 53 (zone P, C14): at a phone width Publish and Cancel stay on screen above the long list. */
@media (max-width: 640px) {
  .sheet.pubsheet { padding-bottom: 0; }
  .sheet.pubsheet .sh-actions { position: sticky; bottom: 0; z-index: 3; margin: 12px -18px 0; padding: 10px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -1px 0 var(--cardline); }
}
