/* RC15: project card with separate selection and destructive controls. */
.ux-project-item{border:1px solid #e4eaf3;border-radius:13px;background:#fff;overflow:hidden}
.ux-project-item .ux-project-row{border:0;border-radius:0;justify-content:space-between;gap:10px}
.ux-project-choice{display:flex;align-items:center;gap:12px;min-width:0;flex:1;cursor:pointer}
.ux-project-choice span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.ux-project-choice strong{font-size:13px;color:#20304e}
.ux-project-choice small{font-size:11px;color:#8392aa}
.ux-project-details{border-top:1px solid #e8eef6}
.ux-project-details summary{padding:12px 16px;color:#315c9d;font-size:12px;font-weight:750;cursor:pointer}
.ux-project-details[open] summary{background:#f6f9fe}
.ux-project-meta{padding:5px 16px 15px;color:#526783;font-size:12px;line-height:1.5}
.ux-project-meta ul{padding-left:20px;overflow-wrap:anywhere}
.ux-project-meta li{margin:6px 0}
.ux-project-actions{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
.ux-project-actions .btn{font-size:12px;padding:9px 12px}
.ux-project-actions button:disabled{opacity:.48;cursor:not-allowed}
.ux-project-warning{padding:9px 11px;border-radius:9px;background:#fff3e9;color:#965d29}

/* RC16: friendly labels never conceal the Docker Compose identifier. */
.ux-project-technical{display:block;font-size:11px;font-weight:500;color:#74839b;overflow-wrap:anywhere;margin-top:3px}

/* RC20: a live, read-only preflight must precede an unbind confirmation. */
.ux-unbind-check{border:1px solid #dce5f2;border-radius:9px;padding:10px 12px;background:#f5f8fc;color:#465c7a;margin:8px 0;overflow-wrap:anywhere}
.ux-unbind-check.ok{border-color:#b6e2ce;background:#edf9f2;color:#156a48}
.ux-unbind-check.bad{border-color:#f2d2b7;background:#fff6eb;color:#895127}

/* RC28: ownership evidence stays inside the project card. */
.ux-ownership-impact:empty{display:none}
.ux-impact-report{padding:13px;margin:12px 0;border:1px solid #d9e3f2;border-radius:12px;background:#f8faff;overflow-wrap:anywhere}
.ux-impact-report h4{margin:0 0 9px;font-size:14px;color:#223d65}
.ux-impact-owners{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:12px 0}
.ux-impact-owner{padding:11px;border:1px solid #e0e8f5;background:white;border-radius:10px;min-width:0}
.ux-impact-owner b,.ux-impact-owner small{display:block;overflow-wrap:anywhere}
.ux-impact-owner p,.ux-impact-extras p{margin:6px 0;font-size:12px}
.ux-impact-extras{background:#fff4e5;border-radius:9px;padding:9px 12px}
/* RC30: explicit, accessible selection of a legacy label-only binding. */
.ux-impact-label-choice{margin-top:12px;padding:12px;border:1px solid #b9d6d1;background:#eff9f6;border-radius:10px}
.ux-impact-label-choice label{display:grid;gap:6px;font-weight:650;color:#234c48}
.ux-impact-label-choice select{width:100%;max-width:520px;min-height:38px;padding:7px 9px;border:1px solid #a8c6c0;border-radius:8px;background:white;color:#20304e}
.ux-impact-label-choice p{font-size:12px;line-height:1.5}
