/* Disputes D3a: public list (disputes.php) and dispute page (dispute.php). Dark by default; light mode follows body.light. */
.dp-main{max-width:1180px;margin:0 auto;padding:24px 20px 40px;box-sizing:border-box}
.dp-kicker{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--green,#00c878)}
.dp-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:16px}
.dp-head h1,.dp-page-head h1{margin:0 0 6px;font-size:28px;line-height:1.25;overflow-wrap:anywhere}
.dp-head p{margin:0;max-width:720px;color:var(--muted,#abc0b3);line-height:1.55}
.dp-button{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:9px;background:var(--green,#00c878);color:#06130c;font-weight:700;text-decoration:none;border:1px solid var(--green,#00c878);cursor:pointer;font:inherit;font-weight:700;white-space:nowrap}
.dp-button.dp-secondary{background:transparent;color:inherit;border-color:var(--line,#30483b)}
.dp-groups{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.dp-group{padding:7px 14px;border:1px solid var(--line,#30483b);border-radius:999px;text-decoration:none;color:inherit;font-size:14px}
.dp-group b{margin-left:4px;color:var(--muted,#abc0b3)}.dp-group.on{border-color:var(--green,#00c878);background:rgba(0,216,121,.1)}.dp-group.on b{color:var(--green,#00c878)}
.dp-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--line,#30483b);border-radius:12px;background:var(--panel,#121d17)}
.dp-filter label{display:flex;flex-direction:column;gap:4px;margin:0;font-size:12px;color:var(--muted,#abc0b3)}.dp-filter .dp-grow{flex:1 1 240px}
.dp-filter input,.dp-filter select{width:100%;box-sizing:border-box;padding:8px 10px;border-radius:8px;border:1px solid var(--line,#30483b);background:var(--bg,#0d1511);color:inherit;font:inherit}
.dp-clear{font-size:13px;color:var(--muted,#abc0b3);align-self:center}
.dp-scope{margin:0 0 12px;font-size:14px;color:var(--muted,#abc0b3)}
.dp-list{display:grid;gap:10px}
.dp-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:center;padding:14px 16px;border:1px solid var(--line,#30483b);border-radius:12px;background:var(--panel,#121d17);text-decoration:none;color:inherit}
.dp-row:hover,.dp-row:focus-visible{border-color:var(--green,#00c878)}
.dp-row-title{font-weight:700;overflow-wrap:anywhere}.dp-row-meta{grid-column:2;font-size:13px;color:var(--muted,#abc0b3)}
.dp-chip{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.dp-grey{background:rgba(255,255,255,.07);color:var(--muted,#abc0b3)}.dp-amber{background:rgba(242,184,75,.15);color:#f2b84b}.dp-blue{background:rgba(74,163,255,.15);color:#8fc3ff}.dp-green{background:rgba(0,216,121,.14);color:var(--green,#00c878)}.dp-red{background:rgba(217,83,79,.15);color:#ff8a8e}
.dp-left{color:var(--muted,#abc0b3);font-size:13px}.dp-left.soon{color:#f2b84b;font-weight:700}
.dp-empty{padding:22px;border:1px dashed var(--line,#30483b);border-radius:12px;color:var(--muted,#abc0b3);text-align:center}
.dp-more-wrap{text-align:center;margin:14px 0 0}.dp-more{display:inline-block;padding:9px 22px;border:1px solid var(--line,#30483b);border-radius:9px;color:inherit;text-decoration:none;font-weight:700}.dp-more:hover{border-color:var(--green,#00c878)}
.dp-note{margin:16px 0 0;font-size:12px;color:var(--muted,#abc0b3)}
.dp-crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:var(--muted,#abc0b3);margin-bottom:12px}.dp-crumbs a{color:inherit}
.dp-private-note{margin:0 0 14px;padding:12px 14px;border:1px solid #f2b84b;border-radius:10px;background:rgba(242,184,75,.08)}
.dp-page-head{margin-bottom:14px}.dp-status-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px}.dp-sub{margin:0;font-size:13px;color:var(--muted,#abc0b3)}
.dp-columns{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}
.dp-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;margin-bottom:14px}
.dp-facts>div{padding:9px 12px;border:1px solid var(--line,#30483b);border-radius:10px;background:var(--panel,#121d17);overflow-wrap:anywhere}
.dp-facts small{display:block;font-size:11px;color:var(--muted,#abc0b3);margin-bottom:2px}.dp-facts a{color:var(--green,#00c878)}
.dp-score{display:inline-block;margin-left:4px;padding:1px 7px;border-radius:6px;font-size:12px;background:rgba(0,216,121,.12);color:var(--green,#00c878)}
.dp-invite{margin:0 0 14px;padding:14px 16px;border:1px solid #f2b84b;border-radius:12px;background:rgba(242,184,75,.07)}.dp-invite h2{margin:0 0 6px;font-size:17px}.dp-invite p{margin:0 0 10px;color:var(--muted,#abc0b3)}
.dp-thread h2,.dp-box h2{margin:0 0 10px;font-size:18px}
.dp-post{padding:14px 16px;border:1px solid var(--line,#30483b);border-radius:12px;background:var(--panel,#121d17);margin-bottom:10px;border-left-width:4px}
.dp-role-complainant{border-left-color:#4aa3ff}.dp-role-project{border-left-color:#f2b84b}.dp-role-mediator,.dp-role-staff{border-left-color:var(--green,#00c878)}
.dp-post-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13px;color:var(--muted,#abc0b3);margin-bottom:6px}.dp-post-head strong{color:inherit;color:var(--text,#e8f2ec)}
.dp-lock-chip{padding:1px 8px;border-radius:999px;background:rgba(255,255,255,.07);font-size:12px}
.dp-post-body p{margin:0 0 10px;line-height:1.6;overflow-wrap:anywhere}.dp-post-body p:last-child{margin-bottom:0}
.dp-locked,.dp-removed{margin:0;font-style:italic;color:var(--muted,#abc0b3)}
.dp-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.dp-img{position:relative;display:flex;align-items:center;justify-content:center;width:132px;height:96px;border:1px solid var(--line,#30483b);border-radius:9px;overflow:hidden;background:#0b120e;color:var(--muted,#abc0b3);font-size:12px;text-decoration:none}
.dp-img img{width:100%;height:100%;object-fit:cover;display:block}.dp-img span{position:absolute;left:5px;bottom:5px;padding:1px 6px;border-radius:6px;background:rgba(0,0,0,.72);color:#fff;font-size:11px}
.dp-img-locked{border-style:dashed}
.dp-side{display:grid;gap:12px;padding:0;margin:0;position:static;border:0;background:none}.dp-box{padding:14px 16px;border:1px solid var(--line,#30483b);border-radius:12px;background:var(--panel,#121d17);font-size:14px;line-height:1.7}.dp-box a{color:var(--green,#00c878)}
.dp-log{list-style:none;margin:0;padding:0;font-size:13px}.dp-log li{padding:5px 0;border-top:1px dashed var(--line,#30483b)}.dp-log li:first-child{border-top:0}.dp-log span{color:var(--muted,#abc0b3)}
.dp-steps{margin:0;padding-left:18px;font-size:13px;color:var(--muted,#abc0b3);line-height:1.6}.dp-steps li{margin-bottom:4px}
/* D5a: outcome */
.dp-outcome{margin:0 0 14px;padding:14px 16px;border:1px solid var(--line,#30483b);border-left:4px solid var(--green,#00c878);border-radius:12px;background:var(--panel,#121d17)}.dp-outcome h2{margin:0 0 4px;font-size:17px}.dp-outcome p{margin:6px 0 0;line-height:1.6;overflow-wrap:anywhere}
.dp-outcome-unresolved,.dp-outcome-against{border-left-color:#d9534f}.dp-outcome-flag{color:#ff8a8e;font-weight:700}.dp-outcome-flag a{color:inherit}
body.light .dp-outcome-flag{color:#b3261e}
/* D3b: summary, notices, reply box */
#dp-latest{display:block;scroll-margin-top:240px}.dp-toast{margin:0 0 12px;padding:10px 14px;border:1px solid var(--green,#00c878);border-radius:10px;background:rgba(0,216,121,.08)}
.dp-summary{margin:0 0 14px;padding:14px 16px;border:1px solid rgba(0,216,121,.45);border-radius:12px;background:rgba(0,216,121,.06)}.dp-summary h2{margin:0 0 6px;font-size:15px;color:var(--green,#00c878)}.dp-summary p{margin:0 0 8px;line-height:1.6;overflow-wrap:anywhere}.dp-summary p:last-child{margin:0}
.dp-staff-link{margin:0 0 12px;font-size:13px}.dp-staff-link a{color:var(--green,#00c878)}
.dp-reply{margin-top:16px;padding:16px;border:1px solid var(--line,#30483b);border-radius:12px;background:var(--panel,#121d17);scroll-margin-top:80px}.dp-reply h2{margin:0 0 4px;font-size:18px}
.dp-reply form{display:grid;gap:10px;margin:0}.dp-reply textarea{width:100%;box-sizing:border-box;min-height:120px;padding:10px 12px;border-radius:9px;border:1px solid var(--line,#30483b);background:var(--bg,#0d1511);color:inherit;font:inherit;line-height:1.55;resize:vertical}
.dp-hint{margin:0 0 6px;font-size:12px;color:var(--muted,#abc0b3)}.dp-reply-actions .dp-hint,.dp-reply-tools .dp-hint{margin:0}
.dp-reply-tools,.dp-reply-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.dp-attach{position:relative;display:inline-flex;align-items:center;padding:7px 14px;border:1px dashed var(--line,#30483b);border-radius:9px;cursor:pointer;font-size:14px;font-weight:700;color:var(--green,#00c878)}
.dp-attach input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.dp-attach:focus-within{outline:2px solid var(--green,#00c878);outline-offset:2px}
.dp-files{list-style:none;margin:0;padding:0;display:grid;gap:6px}.dp-files:empty{display:none}
.dp-files li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:7px 10px;border:1px solid var(--line,#30483b);border-radius:8px;font-size:13px}.dp-files li>span{flex:1 1 200px;min-width:0;overflow-wrap:anywhere}
.dp-files li.bad{border-color:#d9534f}.dp-files li.bad em{color:#ff8a8e;font-style:normal;font-size:12px}
.dp-check{display:inline-flex;align-items:center;gap:7px;font-size:13px;cursor:pointer}.dp-check input{accent-color:var(--green,#00c878)}
.dp-error{margin:0 0 10px;padding:10px 12px;border:1px solid #d9534f;border-radius:9px;background:rgba(217,83,79,.1);color:#ff9a9d}
.dp-reply form.dp-withdraw{display:flex;justify-content:flex-end;margin:10px 0 0}.dp-link-button{background:none;border:0;padding:0;color:var(--muted,#abc0b3);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}.dp-link-button:hover{color:#ff8a8e}
body.light .dp-reply textarea{background:#fff}body.light .dp-error{color:#b3261e}body.light .dp-summary h2{color:#0a7a45}
body.light .dp-amber,body.light .dp-left.soon{color:#9a6a12}body.light .dp-blue{color:#1f5fa8}body.light .dp-red{color:#b3261e}body.light .dp-grey{background:rgba(0,0,0,.06)}
body.light .dp-filter input,body.light .dp-filter select{background:#fff}body.light .dp-img{background:#eef2ef}body.light .dp-post-head strong{color:#14231a}body.light .dp-button{color:#fff}
@media(max-width:900px){.dp-columns{grid-template-columns:1fr}}
@media(max-width:600px){.dp-main{padding:16px 16px 32px}.dp-head h1,.dp-page-head h1{font-size:23px}.dp-row{grid-template-columns:1fr}.dp-row .dp-chip{justify-self:start}.dp-row-meta{grid-column:1}.dp-img{width:calc(50% - 4px)}.dp-filter{padding:10px}}

/* 4c-2: project scores on the dispute page, in the style of the directory cards (band colours from style.css) */
.dp-facts>.dp-project{grid-column:1/-1}
.dp-scores{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px 20px;margin-top:9px;padding-top:9px;border-top:1px solid var(--line,#30483b)}
.dp-sc{display:flex;flex-direction:column;min-width:0;cursor:help}
.dp-sc b{font:700 22px/1.1 Manrope,sans-serif}
.dp-facts .dp-sc small{margin:4px 0 0;font-size:12px}
.dp-sc.wlc{border-left:1px solid var(--line,#30483b);padding-left:20px}
.dp-sc.wlc b{font-size:28px}
.dp-sc b.unknown{color:var(--muted,#abc0b3)}
@media(max-width:480px){.dp-scores{gap:8px 14px}.dp-sc b{font-size:19px}.dp-sc.wlc{padding-left:14px}.dp-sc.wlc b{font-size:24px}}