/* Positions table (scrollable ~5 rows) */
.pp-positions{width:100%;border-collapse:separate;border-spacing:0;margin-top:8px}
.pp-positions th,.pp-positions td{border-bottom:1px solid #f1f5f9;padding:6px 8px;text-align:left;font-size:14px;line-height:20px}
.pp-positions thead{display:table;width:100%;table-layout:fixed}
.pp-positions thead th{position:sticky;top:0;background:#ffffff;z-index:1}
.pp-positions tbody{display:block;max-height:188px;overflow-y:auto}
.pp-positions tbody tr{display:table;width:100%;table-layout:fixed}
.pp-positions tbody tr:last-child td{border-bottom:0}
.pill{display:inline-block;padding:2px 8px;border-radius:999px;border:1px solid #e5e7eb;background:#f8fafc;font-size:12px;margin-left:8px}

/* Section coordinate */
.pp-sec-coord{margin:6px 0 2px 0}

/* Walls repeater */
.pp-walls-repeater{border:1px dashed #e2e8f0;border-radius:10px;padding:10px;margin-top:10px}
.pp-walls-list{display:flex;flex-direction:column;gap:10px}
.pp-wall-block{border:1px solid #e5e7eb;border-radius:10px;padding:8px}
.pp-wall-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pp-wall-coord-wrap select{min-width:72px}
.pp-wall-sample-wrap input{width:160px}
.pp-wall-notes-item{margin-top:6px}
.pp-wall-note{width:100%}
.pp-wall-remove{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:4px 8px;cursor:pointer}
.pp-walls-actions{margin-top:10px}
.pp-wall-add{background:#0ea5e9;color:#fff;border:0;border-radius:8px;padding:6px 10px;cursor:pointer}

/* Recommendations mini-table */
.pp-recs{width:100%; border-collapse:collapse; margin:8px 0 0 0}
.pp-recs th{background:#f8fafc; text-align:left; padding:6px 8px; border:1px solid #e5e7eb; border-bottom:0}
.pp-recs td{padding:6px 8px; border:1px solid #e5e7eb}
.pp-scope-wrap{display:block; margin-top:6px}
.pp-scope-line{display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.pp-num{width:90px}

/* Case Details – Site Conditions */
.pp-case-extras{border:1px solid #e5e7eb;border-radius:10px;padding:10px;margin:10px 0}
.pp-case-extras legend{font-weight:600;color:#334155}
.pp-case-extras .pp-row{margin:6px 0}
.pp-other-wrap{display:inline-flex;align-items:center;margin-left:8px}
.pp-case-extras input[type="text"]{max-width:320px}

/* debug banner */
.fgic-pp-banner{position:fixed;z-index:99999;right:12px;bottom:12px;background:#0ea5e9;color:#fff;padding:8px 10px;border-radius:10px;font:12px/1.2 system-ui}
.fgic-pp-banner button{margin-left:8px;border:0;border-radius:8px;padding:4px 8px;cursor:pointer}