.bp-project-join-dialog{border:0;padding:0;border-radius:20px;box-shadow:0 26px 80px rgba(24,48,34,.26);max-width:min(520px,92vw)}
.bp-project-join-dialog::backdrop{background:rgba(19,38,28,.38);backdrop-filter:blur(2px)}
.bp-project-join-card{width:min(520px,92vw);padding:25px;background:#fff}
.bp-project-join-confirm-dialog{border:0;padding:0;border-radius:20px;box-shadow:0 26px 80px rgba(24,48,34,.26);max-width:min(470px,92vw)}
.bp-project-join-confirm-dialog::backdrop{background:rgba(19,38,28,.42);backdrop-filter:blur(3px)}
.bp-project-join-confirm-card{width:min(470px,92vw);padding:25px;background:#fff}
.bp-project-join-confirm-head{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px}
.bp-project-join-confirm-head h2{margin:3px 0 0;color:#183526;font-size:23px}
.bp-project-join-confirm-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#edf7f0;color:#2e8058}
.bp-project-join-confirm-icon .bp-icon{width:23px;height:23px}
.bp-project-join-confirm-intro{margin:17px 0 13px;color:#65786e;font-size:12px;line-height:1.5}
.bp-project-join-confirm-flow{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:8px;padding:12px;border:1px solid #d9e7dd;border-radius:13px;background:#f5faf6}
.bp-project-join-confirm-flow>div{display:grid;gap:4px;min-width:0}
.bp-project-join-confirm-flow small{color:#789086;font-size:8px;font-weight:900;letter-spacing:.06em}
.bp-project-join-confirm-flow strong{color:#2d6046;font-size:11px;line-height:1.25;overflow-wrap:anywhere}
.bp-project-join-confirm-flow>span{display:grid;place-items:center;color:#6e9b7b}
.bp-project-join-confirm-flow>span .bp-icon{width:17px;height:17px}
.bp-project-join-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.bp-project-join-confirm-actions button{border:1px solid #d9e2dc;border-radius:10px;padding:10px 14px;background:#fff;color:#294c39;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.bp-project-join-confirm-actions button.primary{border-color:#2e8058;background:#2e8058;color:#fff}
.bp-project-join-head{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px}
.bp-project-join-head h2{margin:3px 0 0;color:#183526;font-size:23px}
.bp-project-join-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#edf7f0;color:#2e8058}
.bp-project-join-icon .bp-icon{width:23px;height:23px}
.bp-project-join-intro{margin:17px 0 12px;color:#65786e;font-size:12px;line-height:1.5}
.bp-project-join-source{display:grid;gap:3px;padding:11px 12px;border:1px solid #d9e7dd;border-radius:12px;background:#f5faf6}
.bp-project-join-source strong{color:#2d6046;font-size:12px}
.bp-project-join-source span{color:#71857a;font-size:10px}
.bp-project-join-field{display:grid;gap:6px;margin-top:15px}
.bp-project-join-field>span{color:#567064;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.bp-project-join-field select{min-width:0;border:1px solid #d7e2da;border-radius:10px;background:#fff;padding:10px;color:#294c39;font:inherit;font-size:11px;outline:none}
.bp-project-join-field select:focus{border-color:#80ad91;box-shadow:0 0 0 3px rgba(46,128,88,.1)}
.bp-project-join-hint,.bp-project-join-empty{margin:7px 0 0;color:#89978f;font-size:10px;line-height:1.4}
.bp-project-join-empty{padding:11px 12px;border:1px dashed #d7e2da;border-radius:10px;background:#fbfcfb}
.bp-project-join-error{min-height:17px;margin:10px 0 0;color:#aa4637;font-size:10px;font-weight:750}
.bp-project-join-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.bp-project-join-actions button{border:1px solid #d9e2dc;border-radius:10px;padding:10px 14px;background:#fff;color:#294c39;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.bp-project-join-actions button.primary{border-color:#2e8058;background:#2e8058;color:#fff}
.bp-project-join-actions button:disabled{opacity:.5;cursor:not-allowed}
.bp-project-phase-badge{display:inline-flex;align-items:center;border-radius:999px;background:#eaf5ee;color:#357355;padding:4px 7px;font-size:8px;font-style:normal;font-weight:850;white-space:nowrap}
.bp-project-linked-phases{margin:12px 0;padding:12px 13px;border:1px solid #cfe3d5;border-radius:13px;background:#f5faf6}
.bp-project-linked-phases-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.bp-project-linked-phases-head h3{margin:2px 0 0;color:#315843;font-size:12px}
.bp-project-linked-phases-head>span{min-width:27px;height:27px;display:grid;place-items:center;border-radius:999px;background:#e2f1e6;color:#2e8058;font-size:10px;font-weight:900}
.bp-project-phase-type-totals{display:grid;min-width:190px;gap:2px;align-content:start}
.bp-project-phase-type-total{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;color:#315843;font-size:9px;font-weight:750;line-height:1.25;white-space:nowrap}
.bp-project-phase-type-total>span{text-align:left}
.bp-project-phase-type-total>strong{text-align:right;font-weight:950}
.bp-project-phase-type-total-all{margin-top:4px;padding-top:4px;border-top:1px solid #d6e5da;font-size:10px;font-weight:950}
.bp-project-phase-type-totals-large{width:100%;min-width:0;margin-top:12px;padding-top:10px;border-top:1px solid #d6e5da;gap:6px}
.bp-project-phase-type-totals-large .bp-project-phase-type-total{font-size:15px;line-height:1.35}
.bp-project-phase-type-totals-large .bp-project-phase-type-total>strong{font-size:16px}
.bp-project-phase-type-totals-large .bp-project-phase-type-total-all{margin-top:4px;padding-top:8px;font-size:17px}
.bp-project-phase-type-totals-large .bp-project-phase-type-total-all>strong{font-size:18px}
.bp-project-linked-phases-list{display:grid;gap:5px;margin-top:9px}
.bp-project-phase-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce9df;border-radius:9px;background:#fff;padding:8px;color:#315843}
.bp-project-phase-summary>div{display:grid;gap:2px;min-width:0}
.bp-project-phase-summary strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bp-project-phase-summary small,.bp-project-phase-summary>span{color:#829188;font-size:9px}
.bp-project-phase-summary .bp-project-phase-hours{color:#315843;font-size:9px;font-weight:800;line-height:1.35}
.bp-project-phase-summary-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:7px;flex:0 0 auto!important}
.bp-project-phase-summary-actions>span{white-space:nowrap}
.bp-project-phase-edit{border:1px solid #cfe3d5;border-radius:7px;background:#f5faf6;color:#2e8058;padding:5px 7px;font:inherit;font-size:9px;font-weight:850;cursor:pointer}
.bp-project-phase-edit:hover,.bp-project-phase-edit:focus-visible{border-color:#80ad91;background:#eaf5ee;outline:none}
.bp-project-linked-phases-list button{display:grid;gap:2px;border:1px solid #dce9df;border-radius:9px;background:#fff;padding:8px;text-align:left;color:#315843;cursor:pointer}
.bp-project-linked-phases-list button:hover,.bp-project-linked-phases-list button:focus-visible{border-color:#9fc5aa;background:#fbfefc;outline:none}
.bp-project-linked-phases-list strong{font-size:10px}
.bp-project-linked-phases-list small{color:#829188;font-size:9px}
