.trade-project-actions{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:28px}.portal-page .trade-project-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border:1px solid #138c78;border-radius:7px;background:#34c6a1;color:#06251e;font-size:16px;font-weight:700;text-align:center}.portal-page .trade-project-button:hover{background:#7de6ca}.trade-project-button:focus-visible,.trade-project-back:focus-visible{outline:3px solid #138c78;outline-offset:4px}.portal-page .trade-project-back{display:inline-block;margin-bottom:18px;color:#125567;font-size:16px;font-weight:700}.trade-project-empty{margin-top:26px}.trade-project-empty p{margin:0;color:#617083}@media(max-width:600px){.trade-project-actions{flex-direction:column;gap:14px}.trade-project-button{width:100%}}
.trade-terms-link{border:0;background:none;padding:6px 0;color:#125567;font:inherit;text-decoration:underline;cursor:pointer}.trade-terms-link:focus-visible{outline:3px solid #138c78;outline-offset:3px}

/* Keep client project lists compact on every Trade Partner list page. */
body[data-portal="trade"] .project-list{grid-template-columns:minmax(0,1fr);max-height:min(360px,50vh);overflow-y:auto;overflow-x:hidden;gap:10px;padding:4px;scrollbar-gutter:stable}
body[data-portal="trade"] .project-list:focus-visible{outline:2px solid #138c78;outline-offset:3px}
body[data-portal="trade"] .project-title-link{min-width:0;min-height:58px;overflow:hidden;font-size:1rem}
body[data-portal="trade"] .project-title-link .project-row-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;font-size:inherit}
body[data-portal="trade"] .project-title-link .project-row-arrow{flex:none}
.trade-project-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;color:#536a7b;font-size:14px}
.trade-project-pagination[hidden]{display:none}
.trade-project-pagination button{border:1px solid #138c78;border-radius:6px;padding:8px 12px;background:#fff;color:#125567;font:inherit;font-weight:700;cursor:pointer;min-height:42px}
.trade-project-pagination button:disabled{opacity:.45;cursor:default}
.trade-project-pagination button:focus-visible{outline:3px solid #138c78;outline-offset:3px}
body[data-trade-project-workspace] [data-start-project]{display:inline-flex}
body[data-trade-project-workspace] .project-navigation{display:grid;margin-bottom:24px}
@media(max-width:600px){.trade-project-pagination{gap:8px;flex-wrap:wrap}.trade-project-pagination span{order:3;flex-basis:100%;text-align:center}}

.project-trade-scope{padding:12px 16px;background:#edf9f5;border:1px solid #b8e4d6;border-radius:7px;color:#19354a;font-size:14px}.project-trade-scope a{color:#125567;font-weight:700}

/* The dedicated creation page opens directly into the new-project form. */
body[data-trade-project-create] .project-lists,body[data-trade-project-create] .project-navigation{display:none}
body[data-trade-project-create] [data-start-project]{display:none!important}
/* Keep guidance with its question and checkbox groups comfortable on touch screens. */
body[data-portal="trade"] .trade-question-help{display:block;grid-column:1/-1;margin:4px 0 10px;color:#526879;line-height:1.5}
body[data-portal="trade"] .trade-choice-hint{font-size:14px;font-weight:400;color:#526879}
body[data-portal="trade"] .project-checks label{min-height:44px;display:flex;align-items:center;gap:8px}
.trade-client-dialog{width:min(720px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:1px solid #d7e2e7;border-radius:14px;padding:24px;color:#142c3c;box-sizing:border-box}.trade-client-dialog::backdrop{background:#071d32a8}.trade-client-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.trade-client-heading h2{margin:0 0 18px}.trade-client-heading button{min-width:44px;min-height:44px;background:white;border:1px solid #d6e1e7;border-radius:8px}.trade-client-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.trade-client-dialog label{display:flex;flex-direction:column;gap:6px;font-weight:600}.trade-client-dialog input{width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #b7c8d3;border-radius:6px;font:inherit}.trade-client-fields h3,.trade-client-fields p{grid-column:1/-1;margin:0}.trade-client-fields p{font-size:14px;font-weight:400}.project-client-name{margin-top:12px;background:transparent;border:0;padding:8px 0;color:#087766;text-decoration:underline;font:inherit;font-weight:700;cursor:pointer}.project-client-choice h4{margin-bottom:8px}.trade-client-dialog [data-choose-client]{display:flex;flex-direction:column;width:100%;gap:4px;padding:14px;margin-top:10px;text-align:left;background:white;border:1px solid #ccdce5;border-radius:8px;font:inherit;cursor:pointer}.trade-client-dialog [data-choose-client] span{font-size:14px;overflow-wrap:anywhere}.trade-client-sharing{margin-top:20px;padding:20px;border:1px solid #d2e1e8;border-radius:10px}.trade-client-sharing input{width:100%;box-sizing:border-box;padding:10px;min-height:44px;font:inherit}.trade-client-sharing p{overflow-wrap:anywhere}@media(max-width:600px){.trade-client-fields{grid-template-columns:1fr}.trade-client-dialog{padding:18px}}
.trade-type-picker{position:relative;max-width:100%}.trade-type-picker>input{width:100%;box-sizing:border-box;min-height:44px;padding:12px;border:1px solid #aebfcb;border-radius:6px;background:#fff;font:inherit}.trade-type-picker [role=listbox]{position:absolute;z-index:20;top:100%;left:0;right:0;max-height:300px;overflow:auto;background:white;border:1px solid #aebfcb;border-radius:6px;box-shadow:0 8px 20px #142b3b20}.trade-type-picker [role=option]{display:block;width:100%;border:0;background:white;color:#142b3b;padding:12px;text-align:left;font:inherit;min-height:44px;cursor:pointer}.trade-type-picker [role=option]:hover,.trade-type-picker [role=option][aria-selected=true]{background:#e5f6f1}
