.npl-card{gap:14px;padding:20px}.npl-cover{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:120px;padding:20px;border-radius:18px;background:#f2edff;color:#191445}.npl-cover i{font-size:46px;color:#6335eb}.npl-cover span{font-size:13px;font-weight:700}.npl-prices{display:grid;grid-template-columns:1fr 1fr;gap:14px}.npl-prices small{display:block;color:#686d83}.npl-prices strong{color:#6335eb}.npl-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}.npl-bucket{min-width:0;margin:16px 0;padding:20px;border:1px solid #e6ddff;border-radius:20px;background:#fcfaff}.npl-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.npl-metrics dt{font-size:13px;color:#686d83}.npl-metrics dd{margin:4px 0;font-weight:700;overflow-wrap:anywhere}.npl-fields label{min-width:0}.npl-fields select{background:#f5f0ff!important;border-color:#d9ccff!important;border-radius:24px!important}.npl-card p{margin:0}.npl-card h2{overflow-wrap:anywhere}.npl-card .fin-offer-link{align-self:flex-end}@media(max-width:900px){.npl-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.npl-fields,.npl-metrics{grid-template-columns:1fr}.npl-bucket{padding:16px}.npl-cover{padding:14px}.npl-prices{gap:10px}.npl-card .fin-card-actions{flex-wrap:wrap}}

/* Share the credit card structure, with compact portfolio metrics. */
.fin-shell .npl-card{padding:0;gap:0;align-self:start}
.fin-shell .npl-card .fin-card-body{padding:16px;gap:12px}
.fin-shell .npl-card .npl-prices{padding:12px;background:#f8f6ff;border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.npl-prices>div{min-width:0}.npl-prices small{font-size:11px;line-height:1.4;margin-bottom:5px}.npl-prices strong{display:block;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.npl-pd{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#625e75}
.npl-pd small{display:block;margin-top:2px;font-size:11px}.npl-pd strong{font-size:15px;color:#211947;white-space:nowrap}
.fin-shell .npl-card .fin-card-actions{border:0;padding:0;gap:8px}
.npl-card .fin-card-actions form{display:flex;gap:10px;flex-wrap:wrap}
.fin-shell .npl-card .fin-card-footer{margin-top:0;padding-top:12px}
.fin-shell .npl-card .fin-card-share{margin:0;min-height:24px;padding:0}
.npl-presentation{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:28px;align-items:start}
.npl-presentation-fields{min-width:0;display:flex;flex-direction:column;gap:20px}
.fin-shell .npl-editor h2{font-size:22px;margin:0 0 8px}.npl-preview .fin-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.npl-image-panel{border:1px solid #e6ddff;border-radius:22px;padding:20px;background:#fcfaff}
.npl-image-upload{border:1px dashed #cfc0ff;border-radius:16px;padding:16px;background:#f8f5ff;cursor:pointer;gap:10px}
.npl-image-upload>span{color:#6935ff;font-weight:750}.npl-image-upload input[type=file]{max-width:100%;padding:8px;border:0;background:transparent;font-size:13px;cursor:pointer}
.npl-image-upload input::file-selector-button{border:0;border-radius:999px;background:#eee7ff;color:#6030cf;padding:9px 14px;margin-right:10px;cursor:pointer;font-weight:700}
.npl-image-panel .fin-check{margin-top:12px}.npl-preview{position:sticky;top:100px;min-width:0}.npl-preview [hidden]{display:none!important}
.npl-financial-section{border-top:1px solid #e6ddff;padding-top:24px;display:flex;flex-direction:column;gap:18px}
.npl-detail-image{display:block;width:100%;max-height:340px;object-fit:cover;border-radius:22px;margin-bottom:24px}
@media(max-width:1000px){.npl-presentation{grid-template-columns:1fr}.npl-preview{position:static;max-width:420px;width:100%;margin:auto}}
@media(max-width:550px){.npl-image-panel{padding:14px}.npl-prices strong{font-size:15px}}

.npl-pd strong{white-space:normal;text-align:right;max-width:46%;overflow-wrap:anywhere}.npl-pd-comparison{padding:20px;border:1px solid #e6ddff;border-radius:20px;background:#fcfaff;margin:20px 0}

/* Compact card hierarchy: deadline and band count use the existing font sizes. */
.fin-shell .npl-card .npl-bidding-close,.fin-shell .npl-card .npl-band-chip{color:#19172b;font-weight:700}
.fin-shell .npl-card .fin-card-footer a.fin-offer-link:hover,.fin-shell .npl-card .fin-card-footer a.fin-offer-link:focus-visible{text-decoration:none}
.fin-shell .npl-card .fin-card-footer a.fin-offer-link:hover .fin-open-text,.fin-shell .npl-card .fin-card-footer a.fin-offer-link:focus-visible .fin-open-text{text-decoration:underline;text-underline-offset:3px}

.fin-shell .npl-preview > .npl-card + .fin-help{margin-top:24px;margin-bottom:0}

.fin-shell .npl-preview > .fin-help:has(+ .npl-card){margin-bottom:24px}

/* v201: shared public/owner cards, separated management actions and export help. */
.fin-shell .npl-card .fin-card-body{padding:18px;gap:16px}
.fin-shell .npl-card .npl-owner-actions{border-top:1px solid var(--fin-line);padding-top:16px;margin-top:4px;gap:12px;align-items:center}
.fin-shell .npl-owner-actions form{flex-basis:100%;gap:16px}
.fin-shell .npl-owner-actions .fin-copy-link{min-height:44px;padding:10px 8px}
.fin-shell .npl-export-summary{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin:24px 0 28px}
.fin-shell .npl-export-summary>.fin-help{margin:0;line-height:1.65}
.fin-shell .npl-export-summary>[data-npl-last-download]{font-weight:650}
.fin-shell .npl-bid-panel{display:flex;flex-direction:column;gap:18px;padding:26px}
.fin-shell .npl-bid-panel>*{margin:0;line-height:1.6;overflow-wrap:anywhere}
.fin-shell .npl-preview>.fin-help:has(+.npl-card){margin-bottom:24px}
.fin-shell .npl-preview>.npl-card+.fin-help{margin-top:24px}
@media(max-width:550px){.fin-shell .npl-bid-panel{padding:20px;gap:16px}.fin-shell .npl-owner-actions>.fin-secondary{flex:1 1 120px}.fin-shell .npl-pd{flex-wrap:wrap;row-gap:6px}.fin-shell .npl-pd strong{max-width:100%;margin-left:auto}.fin-shell .npl-card .npl-prices{gap:16px}}

/* v224: one compact hierarchy, shared by Explore, My portfolios, My bids and preview. */
.fin-shell .npl-card .fin-card-body{padding:16px;gap:10px}
.fin-shell .npl-card .fin-card-body h2{margin:0;line-height:1.35}
.fin-shell .npl-card .fin-offer-meta{margin:0;gap:8px;flex-wrap:wrap}
.fin-shell .npl-card .npl-bidding-close{margin:0;line-height:1.5}
.fin-shell .npl-card .npl-prices{padding:12px;gap:12px}
.fin-shell .npl-card .npl-risk-summary{display:grid;gap:8px;padding:2px 0}
.fin-shell .npl-card .npl-pd{margin:0;gap:12px;line-height:1.45}
.fin-shell .npl-card .npl-owner-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 8px;margin:0;padding-top:10px}
.fin-shell .npl-owner-actions>.fin-secondary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 10px;font-size:13px;line-height:1.35;white-space:normal;text-align:center;box-shadow:none}
.fin-shell .npl-owner-actions form{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0;padding:0}
.fin-shell .npl-owner-actions button.fin-copy-link{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px;font-size:12px;font-weight:600;line-height:1.4;white-space:normal}
.fin-shell .npl-owner-actions button[value=delete]{color:#7d234b}
.fin-shell .npl-card .fin-card-footer{padding-top:10px;margin:0;gap:12px;align-items:center}
.fin-shell .npl-card-links{display:flex;align-items:center;justify-content:flex-end;gap:4px 12px;flex-wrap:wrap;min-width:0}
.fin-shell .npl-card .npl-card-links .fin-offer-link{align-self:center;min-height:44px;display:inline-flex;align-items:center;gap:6px}
.fin-shell .npl-card .npl-card-links button.fin-copy-link{min-height:44px;padding:6px 0;font-size:12px;white-space:nowrap}
@media(max-width:380px){.fin-shell .npl-card .fin-card-body{padding:14px}.fin-shell .npl-card-links{gap:0 10px}.fin-shell .npl-owner-actions>.fin-secondary{font-size:12px;padding:8px}.fin-shell .npl-card .npl-prices{gap:10px}}

/* v225: compact purchase-offer rows; keep all contact and audit details. */
.fin-shell [data-fin-list="npl-bids"] [data-fin-list-items]{display:grid;gap:12px;margin-bottom:16px}
.fin-shell .npl-bid-panel{padding:18px 20px;gap:12px;margin:0;border-radius:20px;box-shadow:0 6px 20px rgba(25,20,69,.035)}
.fin-shell .npl-bid-heading{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap}
.fin-shell .npl-bid-heading h2{margin:0;font-size:19px;line-height:1.35;flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.fin-shell .npl-bid-tags{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fin-shell .npl-bid-percent{font-size:21px;line-height:1.3;color:#7d234b}
.fin-shell .npl-bid-status{padding:4px 10px;border-radius:999px;background:#f1edff;color:#32245e;font-size:12px;font-weight:700;line-height:1.4}
.fin-shell .npl-bid-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px 24px;align-items:start}
.fin-shell .npl-bid-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:10px 12px;border-radius:12px;background:#f8f6fc}
.fin-shell .npl-bid-facts dt{font-size:12px;color:#686d83;font-weight:400;line-height:1.4}
.fin-shell .npl-bid-facts dd{font-size:15px;font-weight:700;margin:4px 0 0;line-height:1.4;overflow-wrap:anywhere}
.fin-shell .npl-bid-contact{min-width:0;display:grid;gap:4px;font-size:14px;line-height:1.5}
.fin-shell .npl-bid-contact p{margin:0;overflow-wrap:anywhere}
.fin-shell .npl-bid-panel .npl-bid-conditions{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.fin-shell .npl-bid-dates{display:flex;gap:4px 20px;flex-wrap:wrap;border-top:1px solid var(--fin-line);padding-top:10px;font-size:12px;line-height:1.5}
.fin-shell .npl-export-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 16px;margin:16px 0}
.fin-shell .npl-export-summary form{margin:0}
.fin-shell .npl-export-summary>.fin-help:last-child{grid-column:1/-1;line-height:1.5;font-size:12px}
@media(max-width:700px){.fin-shell .npl-bid-panel{padding:16px;gap:10px}.fin-shell .npl-bid-content{grid-template-columns:1fr;gap:10px}.fin-shell .npl-bid-heading h2{flex-basis:100%;font-size:18px}.fin-shell .npl-bid-dates{gap:4px 14px}.fin-shell .npl-export-summary{grid-template-columns:1fr}}

/* v227: NPL detail actions follow credit detail navigation. */
.fin-shell .npl-detail-actions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px}
.fin-shell .npl-detail-state-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;max-width:100%}
.fin-shell .npl-detail-state-actions button[value="delete"]{color:#7d234b}
.fin-shell .npl-card .npl-card-share{display:flex;justify-content:flex-end;padding:0;margin:0}
.fin-shell .npl-card .npl-card-share .fin-copy-link{min-height:44px;padding:6px 8px;display:inline-flex;align-items:center}
@media(max-width:700px){
 .fin-shell .npl-detail-actions{flex-direction:column;align-items:stretch;gap:10px}
 .fin-shell .npl-detail-actions>a,.fin-shell .npl-detail-actions>button{width:100%;flex:0 1 auto;justify-content:center;text-align:center}
 .fin-shell .npl-detail-state-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .fin-shell .npl-detail-state-actions>button{width:100%;min-width:0;text-align:center}
}

/* v228: consistent icons and vertically stacked mobile state actions. */
.fin-shell .npl-detail-state-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:8px}

/* DPD rows share label, control and error tracks; errors never stretch inputs. */
.fin-shell .npl-editor .npl-fields{column-gap:16px;row-gap:10px;align-items:stretch}
.fin-shell .npl-editor .npl-fields>label:not(.fin-check){display:grid;grid-template-rows:auto 56px auto;align-content:start;gap:10px;min-width:0;margin:0}
.fin-shell .npl-editor .npl-field-title{display:block;min-height:3em;align-self:end;line-height:1.5;overflow-wrap:anywhere}
.fin-shell .npl-editor .npl-fields input:not([type=hidden]),
.fin-shell .npl-editor .npl-fields select,
.fin-shell .npl-editor .npl-fields .jd-selectbox-btn{box-sizing:border-box;width:100%;height:56px;min-height:56px;max-height:56px;margin:0;padding:12px 16px;border-radius:20px;font-size:16px;line-height:1.5;align-self:start}
.fin-shell .npl-editor .npl-fields>label>:is(input,select,.jd-selectbox){grid-row:2;min-width:0;align-self:start}
.fin-shell .npl-editor .npl-fields>label>.fin-field-message{grid-row:3;margin:0;overflow-wrap:anywhere}
@supports(grid-template-rows:subgrid){
 .fin-shell .npl-editor .npl-fields>label:not(.fin-check){grid-row:span 3;grid-template-rows:subgrid}
 .fin-shell .npl-editor .npl-field-title{grid-row:1;min-height:0}
}
@media(max-width:550px){
 .fin-shell .npl-editor .npl-fields{row-gap:18px}
 .fin-shell .npl-editor .npl-fields>label:not(.fin-check){grid-row:auto;grid-template-rows:auto 56px auto;gap:8px}
 .fin-shell .npl-editor .npl-field-title{min-height:0}
}
