/* v3.3.170 — all client management styles are portal-scoped. */
.wpst-client-portal .wpst-portfolio-search{margin:0 0 15px auto!important}
.wpst-client-portal .wpst-portfolio-trash{border:1px solid #dce7f7;border-radius:12px;margin-top:18px;padding:14px;background:#f9fbff}
.wpst-client-portal .wpst-portfolio-trash summary{cursor:pointer;font-weight:750}
.wpst-client-portal .wpst-portfolio-trash>div{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e2eafa;padding:10px 0}
.wpst-client-portal .wpst-client-portfolio-editor form{background:#fff;border:1px solid #e2eaf8;box-shadow:0 15px 35px #1d438012;border-radius:18px;padding:26px}
.wpst-portfolio-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.wpst-portfolio-form-full{grid-column:1/-1}
.wpst-client-portal .wpst-portfolio-form-grid>label,.wpst-client-portal .wpst-portfolio-form-grid>div>label,.wpst-client-portal .wpst-portfolio-form-grid fieldset legend{font-size:13px;font-weight:800;color:#263a5c;display:block;margin:0}
.wpst-client-portal .wpst-portfolio-form-grid input:not([type=checkbox]):not([type=file]),.wpst-client-portal .wpst-portfolio-form-grid select,.wpst-client-portal .wpst-portfolio-form-grid textarea{display:block;width:100%;box-sizing:border-box;max-width:100%;min-height:45px;margin:8px 0 0;padding:11px 12px;border:1px solid #cbd8ee;border-radius:10px;background:#fff;color:#172744;font:500 14px/1.5 Inter,Arial,sans-serif}
.wpst-client-portal .wpst-portfolio-form-grid textarea{resize:vertical;min-height:94px}
.wpst-client-portal .wpst-portfolio-form-grid input:focus,.wpst-client-portal .wpst-portfolio-form-grid textarea:focus,.wpst-client-portal .wpst-portfolio-form-grid select:focus{outline:2px solid #c1d4ff;outline-offset:1px}
.wpst-client-portal .wpst-portfolio-form-grid small{display:block;color:#7787a2;font-size:11px;margin-top:8px}
.wpst-client-portal .wpst-portfolio-form-grid fieldset{border:1px solid #e6edfa;border-radius:12px;padding:12px}
.wpst-portfolio-categories{display:flex;gap:10px;flex-wrap:wrap}.wpst-client-portal .wpst-portfolio-categories label{display:inline-flex;align-items:center;gap:8px;border-radius:15px;border:1px solid #dce7f7;background:#f7faff;padding:8px 12px;font-size:12px;color:#344b73}
.wpst-portfolio-cover{width:160px;max-width:100%;height:110px;border:1px dashed #aec4ef;border-radius:13px;background:#f0f6ff;display:grid;place-items:center;overflow:hidden;margin:8px 0}
.wpst-portfolio-cover img{width:100%;height:100%;object-fit:cover;display:block}
.wpst-portfolio-media-buttons{display:flex;gap:8px;flex-wrap:wrap}
.wpst-portfolio-images{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0 14px}
.wpst-portfolio-images>div{width:96px;height:84px;border-radius:10px;position:relative;overflow:hidden;background:#eef3fc;border:1px solid #dce7f7}
.wpst-portfolio-images img{width:100%;height:100%;object-fit:cover}
.wpst-portfolio-images button{position:absolute;right:3px;top:3px;width:25px;height:25px;border:0;border-radius:50%;background:#e33f65;color:#fff;cursor:pointer;font-size:17px;line-height:1}
.wpst-portfolio-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.wpst-portfolio-form-actions .wpst-client-danger{margin-left:auto}
@media(max-width:650px){.wpst-portfolio-form-grid{grid-template-columns:1fr}.wpst-client-portal .wpst-client-portfolio-editor form{padding:17px}.wpst-portfolio-form-actions .wpst-client-danger{margin-left:0}.wpst-client-portal .wpst-portfolio-search{width:100%;margin:7px 0 14px!important}}
/* Dynamic HTML templates for portfolio detail pages; existing Elementor layouts are untouched. */
.wpst-portfolio-html{--p-ink:#12213b;--p-muted:#526582;--p-bg:#fff;--p-line:#e4ebf5;max-width:1240px;margin:0 auto;padding:55px 26px 75px;color:var(--p-ink);background:var(--p-bg);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;box-sizing:border-box}
.wpst-portfolio-html *{box-sizing:border-box}.wpst-portfolio-html h1,.wpst-portfolio-html h2{color:var(--p-ink);font-family:inherit;line-height:1.13;letter-spacing:-.03em}.wpst-portfolio-html h1{font-size:clamp(34px,4.3vw,64px);margin:12px 0 22px}.wpst-portfolio-html h2{font-size:clamp(24px,2.4vw,34px)}
.wpst-portfolio-html-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;min-height:420px}
.wpst-portfolio-html-kicker{font-weight:850;color:#3869e9;font-size:12px;letter-spacing:.13em}
.wpst-portfolio-html-summary{font-size:clamp(15px,1.5vw,19px);line-height:1.7;color:var(--p-muted)}
.wpst-portfolio-html-cover{margin:0}.wpst-portfolio-html-cover img{width:100%;height:auto;max-height:530px;aspect-ratio:5/4;object-fit:cover;border-radius:22px;box-shadow:0 22px 55px #1e31541c}
.wpst-portfolio-html-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.wpst-portfolio-html-tags span{border:1px solid var(--p-line);border-radius:24px;padding:7px 12px;font-size:12px}
.wpst-portfolio-html-link{display:inline-flex;margin-top:24px;border-radius:10px;color:#fff!important;background:linear-gradient(120deg,#1868f5,#704bf0);padding:12px 18px;text-decoration:none!important;font-size:14px;font-weight:800}
.wpst-portfolio-html-description,.wpst-portfolio-html-gallery{margin-top:54px;border-top:1px solid var(--p-line);padding-top:27px;line-height:1.8;font-size:17px;color:var(--p-muted)}
.wpst-portfolio-html-gallery>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wpst-portfolio-html-gallery figure{margin:0}.wpst-portfolio-html-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}
.wpst-portfolio-html--editorial .wpst-portfolio-html-hero{grid-template-columns:1fr 1.1fr}
.wpst-portfolio-html--minimal{max-width:1050px}.wpst-portfolio-html--minimal .wpst-portfolio-html-hero{display:flex;flex-direction:column;align-items:stretch;gap:26px}.wpst-portfolio-html--minimal .wpst-portfolio-html-cover img{aspect-ratio:16/8}
.wpst-portfolio-html--split .wpst-portfolio-html-hero{grid-template-columns:1.15fr .85fr}.wpst-portfolio-html--split .wpst-portfolio-html-cover img{aspect-ratio:3/4}
.wpst-portfolio-html--dark{--p-ink:#fff;--p-muted:#c5d0e1;--p-bg:#081a32;--p-line:#284263;border-radius:0}
.wpst-portfolio-html--dark .wpst-portfolio-html-kicker{color:#a8a0ff}
@media(max-width:767px){.wpst-portfolio-html{padding:38px 18px 46px}.wpst-portfolio-html-hero,.wpst-portfolio-html--split .wpst-portfolio-html-hero,.wpst-portfolio-html--editorial .wpst-portfolio-html-hero{grid-template-columns:1fr;gap:24px}.wpst-portfolio-html-gallery>div{grid-template-columns:1fr}.wpst-portfolio-html-description,.wpst-portfolio-html-gallery{margin-top:32px}}

/* Inline portfolio taxonomy creation: labels remain inside WPSoft-scoped editor. */
.wpst-client-portal .wpst-portfolio-category-add{margin-top:14px;padding-top:12px;border-top:1px solid #e5edfb}
.wpst-client-portal .wpst-portfolio-category-add>label{font-size:12px;color:#263a5c;font-weight:750}
.wpst-client-portal .wpst-portfolio-category-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wpst-client-portal .wpst-portfolio-category-controls input{flex:1;min-width:180px;max-width:460px;margin:7px 0 0!important}
.wpst-client-portal .wpst-portfolio-category-controls button{min-height:44px;margin-top:7px}
.wpst-portfolio-card-terms{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0 11px}
.wpst-portfolio-card-terms span{font-size:11px;font-weight:700;color:#2556af;background:#edf4ff;border:1px solid #d8e6ff;border-radius:15px;padding:4px 8px}
@media(max-width:560px){.wpst-client-portal .wpst-portfolio-category-controls{display:grid;grid-template-columns:1fr}.wpst-client-portal .wpst-portfolio-category-controls input{width:100%;min-width:0;max-width:none}.wpst-client-portal .wpst-portfolio-category-controls button{width:100%}}
/* v3.3.177: one upload surface + per-photo cover controls. */
.wpst-client-portal .wpst-portfolio-unified-upload>strong{display:block;font-size:15px;color:#1c3157;margin-bottom:5px}
.wpst-client-portal .wpst-portfolio-unified-upload>p{color:#627495;font-size:13px;margin:0 0 12px}
.wpst-client-portal .wpst-portfolio-upload-zone{display:flex!important;flex-direction:column;gap:5px;align-items:center;justify-content:center;min-height:135px;padding:18px;border:2px dashed #a8bff4;background:#f5f8ff;border-radius:15px;cursor:pointer;text-align:center;color:#2255bd!important;box-sizing:border-box}
.wpst-client-portal .wpst-portfolio-upload-zone.is-dragover{background:#e6efff;border-color:#156af6}
.wpst-client-portal .wpst-portfolio-upload-zone>span{font-size:25px;line-height:1}
.wpst-client-portal .wpst-portfolio-upload-zone>strong{font-size:14px;font-weight:800}
.wpst-client-portal .wpst-portfolio-upload-zone small{margin:0!important;font-weight:500;color:#61759a}
.wpst-client-portal .wpst-portfolio-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;margin:16px 0}
.wpst-client-portal .wpst-portfolio-images>div{width:auto;height:140px;min-width:0;overflow:hidden;border:2px solid #dbe6f9;border-radius:13px}
.wpst-client-portal .wpst-portfolio-images>div.is-cover{border-color:#1466f5;box-shadow:0 0 0 2px #dbeaff}
.wpst-client-portal .wpst-portfolio-images img{display:block;width:100%;height:100%;object-fit:cover}
.wpst-client-portal .wpst-portfolio-images [data-portfolio-cover-choice]{position:absolute;left:6px;right:auto;top:auto;bottom:6px;width:auto;height:auto;min-height:30px;padding:5px 9px;background:rgba(20,62,128,.93);color:white;border-radius:8px;font-size:11px;font-weight:800;line-height:1.1}
.wpst-client-portal .wpst-portfolio-images .is-cover [data-portfolio-cover-choice]{background:#096a55}
.wpst-client-portal .wpst-portfolio-images [data-portfolio-remove-image]{position:absolute;top:5px;right:5px;left:auto;bottom:auto;width:29px;height:29px;border-radius:50%;background:#e33f65;color:white;font-size:19px}
@media(max-width:560px){.wpst-client-portal .wpst-portfolio-images{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v3.3.217: reference portfolio list */
.wpst-client-portal .wpst-portfolio-modern{margin-top:28px}
.wpst-portfolio-modern-heading{display:flex;align-items:center;gap:17px;margin-bottom:20px}
.wpst-portfolio-heading-icon{width:65px;height:65px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#f1e9ff,#e9d9ff);color:#9342e8;border-radius:20px;font-size:32px}
.wpst-client-portal .wpst-portfolio-modern-heading h3{font-size:clamp(25px,4vw,34px)!important;color:#0b1c3e!important;margin:0 0 5px!important;font-weight:850!important}
.wpst-portfolio-modern-heading p{font-size:14px;color:#71819b;margin:0}
.wpst-client-portal .wpst-portfolio-create{display:flex!important;align-items:center;justify-content:center;width:100%;padding:18px!important;margin:0 0 20px;border-radius:16px!important;font-size:19px!important;font-weight:800!important;background:linear-gradient(110deg,#0875ff,#2662f6)!important;box-shadow:0 8px 18px #1765e82c;text-decoration:none!important}
.wpst-client-portal .wpst-portfolio-modern .wpst-portfolio-search{width:100%!important;max-width:none!important;margin:0 0 17px!important;border-radius:18px!important;min-height:56px!important;display:flex;align-items:center;gap:12px;padding:0 18px;background:#fff!important;border:1px solid #dfe8f7!important;box-shadow:0 5px 15px #2646750b}
.wpst-portfolio-search>span{font-size:30px;color:#637899}
.wpst-client-portal .wpst-portfolio-search input{width:100%!important;min-width:0!important;border:0!important;box-shadow:none!important;background:transparent!important;outline:0!important;font-size:16px!important}
.wpst-portfolio-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:23px}
.wpst-portfolio-filters button{border:1px solid #e1e9f7!important;border-radius:15px!important;background:#fff!important;color:#596b89!important;font-size:13px!important;font-weight:700!important;min-height:49px;cursor:pointer;white-space:nowrap;padding:7px!important}
.wpst-portfolio-filters button.is-active{background:#e6f0ff!important;color:#0863ed!important;border-color:#cbdfff!important}
.wpst-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;flex:none}
.wpst-dot.green{background:#34c780}.wpst-dot.purple{background:#9557ff}.wpst-dot.orange{background:#ff9d31}
.wpst-portfolio-modern-list{display:flex;flex-direction:column;gap:13px}
.wpst-client-portal .wpst-portfolio-modern-card{display:flex;align-items:center;gap:17px;min-height:150px;padding:18px!important;background:#fff!important;border:1px solid #edf0f7!important;border-radius:22px!important;box-shadow:0 10px 26px #2947750d!important}
.wpst-portfolio-modern-card[hidden]{display:none!important}
.wpst-portfolio-modern-thumb{width:125px;height:125px;flex:none;border-radius:19px;overflow:hidden;display:grid;place-items:center;background:#e9f2ff;color:#3576ee;font-size:30px}
.wpst-portfolio-modern-thumb img{width:100%;height:100%;object-fit:cover}
.wpst-portfolio-modern-info{flex:1;min-width:0}
.wpst-client-portal .wpst-portfolio-modern-info h4{font-size:clamp(19px,2.7vw,27px)!important;color:#101e3d!important;margin:0 0 12px!important;font-weight:850!important;overflow-wrap:anywhere}
.wpst-portfolio-modern-info p{display:flex;align-items:center;flex-wrap:wrap;color:#8490a6;font-size:13px;margin:0 0 12px;gap:4px}
.wpst-portfolio-modern-tags{display:flex;flex-wrap:wrap;gap:7px}
.wpst-portfolio-modern-tags span{padding:7px 11px;border-radius:99px;font-size:12px;font-weight:800}
.wpst-portfolio-modern-tags .ongoing{color:#e37a1d;background:#fff1e5}.wpst-portfolio-modern-tags .completed{color:#8837e9;background:#f3e8ff}
.wpst-portfolio-modern-actions{align-self:stretch;display:flex;align-items:flex-end;flex-direction:column;justify-content:space-between;gap:12px;flex:none}
.wpst-portfolio-more{position:relative}.wpst-portfolio-more summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:39px;height:42px;border-radius:12px;background:#f4f7fc;border:1px solid #e6edf7;color:#526a90;font-size:23px}.wpst-portfolio-more summary::-webkit-details-marker{display:none}
.wpst-portfolio-more-menu{position:absolute;right:0;top:45px;z-index:30;background:#fff;border:1px solid #dce6f5;border-radius:12px;box-shadow:0 10px 25px #142c5540;padding:7px;min-width:165px}.wpst-portfolio-more-menu a{display:block;padding:10px;color:#1b3763;font-size:13px;text-decoration:none}
.wpst-client-portal .wpst-portfolio-edit{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px!important;border-radius:12px!important;white-space:nowrap;text-decoration:none!important;font-weight:800!important}
.wpst-client-portal .wpst-portfolio-trash-modern{padding:0!important;margin-top:25px!important;border-radius:21px!important;background:#fff!important;overflow:visible}
.wpst-portfolio-trash-modern>summary{display:flex;align-items:center;gap:15px;padding:17px!important;list-style:none}.wpst-portfolio-trash-modern>summary::-webkit-details-marker{display:none}.wpst-portfolio-trash-modern>summary>span:first-child{width:55px;height:55px;display:grid;place-items:center;border-radius:15px;background:#eee7ff;color:#8043d8;font-size:27px}.wpst-portfolio-trash-modern>summary>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}.wpst-portfolio-trash-modern summary strong{font-size:17px;color:#142346}.wpst-portfolio-trash-modern summary small{font-size:12px;color:#8390a6}.wpst-portfolio-trash-modern summary b{font-size:29px;color:#7183a3}.wpst-portfolio-trash-items{padding:0 16px 12px}
@media(max-width:650px){.wpst-portfolio-modern-heading{gap:12px}.wpst-portfolio-heading-icon{width:54px;height:54px}.wpst-portfolio-modern-heading p{font-size:12px}.wpst-portfolio-filters{gap:5px}.wpst-portfolio-filters button{font-size:10px!important;padding:5px 2px!important;min-height:42px}.wpst-client-portal .wpst-portfolio-modern-card{gap:10px;padding:11px!important;min-height:115px}.wpst-portfolio-modern-thumb{width:82px;height:94px;border-radius:14px}.wpst-client-portal .wpst-portfolio-modern-info h4{font-size:18px!important;margin-bottom:7px!important}.wpst-portfolio-modern-info p{font-size:11px;margin-bottom:8px}.wpst-portfolio-modern-tags span{font-size:10px;padding:5px 7px}.wpst-client-portal .wpst-portfolio-edit{font-size:11px!important;padding:10px 9px!important}.wpst-portfolio-more summary{width:31px;height:35px}}
@media(max-width:370px){.wpst-portfolio-modern-thumb{width:65px;height:80px}.wpst-portfolio-filters{grid-template-columns:repeat(2,1fr)}.wpst-portfolio-modern-info p{font-size:10px}.wpst-portfolio-modern-tags span{font-size:9px}}

/* v3.3.218: mobile reference fidelity and legacy-style collision fixes */
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading{align-items:center!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-heading-icon{font-size:0!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-heading-icon:before{content:"";display:block;width:28px;height:22px;background:#9149e6;border-radius:3px 3px 5px 5px;clip-path:polygon(0 14%,35% 14%,43% 0,72% 0,80% 14%,100% 14%,94% 100%,5% 100%)}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters button{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;line-height:1.1!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-card{display:grid!important;grid-template-columns:125px minmax(0,1fr) auto!important;align-items:center!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-info{min-width:0!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-info p{display:block!important;line-height:1.45!important;white-space:normal!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-actions{width:auto!important;min-width:0!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;flex-direction:column!important}
.wpst-client-portal #wpst-client-portfolios details.wpst-portfolio-more{position:relative!important;display:block!important;flex:none!important;width:40px!important;height:42px!important;min-width:0!important;min-height:0!important;max-width:40px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.wpst-client-portal #wpst-client-portfolios details.wpst-portfolio-more>summary{display:grid!important;place-items:center!important;box-sizing:border-box!important;width:40px!important;height:42px!important;min-width:0!important;min-height:0!important;max-width:40px!important;max-height:42px!important;margin:0!important;padding:0!important;border:1px solid #e5ebf5!important;border-radius:12px!important;background:#f6f8fc!important;box-shadow:none!important;color:#536b90!important;line-height:1!important;font-size:24px!important;list-style:none!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-tags{min-width:0!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-tags span{white-space:nowrap!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-trash-modern>summary>span:first-child{font-size:0!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-trash-modern>summary>span:first-child:before{content:"";display:block;width:22px;height:25px;border:3px solid #8148d6;border-top-width:5px;border-radius:2px 2px 5px 5px;transform:scale(.8)}
@media(max-width:650px){
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-card{grid-template-columns:80px minmax(0,1fr) 96px!important;gap:10px!important;padding:12px!important;min-height:133px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-thumb{width:80px!important;height:106px!important;border-radius:15px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-info h4{font-size:20px!important;margin-bottom:9px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-info p{font-size:11px!important;margin-bottom:8px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-actions{height:106px!important}
 .wpst-client-portal #wpst-client-portfolios details.wpst-portfolio-more{width:36px!important;height:37px!important;max-width:36px!important}
 .wpst-client-portal #wpst-client-portfolios details.wpst-portfolio-more>summary{width:36px!important;height:37px!important;max-width:36px!important;max-height:37px!important}
 .wpst-client-portal #wpst-client-portfolios a.wpst-portfolio-edit{font-size:12px!important;padding:11px 12px!important;border-radius:11px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters button{font-size:10px!important;white-space:nowrap!important;letter-spacing:-.025em!important}
}
@media(max-width:390px){
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-card{grid-template-columns:66px minmax(0,1fr) 78px!important;gap:7px!important;padding:9px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-thumb{width:66px!important;height:92px!important}
 .wpst-client-portal #wpst-client-portfolios a.wpst-portfolio-edit{font-size:10px!important;padding:9px 7px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-actions{height:92px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-info h4{font-size:17px!important}
}

/* v3.3.219: compact Pages-style portfolio heading and single toolbar */
.wpst-client-portal #wpst-client-portfolios.wpst-portfolio-modern{margin-top:28px!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading>div{flex:1;min-width:0}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading h3{font-size:clamp(23px,3.3vw,32px)!important;line-height:1.2!important;margin:0 0 5px!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading p{font-size:13px!important;line-height:1.45!important;margin:0!important}
.wpst-client-portal #wpst-client-portfolios a.wpst-portfolio-create{display:inline-flex!important;flex:none!important;width:auto!important;min-width:0!important;min-height:45px!important;padding:12px 17px!important;margin:0!important;border-radius:13px!important;font-size:14px!important;line-height:1.2!important;white-space:nowrap!important;box-shadow:0 4px 12px #1765e824!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;margin:0 0 18px!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-search{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:49px!important;height:49px!important;padding:0 13px!important;margin:0!important;border-radius:999px!important;background:#f5f8ff!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-search>span{font-size:24px!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-search input{font-size:13px!important;height:44px!important;padding:0!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:2px!important;margin:0!important;padding:4px!important;border:1px solid #e3ebf7!important;border-radius:999px!important;background:#f1f5fc!important;min-width:0!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters button{min-height:39px!important;width:auto!important;min-width:0!important;border:0!important;border-radius:999px!important;padding:8px 11px!important;font-size:12px!important;line-height:1.1!important;box-shadow:none!important;background:transparent!important;white-space:nowrap!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters button.is-active{background:linear-gradient(120deg,#2877ff,#0756f1)!important;color:#fff!important;border:0!important;box-shadow:0 3px 8px #125bf334!important}
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters .wpst-dot{width:8px!important;height:8px!important;margin-right:3px!important}
@media(max-width:700px){
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading{gap:8px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading h3{font-size:24px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading p{font-size:11px!important}
 .wpst-client-portal #wpst-client-portfolios a.wpst-portfolio-create{padding:11px 12px!important;font-size:12px!important;min-height:42px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-toolbar{gap:7px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-search{height:43px!important;min-height:43px!important;padding:0 9px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-search input{font-size:11px!important;height:39px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters{padding:3px!important;gap:0!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters button{font-size:9px!important;padding:8px 5px!important;min-height:35px!important;letter-spacing:-.02em!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters .wpst-dot{width:6px!important;height:6px!important;margin-right:1px!important}
}
@media(max-width:490px){
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-toolbar{grid-template-columns:1fr!important;gap:9px!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters{width:100%!important;justify-content:space-between!important}
 .wpst-client-portal #wpst-client-portfolios .wpst-portfolio-filters button{flex:1!important;font-size:10px!important;padding:9px 3px!important}
}
@media(max-width:360px){.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-heading h3{font-size:21px!important}.wpst-client-portal #wpst-client-portfolios a.wpst-portfolio-create{font-size:10px!important;padding:10px 8px!important}}

/* v3.3.220: [hidden] must win over grid !important for live portfolio filtering. */
.wpst-client-portal #wpst-client-portfolios .wpst-portfolio-modern-card[hidden],
.wpst-client-portal #wpst-client-portfolios [data-wpst-portfolio-card][hidden]{
    display:none!important;
}
.wpst-client-portal #wpst-client-portfolios [data-wpst-portfolio-empty][hidden]{
    display:none!important;
}
