.ph-listing,.ph-card { padding: 18px; }
.ph-listing { border-top:1px solid var(--line); }
.ph-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:.5rem; }
.ph-heading h2,.ph-heading h3 { font-size:1.08rem; }
.ph-heading p,.ph-summary,.ph-section p,.ph-msg,.ph-empty { color:var(--muted); }
.ph-summary { font-size:.9rem; }
.ph-button { border:1px solid var(--line); border-radius:.5rem; padding:.35rem .8rem; color:var(--deep); background:white; }
.ph-button:hover,.ph-button[aria-pressed="true"] { background:var(--wash); }
.ph-note,.ph-section form { margin: .65rem 0; display:grid; gap:.6rem; }
.ph-note label,.ph-section label { display:grid; gap:.2rem; font-size:.9rem; }
.ph-note button,.ph-section form button { justify-self:start; }
.ph-note textarea,.ph-section input,.ph-section select,.ph-section textarea { font:inherit; color:var(--ink); width:100%; padding:.42rem; border:1px solid var(--line); border-radius:.4rem; background:white; }
.ph-section { margin-top:.7rem; padding-top:.65rem; border-top:1px solid var(--line); font-size:.91rem; }
.ph-section summary { cursor:pointer; color:var(--deep); }
.ph-section ul { margin:0; padding-left:1.3rem; }
.ph-section h4 { margin:.6rem 0 .15rem; }
.ph-section li { overflow-wrap:anywhere; margin:.3rem 0; }
.ph-section small,.ph-table small { display:block; font-size:.8rem; color:var(--muted); }
.ph-msg:not(:empty) { margin-top:.6rem; }
.ph-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:1rem; margin:1rem 0; align-items:start; }
.ph-table-wrap { overflow:auto; max-width:100%; }
.ph-table { border-collapse:collapse; min-width:100%; width:max-content; text-align:left; }
.ph-table th,.ph-table td { padding:.55rem .9rem; border-bottom:1px solid var(--line); max-width:260px; overflow-wrap:anywhere; }
.ph-table th { background:var(--wash); }
.ph-table tbody th { position:sticky; left:0; min-width:8rem; }
.ph-empty { padding:1rem; }
