/* The posting list that floats beside Facebook Marketplace and Craigslist (web/post-helper.js). It is drawn in its own
 * small window, which takes the app's style sheets, so it uses the app's tokens and type scale like any screen. */
.ph-body{margin:0;background:var(--surface);color:var(--ink);font-size:var(--fs-body);line-height:var(--lh-body)}
.ph{display:flex;flex-direction:column;gap:10px;padding:14px 14px 18px;min-height:100vh;box-sizing:border-box}
.ph-head{display:flex;align-items:center;gap:10px}
.ph-mark{width:28px;height:28px;flex:none}
.ph-names{display:flex;flex-direction:column;min-width:0}
.ph-names strong{font-size:var(--fs-lead);line-height:var(--lh-lead);font-weight:600;color:var(--navy)}
.ph-names span{font-size:var(--fs-small);line-height:var(--lh-small);color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ph-note{margin:0;font-size:var(--fs-small);line-height:var(--lh-small);color:var(--muted)}
.ph-actions{display:flex;flex-direction:column;gap:8px;position:sticky;top:0;z-index:1;padding:6px 0;background:var(--surface)}
.ph-actions .button{width:100%;min-height:var(--control-height);font-size:var(--fs-body);line-height:var(--lh-body);font-weight:600}
.ph-next:not(:disabled){border-color:#0b568f;color:#0b568f}
.ph-status{margin:0;padding:8px 10px;border-radius:8px;background:var(--surface-soft);font-size:var(--fs-small);line-height:var(--lh-small);color:var(--ink)}
.ph-status.is-success{background:color-mix(in srgb,var(--green) 14%,transparent)}
.ph-status.is-warning{background:color-mix(in srgb,var(--amber) 18%,transparent)}
.ph-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.ph-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;grid-template-areas:"n label copy" "n value copy";column-gap:10px;row-gap:2px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.ph-row:not(.ph-kind-text),.ph-row:has(.ph-answer){grid-template-areas:"n label label" "n answer answer"}
.ph-n{grid-area:n;align-self:start;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:var(--fs-micro);line-height:var(--lh-micro);font-weight:600}
.ph-label{grid-area:label;display:flex;flex-direction:column;font-size:var(--fs-small);line-height:var(--lh-small);font-weight:600;color:var(--ink)}
.ph-label small{font-size:var(--fs-micro);line-height:var(--lh-micro);font-weight:400;color:var(--muted)}
.ph-value{grid-area:value;font-family:inherit;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ph-value.is-long{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ph-copy{grid-area:copy}
.ph-answer{grid-area:answer;font-size:var(--fs-small);line-height:var(--lh-small);color:var(--muted)}
.ph-answer.is-missing{color:var(--red);font-weight:600}
.ph-answer strong{color:var(--ink);font-weight:600}
.ph-row.is-current{border-color:#0b568f;box-shadow:0 0 0 2px color-mix(in srgb,#0b568f 24%,transparent)}
.ph-row.is-current .ph-n{background:#0b568f;color:#fff}
.ph-row.is-done .ph-n{background:color-mix(in srgb,var(--green) 22%,transparent);color:var(--ink)}
.ph-row.is-done .ph-value{color:var(--muted)}
.ph-foot{display:flex;flex-direction:column;gap:8px;align-items:flex-start;margin-top:4px}
.ph-fine{margin:0;font-size:var(--fs-micro);line-height:var(--lh-micro);color:var(--muted)}
