/* Postings.si two-sided marketplace — shared navy/purple and mint/pink visual contract */
.psi-post-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:980px}
.psi-post-choice{border:1px solid #517b9b;background:linear-gradient(145deg,#10294a,#172346 63%,#30205a);border-radius:24px;padding:38px 25px;color:#f4f8ff;text-align:left;cursor:pointer;min-height:280px;box-shadow:0 14px 36px #081d3450;transition:transform .2s,border-color .2s}
.psi-post-choice:hover,.psi-post-choice:focus-visible{transform:translateY(-3px);border-color:#77e1d0;outline-offset:4px}
.psi-post-choice h2{color:#f4f8ff;margin:15px 0 8px}.psi-post-choice p{color:#c6d7ee;margin-bottom:22px}
.psi-choice-icon{display:inline-flex;padding:16px;border-radius:16px;background:#263e65;color:#91f0df}
.psi-listing-state,.psi-offer-count{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;max-width:100%;width:max-content;white-space:normal;border-radius:999px;font-weight:750;font-size:12px;line-height:1.35;padding:5px 10px;border:1px solid #d3e6ed;background:#e8f8fc;color:#173b55}
.psi-state-open{background:#dbfae8;color:#125b42;border-color:#a4dfc2}
.psi-state-offer_selected,.psi-state-in_progress{background:#dceeff;color:#164775;border-color:#a9cbe9}
.psi-state-pending_fulfillment{background:#fff0c8;color:#744608;border-color:#f4d48a}
.psi-state-fulfilled{background:#d6fae7;color:#125b42;border-color:#8bd9b2}
.psi-offer-count{background:#f3e8ff;color:#522f77;border-color:#dfc7f5}
.psi-categories-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.psi-category-choice{border:1px solid #7a8db8;background:linear-gradient(145deg,#10294a,#30205a);color:#f4f8ff;border-radius:18px;min-height:128px;padding:22px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.psi-category-choice strong{color:#fff;font-size:16px}.psi-category-choice span{color:#a8f5e6;font-size:12px}
.psi-category-choice:hover,.psi-category-choice:focus-visible{border-color:#6de8d5;outline-offset:3px}
.psi-listing-filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 16px}
.psi-offer-entry{margin:12px 0;padding:20px}.psi-offer-entry .between{gap:12px;flex-wrap:wrap}.psi-offer-entry h4{margin:0}
.psi-reputation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 25px}
.psi-reputation .box{background:linear-gradient(135deg,#10294a,#30205a);color:#f4f8ff;border-color:#48618a}.psi-reputation strong{color:#fff}.psi-reputation p{color:#a8f5e6;font-size:22px;font-weight:800;margin:10px 0}.psi-reputation small{color:#c6d7ee}
/* All modals continue to use the existing dark navy/purple global dialog contract. */
@media(max-width:740px){.psi-post-choices,.psi-categories-grid,.psi-reputation{grid-template-columns:1fr}.psi-post-choice{min-height:230px;padding:24px}.psi-offer-entry .inline{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.psi-post-choice{transition:none}.psi-post-choice:hover{transform:none}}

/* November 16 dashboard and marketplace visual refinements */
.psi-dashboard-post-link{appearance:none;border:0;background:none;padding:3px 0;color:#eaf8ff;font:inherit;font-weight:800;text-align:left;cursor:pointer;display:inline-flex;align-items:center;gap:9px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
.psi-dashboard-post-link:hover,.psi-dashboard-post-link:focus-visible{color:#9ef6e7;text-decoration-color:currentColor;outline-offset:3px}
.psi-dashboard-post-link svg{width:15px;height:15px;flex:none}
.psi-workspace-profile{width:min(340px,100%);padding:23px;border:1px solid #5e7cae;border-radius:23px;background:linear-gradient(150deg,#213c66 0%,#132449 48%,#35235b 100%);color:#f4f8ff;box-shadow:0 18px 40px #060f2a55;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.psi-workspace-profile h3{color:#fff;margin:2px 0 0}.psi-profile-avatar{display:grid;place-items:center;width:62px;height:62px;border-radius:19px;font-size:28px;font-weight:900;color:#092b46;background:linear-gradient(135deg,#a3f8e8,#65c8e5 60%,#b9a0f5);box-shadow:inset 0 2px 3px #fff8,0 10px 20px #020c2555}
.psi-profile-subtitle{color:#c5d8f2;font-size:13px;margin:0 0 6px}.psi-profile-score{width:100%;display:flex;flex-direction:column;gap:5px;padding:10px 0;border-top:1px solid #ffffff28}.psi-profile-score span{font-size:12px;color:#c5d8f2}.psi-profile-score strong{color:#a5f4e4;font-size:19px}.psi-profile-score small{font-size:12px;color:#d2d8ee}
.psi-profile-support{border-top:1px solid #ffffff32;margin-top:10px;padding-top:16px;width:100%}.psi-profile-support h4{color:#fff;margin:0 0 8px}.psi-profile-support p{font-size:13px;line-height:1.6;color:#c5d8f2;margin:0 0 14px}.psi-profile-support .btn{white-space:normal;text-align:center}
/* The existing pageHero supports a fourth art/aside slot; position it on the right without changing other heroes. */
body[data-page="dashboard"] .hero:has(.psi-workspace-profile) .wrap,body[data-page="dashboard"] .page-hero:has(.psi-workspace-profile) .wrap{align-items:center}
body[data-page="dashboard"] .psi-workspace-profile{position:relative;z-index:2}
.psi-category-choice{position:relative;isolation:isolate;overflow:hidden;min-height:165px;border:1px solid #87a4d9;background:linear-gradient(132deg,#2d5a95 0%,#173961 35%,#382564 75%,#6a3b8c 100%);box-shadow:inset 0 2px 2px #ffffff50,inset 0 -13px 25px #0c0e2c55,0 13px 25px #040c244b;transform:perspective(800px) rotateX(0);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.psi-category-choice:nth-child(4n+2){background:linear-gradient(135deg,#1b677b,#154268 48%,#51338b)}
.psi-category-choice:nth-child(4n+3){background:linear-gradient(135deg,#6b3e86,#293d84 52%,#185c80)}
.psi-category-choice:nth-child(4n+4){background:linear-gradient(135deg,#84503b,#543267 50%,#203e79)}
.psi-category-choice::before{content:"";position:absolute;inset:0 0 55% 0;border-radius:inherit;background:linear-gradient(175deg,#ffffff50,#ffffff00);pointer-events:none;z-index:-1}
.psi-category-choice::after{content:"";position:absolute;inset:auto -30% -70% 20%;height:120%;background:radial-gradient(ellipse,#74e6e544,transparent 70%);pointer-events:none;z-index:-1}
.psi-category-choice svg{filter:drop-shadow(0 3px 4px #0007);color:#b7fff1}.psi-category-choice strong{font-size:17px;text-shadow:0 2px 5px #0007}.psi-category-choice span{font-weight:700;color:#a8fff0}
.psi-category-choice:hover,.psi-category-choice:focus-visible{transform:perspective(800px) translateY(-5px) rotateX(2deg);box-shadow:inset 0 2px 2px #ffffff66,0 22px 38px #030a2477;border-color:#a5f7ea}
/* Listing metadata: keep role, status and offer count as three compact right-aligned chips. */
.showcase-list-card .showcase-list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.showcase-list-card .showcase-list-heading h4{min-width:0;flex:1;margin:0}
.showcase-list-card .psi-listing-badges{display:flex;align-items:flex-start;justify-content:flex-end;gap:6px;flex-wrap:wrap;flex:0 1 60%;min-width:0;margin-top:2px}
.showcase-list-card .psi-listing-badges>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;max-width:100%;min-height:27px;padding:5px 9px;border-radius:999px;font-size:11px;line-height:1.2;white-space:nowrap;overflow:visible;text-align:center}
.showcase-list-card .psi-listing-badges .psi-offer-count{background:#f1e4ff;color:#512b78;border-color:#d5b9f0}
@media(max-width:960px){.showcase-list-card .showcase-list-heading{flex-direction:column}.showcase-list-card .psi-listing-badges{flex-basis:auto;justify-content:flex-start}}
@media(max-width:740px){.psi-workspace-profile{width:100%}.psi-category-choice{min-height:145px}.showcase-list-card .psi-listing-badges>span{white-space:normal}}
@media(prefers-reduced-motion:reduce){.psi-category-choice{transition:none}.psi-category-choice:hover{transform:none}}
@media(min-width:1000px){body[data-page="dashboard"] .page-hero>.wrap:has(.psi-workspace-profile){position:relative;min-height:295px;padding-right:370px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}body[data-page="dashboard"] .page-hero .psi-workspace-profile{position:absolute;right:0;top:12px;width:320px}body[data-page="dashboard"] .page-hero{overflow:visible}}
@media(max-width:999px){body[data-page="dashboard"] .page-hero .psi-workspace-profile{margin-top:22px}}

/* UX3: deterministic four-row listing layout; overrides historical flex card rules. */
#main .showcase-result-list .psi-listing-card{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;align-content:start;align-items:stretch;gap:10px;min-height:0;padding:16px 18px 18px;overflow:hidden}
#main .psi-listing-card .psi-listing-top{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;width:100%}
#main .psi-listing-card .psi-listing-top h4{margin:0!important;padding:0!important;font-size:19px;line-height:1.25;min-height:0;max-width:100%;overflow-wrap:anywhere;color:#fff}
#main .psi-listing-card .psi-listing-badges{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap;width:100%;min-width:0;margin:0}
#main .psi-listing-card .psi-listing-badges>span{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;width:auto!important;max-width:100%;min-height:25px;padding:4px 10px;border-radius:999px;white-space:nowrap!important;font-size:11px;line-height:1.2;box-sizing:border-box}
#main .psi-listing-card .psi-listing-content{display:grid;grid-template-columns:65px minmax(0,1fr) 36px;align-items:center;gap:13px;min-width:0}
#main .psi-listing-card .psi-listing-content .showcase-list-icon{grid-column:1;grid-row:1;margin:0}
#main .psi-listing-card .psi-listing-content p{grid-column:2;grid-row:1;margin:0!important;min-height:0;max-height:none;overflow-wrap:anywhere;line-height:1.5}
#main .psi-listing-card .psi-listing-content .showcase-card-open{grid-column:3;grid-row:1;position:static;display:grid;place-items:center;width:36px;height:36px;align-self:center;justify-self:end;border-radius:50%;background:#baf9f4;color:#0b2b4b}
#main .psi-listing-card .psi-listing-footer{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;min-width:0;margin:0;padding:0}
#main .psi-listing-card .psi-listing-footer>span{display:inline-flex;align-items:center;gap:4px;min-width:0}
/* UX3: allow the full profile and support panel to fit inside the dashboard hero. */
body[data-page="dashboard"] #main .page-hero:has(.psi-workspace-profile){height:auto!important;min-height:550px!important;max-height:none!important;overflow:visible!important;padding-top:54px;padding-bottom:55px}
body[data-page="dashboard"] #main .page-hero>.wrap:has(.psi-workspace-profile){height:auto!important;min-height:430px!important;max-height:none!important;box-sizing:border-box}
body[data-page="dashboard"] #main .page-hero .psi-workspace-profile{height:auto!important;max-height:none!important;overflow:visible!important;box-sizing:border-box;top:0;right:0}
@media(min-width:1000px){body[data-page="dashboard"] #main .page-hero>.wrap:has(.psi-workspace-profile){padding-right:370px!important}}
@media(max-width:999px){body[data-page="dashboard"] #main .page-hero:has(.psi-workspace-profile){min-height:0!important}body[data-page="dashboard"] #main .page-hero>.wrap:has(.psi-workspace-profile){min-height:0!important;padding-right:0!important}body[data-page="dashboard"] #main .page-hero .psi-workspace-profile{position:relative!important;width:min(100%,420px);margin:24px 0 0}}
@media(max-width:560px){#main .showcase-result-list .psi-listing-card{padding:14px 13px 16px;gap:9px}#main .psi-listing-card .psi-listing-top h4{font-size:17px}#main .psi-listing-card .psi-listing-content{grid-template-columns:46px minmax(0,1fr) 32px;gap:9px}#main .psi-listing-card .psi-listing-content .showcase-list-icon{width:46px;height:46px;flex-basis:46px}#main .psi-listing-card .psi-listing-content .showcase-card-open{width:32px;height:32px}#main .psi-listing-card .psi-listing-badges>span{font-size:10px;padding:4px 8px;white-space:normal!important}}

/* UX4: stable card structure at phone widths, no floating/oversized chip strip. */
#main .showcase-home-card .showcase-home-eyebrow{position:relative!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:9px!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
#main .showcase-home-card .psi-home-title{margin:0!important;padding:0!important;min-width:0!important;color:#fff;font-size:clamp(19px,2vw,24px);line-height:1.25;overflow-wrap:anywhere}
#main .showcase-home-card .psi-home-badges{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-width:0!important}
#main .showcase-home-card .psi-home-badges>span{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:28px!important;margin:0!important;padding:5px 10px!important;line-height:1.25!important;font-size:11px!important;white-space:normal!important;overflow-wrap:normal!important;border-radius:999px!important;text-align:center!important}
#main .showcase-home-card .showcase-home-content{min-height:0!important;margin:12px 0!important;align-items:center!important}
#main .showcase-home-card .showcase-home-meta{margin-top:auto;flex-wrap:wrap;gap:8px}
#main .showcase-home-card .showcase-home-meta .showcase-need-category{position:static!important;flex:0 1 auto!important;max-width:100%;font-size:11px!important;padding:5px 9px!important;border-radius:999px!important}
#main .showcase-home-card .showcase-home-meta .showcase-card-open{position:static!important;margin-left:auto!important;flex:0 0 36px!important}
/* Footer: brand mark and introduction share the same first row. */
#footer .footer-main>div:first-child{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;column-gap:16px!important;row-gap:0!important;min-width:0!important}
#footer .footer-main>div:first-child>.brand{grid-column:1!important;grid-row:1!important;align-self:center!important}
#footer .footer-main>div:first-child>p{grid-column:2!important;grid-row:1!important;margin:0!important;min-width:0!important;line-height:1.5!important}
@media(max-width:640px){
 #main .showcase-home-card{height:auto!important;min-height:0!important;padding:18px 18px 16px!important;gap:0!important}
 #main .showcase-home-card .psi-home-title{font-size:22px!important}
 #main .showcase-home-card .psi-home-badges>span{font-size:11px!important;padding:5px 9px!important;min-height:29px!important}
 #main .showcase-home-card .showcase-home-content{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(90px,35%)!important;gap:12px!important;min-height:115px!important;margin:14px 0 18px!important}
 #main .showcase-home-card .showcase-home-copy{min-width:0!important}
 #main .showcase-home-card .showcase-home-copy p{margin:0!important;font-size:13px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
 #main .showcase-home-card .showcase-art{position:static!important;width:100%!important;max-width:145px!important;max-height:145px!important;object-fit:contain!important;justify-self:center!important;transform:none!important}
 #main .showcase-home-card .showcase-home-meta{padding-top:12px!important;min-height:48px!important}
 #footer .footer-main>div:first-child{grid-template-columns:76px minmax(0,1fr)!important;column-gap:14px!important;align-items:center!important}
 #footer .footer-main>div:first-child>.brand{max-width:76px!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;font-size:12px!important;overflow-wrap:anywhere!important}
 #footer .footer-main>div:first-child>.brand .brand-mark{max-width:55px!important;max-height:55px!important}
 #footer .footer-main>div:first-child>p{font-size:13px!important;line-height:1.5!important}
}
@media(max-width:370px){#main .showcase-home-card .showcase-home-content{grid-template-columns:minmax(0,1fr) 92px!important;gap:8px!important}#footer .footer-main>div:first-child{grid-template-columns:66px minmax(0,1fr)!important;gap:10px!important}}

/* UX5: footer navigation headings */
#footer .footer-main h4{color:#ffa65b!important;text-shadow:0 1px 8px rgba(255,131,60,.16)}
/* UX5: reduce empty space after home benefit rail without affecting other pages */
@media(min-width:741px){body[data-page="home"] #main .benefit-rail + .section{padding-top:24px!important}body[data-page="home"] #main .benefit-rail{margin-bottom:0!important}}
@media(max-width:740px){body[data-page="home"] #main .benefit-rail + .section{padding-top:32px!important}}
/* UX5: category hero illustration, positioned independently of title */
body[data-page="categories"] #main .page-hero{overflow:hidden}
body[data-page="categories"] #main .page-hero>.wrap{position:relative;min-height:290px;padding-right:min(40%,490px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
body[data-page="categories"] #main .page-hero .psi-category-hero-art{position:absolute;right:0;top:50%;width:min(42%,490px);transform:translateY(-50%);pointer-events:none;animation:psi-category-float 7s ease-in-out infinite}
body[data-page="categories"] #main .psi-category-hero-art img{width:100%;height:auto;display:block;filter:drop-shadow(0 12px 28px #301a8055);-webkit-mask-image:radial-gradient(ellipse 69% 70% at center,#000 50%,transparent 100%);mask-image:radial-gradient(ellipse 69% 70% at center,#000 50%,transparent 100%)}
@keyframes psi-category-float{0%,100%{transform:translateY(-50%) translateY(0)}50%{transform:translateY(-50%) translateY(-12px)}}
/* Richer, distinct glossy color treatments for each category */
body[data-page="categories"] .psi-category-choice:nth-child(10n+1){background:linear-gradient(140deg,#087e9d,#154276 56%,#5933a0)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+2){background:linear-gradient(140deg,#ad4d91,#6b348f 50%,#292c7c)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+3){background:linear-gradient(140deg,#ce793c,#8a3c69 55%,#39275f)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+4){background:linear-gradient(140deg,#2a9986,#1c5c7a 52%,#30246e)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+5){background:linear-gradient(140deg,#536dd0,#354d9c 52%,#603581)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+6){background:linear-gradient(140deg,#ab5369,#8b3d76 52%,#45376f)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+7){background:linear-gradient(140deg,#447ab4,#3454a3 50%,#713b8d)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+8){background:linear-gradient(140deg,#b17c39,#84614a 50%,#533a81)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+9){background:linear-gradient(140deg,#377b82,#27706a 48%,#4a458d)}
body[data-page="categories"] .psi-category-choice:nth-child(10n+10){background:linear-gradient(140deg,#905cb5,#69409c 50%,#2a6195)}
body[data-page="categories"] .psi-category-choice{box-shadow:inset 0 2px 2px #ffffff66,inset 0 -12px 24px #07162a50,0 12px 26px #050b2655}
@media(max-width:740px){body[data-page="categories"] #main .page-hero>.wrap{min-height:0;padding-right:0;padding-bottom:180px;align-items:flex-start}body[data-page="categories"] #main .page-hero .psi-category-hero-art{top:auto;bottom:-30px;right:0;width:min(65%,270px);transform:none;animation:psi-category-float-mobile 7s ease-in-out infinite}@keyframes psi-category-float-mobile{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}}
@media(prefers-reduced-motion:reduce){body[data-page="categories"] #main .page-hero .psi-category-hero-art{animation:none!important}}

/* UX6: continuous, steady revolving categories artwork (no vertical bobbing) */
body[data-page="categories"] #main .page-hero .psi-category-hero-art{animation:none!important;transform:translateY(-50%)}
body[data-page="categories"] #main .psi-category-hero-art img{animation:psi-ux6-orbit 32s linear infinite;transform-origin:center center;will-change:transform}
@keyframes psi-ux6-orbit{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
/* Create listing: glossy 3D artwork and comfortable spacing */
body[data-page="post"] #main .page-hero{overflow:hidden}
body[data-page="post"] #main .page-hero>.wrap{position:relative;min-height:285px;padding-right:min(38%,460px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
body[data-page="post"] #main .psi-post-hero-art{position:absolute;right:0;top:50%;width:min(37%,430px);transform:translateY(-50%);pointer-events:none}
body[data-page="post"] #main .psi-post-hero-art img{display:block;width:100%;height:auto;filter:drop-shadow(0 14px 24px #1c146477)}
body[data-page="post"] #main .psi-post-choice .psi-choice-icon-3d{background:none;padding:0;display:block;width:112px;height:112px;border:0;overflow:visible}
body[data-page="post"] #main .psi-choice-icon-3d img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 13px #040b2255)}
@media(max-width:740px){
body[data-page="categories"] #main .page-hero .psi-category-hero-art{transform:none!important;top:auto;bottom:-30px;animation:none!important}
body[data-page="categories"] #main .psi-category-hero-art img{animation-duration:45s}
body[data-page="post"] #main .page-hero>.wrap{min-height:0;padding-right:0;padding-bottom:190px;align-items:flex-start}
body[data-page="post"] #main .psi-post-hero-art{top:auto;bottom:-22px;right:0;transform:none;width:min(66%,260px)}
body[data-page="post"] #main .psi-post-choice .psi-choice-icon-3d{width:92px;height:92px}
}
@media(prefers-reduced-motion:reduce){body[data-page="categories"] #main .psi-category-hero-art img{animation:none!important}}

/* UX7 — stable, gentle breathing/fade on Categories hero; no rotation */
@keyframes psi-ux7-breathe {
  0%,100% {transform:scale(0.965);opacity:.87}
  50% {transform:scale(1.035);opacity:1}
}
body[data-page="categories"] #main .psi-category-hero-art img {
 animation:psi-ux7-breathe 8s ease-in-out infinite !important;
 transform-origin:50% 50%;
 will-change:transform,opacity;
}
/* UX7 — prevent hero artwork from overlapping page copy */
body[data-page="post"] #main .page-hero>.wrap{isolation:isolate}
body[data-page="post"] #main .psi-post-hero-art{z-index:-1;overflow:visible}
body[data-page="post"] #main .psi-post-hero-art img{max-width:100%;object-fit:contain;filter:drop-shadow(0 14px 24px #1c146477)}
body[data-page="post"] #main .psi-choice-icon-3d img{border:0;background:transparent;object-fit:contain}
@media (max-width:740px){body[data-page="post"] #main .psi-post-hero-art{z-index:0}}
@media (prefers-reduced-motion:reduce){body[data-page="categories"] #main .psi-category-hero-art img{animation:none!important;transform:none!important;opacity:1!important}}

/* UX8: prevent the legacy jewel.css decorative bulb from overlapping the post artwork */
body[data-page="post"] #main .page-hero .wrap::after{content:none!important;display:none!important;background:none!important}
body[data-page="post"] #main .psi-post-hero-art{z-index:0!important}
body[data-page="post"] #main .page-hero .wrap>.eyebrow,
body[data-page="post"] #main .page-hero .wrap>h1,
body[data-page="post"] #main .page-hero .wrap>p{position:relative;z-index:1}
/* UX8: static Categories illustration, no motion at any breakpoint */
body[data-page="categories"] #main .psi-category-hero-art,
body[data-page="categories"] #main .psi-category-hero-art img{animation:none!important;transition:none!important;will-change:auto!important}
body[data-page="categories"] #main .psi-category-hero-art img{transform:none!important;opacity:1!important}
/* Category-specific raised glossy icon tiles */
body[data-page="categories"] .psi-category-choice .psi-category-glyph{
 width:54px;height:54px;flex:none;display:grid;place-items:center;border-radius:16px;
 background:radial-gradient(circle at 27% 16%,#ffffff8c,transparent 37%),linear-gradient(145deg,#8cf7ef,#4b9ee6 49%,#7c48db 88%);
 border:1px solid #e6ffffa6;box-shadow:inset 0 2px 3px #ffffffa8,inset 0 -7px 12px #25165e77,0 7px 14px #06152e8c;
 transform:perspective(180px) rotateX(7deg);position:relative;z-index:1
}
body[data-page="categories"] .psi-category-choice .psi-category-glyph svg{width:30px;height:30px;color:#fff;filter:drop-shadow(0 2px 2px #10235888)}
body[data-page="categories"] .psi-category-choice:nth-child(3n+2) .psi-category-glyph{background:radial-gradient(circle at 25% 15%,#ffffff99,transparent 40%),linear-gradient(145deg,#fba9de,#b066e8 55%,#5a4cc9)}
body[data-page="categories"] .psi-category-choice:nth-child(3n+3) .psi-category-glyph{background:radial-gradient(circle at 25% 15%,#ffffff99,transparent 40%),linear-gradient(145deg,#ffcf91,#ee8d71 55%,#9956b9)}
@media(max-width:740px){body[data-page="categories"] .psi-category-choice .psi-category-glyph{width:48px;height:48px}}

/* UX9: distinctive glossy category accents for the three new marketplace segments. */
body[data-page="categories"] .psi-category-choice:has(strong){min-height:150px}
body[data-page="categories"] .psi-category-choice:nth-last-child(4) .psi-category-glyph{background:radial-gradient(circle at 20% 12%,#ffffffb0,transparent 38%),linear-gradient(145deg,#81f5df,#15b7a6 52%,#514cc3)}
body[data-page="categories"] .psi-category-choice:nth-last-child(3) .psi-category-glyph{background:radial-gradient(circle at 20% 12%,#ffffffb0,transparent 38%),linear-gradient(145deg,#ffb8df,#e963a4 52%,#7950d3)}
body[data-page="categories"] .psi-category-choice:nth-last-child(2) .psi-category-glyph{background:radial-gradient(circle at 20% 12%,#ffffffb0,transparent 38%),linear-gradient(145deg,#ffce8c,#ff8c78 52%,#b45ac9)}

/* UX10: matching category glyphs on provider cards; clockwise hover glint. */
.provider .psi-provider-category-icon{position:relative;isolation:isolate;overflow:visible;border-radius:16px;box-shadow:inset 0 2px 3px #ffffff8c,inset 0 -6px 10px #181b5266,0 6px 14px #07152c80;border:1px solid #d4ffff85;}
.provider .psi-provider-category-icon svg{position:relative;z-index:2;filter:drop-shadow(0 2px 3px #0b153d9c)}
.psi-category-choice .psi-category-glyph,.provider .psi-provider-category-icon{isolation:isolate;}
/* The ring itself revolves; the icon and its pictogram remain upright. */
.psi-category-choice .psi-category-glyph::after,.provider .psi-provider-category-icon::after{content:'';position:absolute;inset:-4px;border-radius:inherit;padding:3px;background:conic-gradient(from 0deg,transparent 0deg,transparent 245deg,#64f7f0 282deg,#fff 304deg,#e8a1ff 325deg,transparent 352deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;pointer-events:none;z-index:3;}
.psi-category-choice:hover .psi-category-glyph::after,.psi-category-choice:focus-visible .psi-category-glyph::after,.provider:hover .psi-provider-category-icon::after,.provider:focus-within .psi-provider-category-icon::after{opacity:1;animation:psi-ux10-orbit 2.3s linear infinite;}
.psi-category-choice:hover .psi-category-glyph,.psi-category-choice:focus-visible .psi-category-glyph,.provider:hover .psi-provider-category-icon,.provider:focus-within .psi-provider-category-icon{box-shadow:inset 0 2px 3px #ffffffa8,0 0 15px #74f7f079,0 0 24px #bb7eff55,0 7px 14px #06152e8c;}
@keyframes psi-ux10-orbit{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.psi-category-choice .psi-category-glyph::after,.provider .psi-provider-category-icon::after{animation:none!important;opacity:0!important}}
@media(hover:none){.psi-category-choice .psi-category-glyph::after,.provider .psi-provider-category-icon::after{animation:none!important;opacity:0!important}}

/* UX14: mobile hero artwork belongs in the content flow, not at the bottom
   of a tall reserved absolute-positioned area. Desktop remains unchanged. */
@media (max-width:740px) {
  body[data-page="post"] #main .page-hero > .wrap,
  body[data-page="categories"] #main .page-hero > .wrap {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    min-height:0 !important;
    padding-right:0 !important;
    padding-bottom:0 !important;
    gap:0;
  }
  body[data-page="post"] #main .psi-post-hero-art,
  body[data-page="categories"] #main .psi-category-hero-art {
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    width:min(100%,430px) !important;
    max-width:100% !important;
    height:auto !important;
    margin:20px auto 0 !important;
    transform:none !important;
    z-index:0 !important;
    pointer-events:none;
    animation:none !important;
  }
  body[data-page="post"] #main .psi-post-hero-art img,
  body[data-page="categories"] #main .psi-category-hero-art img {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    object-fit:contain !important;
    animation:none !important;
    transform:none !important;
  }
  body[data-page="post"] #main .page-hero,
  body[data-page="categories"] #main .page-hero {overflow:hidden}
}

/* UX14: only approved public listing details get the emerald/teal theme.
   Forms, example listings, and provider dialogs are unaffected. */
#modal .modal-box:has(> .need-detail--public) {
  background:
    radial-gradient(ellipse at 0% 0%,rgba(72,231,172,.28),transparent 55%),
    radial-gradient(ellipse at 100% 100%,rgba(227,89,190,.23),transparent 53%),
    linear-gradient(145deg,#123c45 0%,#123f43 38%,#142b45 75%,#2a1d49 100%) !important;
  border:1px solid rgba(116,244,205,.65) !important;
  box-shadow:0 24px 85px #0009,inset 0 1px 0 #ffffff20 !important;
  color:#f6fffd !important;
}
#modal .modal-box:has(> .need-detail--public) :is(h3,.detail-title) {color:#fff !important}
#modal .modal-box:has(> .need-detail--public) :is(p,.detail-description,.detail-budget) {color:#d9f3ef !important}
#modal .modal-box:has(> .need-detail--public) .detail-kicker .chip {
  background:linear-gradient(125deg,#0e645b,#287c69) !important;
  border:1px solid #8bf4cb !important;
  color:#effff9 !important;
}
#modal .modal-box:has(> .need-detail--public) .modal-close {
  background:#1a555b !important;color:#f6fffd !important;border:1px solid #8ce4d4 !important;
}


/* UX15 — centered Post Now cards; retain the exact existing glossy artwork. */
body[data-page="post"] #main .psi-post-choice {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:0;padding:32px 24px;min-width:0;
}
body[data-page="post"] #main .psi-post-choice .psi-choice-icon-3d {
  display:block;width:116px;height:116px;margin:0 auto 8px;flex:0 0 auto;
}
body[data-page="post"] #main .psi-post-choice .psi-choice-icon-3d img {
  width:100%;height:100%;object-fit:contain;
}
body[data-page="post"] #main .psi-post-choice h2 {margin:8px 0 10px;text-align:center}
body[data-page="post"] #main .psi-post-choice p {margin:0 0 23px;text-align:center}
body[data-page="post"] #main .psi-post-choice .btn {margin:0 auto;align-self:center}

/* UX15 — category icon on far left, title/link in right column, all BELOW the glossy flap. */
body[data-page="categories"] #main .psi-category-choice {
  display:grid;grid-template-columns:64px minmax(0,1fr);
  grid-template-rows:auto auto;align-content:end;align-items:center;
  column-gap:clamp(18px,3vw,42px);row-gap:9px;
  padding:69px 19px 22px;min-height:174px;text-align:left;
}
body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {
  grid-column:1;grid-row:1 / span 2;align-self:center;
  width:60px;height:60px;margin:0;
}
body[data-page="categories"] #main .psi-category-choice > strong {
  grid-column:2;grid-row:1;margin:0;min-width:0;line-height:1.3;
}
body[data-page="categories"] #main .psi-category-choice > span:last-child {
  grid-column:2;grid-row:2;margin:0;min-width:0;line-height:1.4;
}
@media(max-width:740px){
  body[data-page="post"] #main .psi-post-choice {padding:25px 18px;min-height:250px}
  body[data-page="post"] #main .psi-post-choice .psi-choice-icon-3d {width:108px;height:108px}
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:64px minmax(0,1fr);column-gap:clamp(18px,7vw,50px);
    padding:67px 18px 20px;min-height:169px;
  }
  body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {width:60px;height:60px}
}
@media(max-width:360px){
  body[data-page="categories"] #main .psi-category-choice {column-gap:16px;grid-template-columns:58px minmax(0,1fr)}
  body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {width:56px;height:56px}
}

/* UX16 — spread category icon and information to opposite sides of each card.
   Keep both below the glossy flap and preserve the existing art and shimmer. */
body[data-page="categories"] #main .psi-category-choice {
  grid-template-columns:64px minmax(0,55%);
  justify-content:space-between;
  column-gap:14px;
}
@media(max-width:740px){
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:64px minmax(0,58%);
    justify-content:space-between;
    column-gap:12px;
  }
}
@media(max-width:360px){
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:58px minmax(0,60%);
    column-gap:10px;
  }
}

/* UX17: consistent right-side text rail for every category, including wrapped names.
   Icons remain at the left; both rails stay below the glossy flap. */
body[data-page="categories"] #main .psi-category-choice {
  box-sizing:border-box;
  grid-template-columns:64px minmax(0,48%);
  grid-template-rows:minmax(0,auto) auto;
  justify-content:space-between;
  align-content:end;
  align-items:center;
  column-gap:12px;
  row-gap:8px;
  padding:69px 18px 22px;
}
body[data-page="categories"] #main .psi-category-choice > strong,
body[data-page="categories"] #main .psi-category-choice > span:last-child {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:0;
  text-align:left;
  justify-self:stretch;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
body[data-page="categories"] #main .psi-category-choice > strong {
  line-height:1.3;
  align-self:end;
  text-wrap:balance;
}
body[data-page="categories"] #main .psi-category-choice > span:last-child {
  align-self:start;
  line-height:1.4;
}
@media(max-width:740px) {
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:64px minmax(0,53%);
    column-gap:12px;
    padding:67px 18px 20px;
  }
}
@media(max-width:360px) {
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:58px minmax(0,55%);
    column-gap:10px;
    padding-left:14px;
    padding-right:14px;
  }
}

/* UX18: align category icon and title at same top baseline BELOW the glossy flap.
   Right-anchored, shared text rail; one-line labels when space permits. */
body[data-page="categories"] #main .psi-category-choice {
  display:grid;
  box-sizing:border-box;
  grid-template-columns:60px minmax(0,1fr);
  grid-template-rows:auto auto;
  justify-content:stretch;
  align-content:start;
  align-items:start;
  column-gap:14px;
  row-gap:8px;
  min-height:194px;
  padding:94px 18px 19px;
  text-align:left;
}
body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {
  grid-column:1;
  grid-row:1 / span 2;
  align-self:start;
  justify-self:start;
  width:60px;
  height:60px;
  margin:0;
}
body[data-page="categories"] #main .psi-category-choice > strong,
body[data-page="categories"] #main .psi-category-choice > span:last-child {
  grid-column:2;
  box-sizing:border-box;
  display:block;
  width:min(100%, 220px);
  max-width:100%;
  min-width:0;
  justify-self:end;
  align-self:start;
  margin:0;
  padding:0;
  text-align:left;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  text-wrap:wrap;
}
body[data-page="categories"] #main .psi-category-choice > strong {
  grid-row:1;
  line-height:1.3;
}
body[data-page="categories"] #main .psi-category-choice > span:last-child {
  grid-row:2;
  line-height:1.4;
}
@media(max-width:740px) {
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:58px minmax(0,1fr);
    min-height:185px;
    padding:91px 17px 18px;
    column-gap:14px;
  }
  body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {
    width:58px;height:58px;
  }
  body[data-page="categories"] #main .psi-category-choice > strong,
  body[data-page="categories"] #main .psi-category-choice > span:last-child {
    width:min(100%, 220px);
  }
}
@media(max-width:360px) {
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:52px minmax(0,1fr);
    column-gap:12px;
    padding:89px 13px 17px;
  }
  body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {
    width:52px;height:52px;
  }
}


/* UX19: dynamic, content-sized text on the RIGHT edge of each card.
   Unlike UX18's fixed 220px rail, shorter titles start further right.
   Keep the icon and title aligned at the top, beneath the glossy flap. */
body[data-page="categories"] #main .psi-category-choice {
  display:grid;
  grid-template-columns:60px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:14px;
  row-gap:8px;
  align-content:start;
  align-items:start;
  justify-content:stretch;
  padding:94px 18px 19px;
  min-height:194px;
}
body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {
  grid-column:1;
  grid-row:1 / span 2;
  align-self:start;
  justify-self:start;
  margin:0;
  width:60px;
  height:60px;
}
body[data-page="categories"] #main .psi-category-choice > strong,
body[data-page="categories"] #main .psi-category-choice > span:last-child {
  grid-column:2;
  display:block;
  box-sizing:border-box;
  width:max-content;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:0;
  justify-self:end;
  align-self:start;
  text-align:right;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
body[data-page="categories"] #main .psi-category-choice > strong {
  grid-row:1;
  line-height:1.3;
  text-wrap:wrap;
}
body[data-page="categories"] #main .psi-category-choice > span:last-child {
  grid-row:2;
  line-height:1.4;
  white-space:nowrap;
}
@media(max-width:740px) {
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:58px minmax(0,1fr);
    min-height:185px;
    padding:91px 17px 18px;
    column-gap:14px;
  }
  body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {
    width:58px;
    height:58px;
  }
}
@media(max-width:360px) {
  body[data-page="categories"] #main .psi-category-choice {
    grid-template-columns:52px minmax(0,1fr);
    column-gap:12px;
    padding:89px 13px 17px;
  }
  body[data-page="categories"] #main .psi-category-choice .psi-category-glyph {
    width:52px;
    height:52px;
  }
}

/* UX20: approved premium glossy art + provider cards. Visual-only update. */
#main .page-hero:has(.ux20-hero-art) > .wrap {position:relative;min-height:315px;padding-right:min(39vw,485px);display:flex;flex-direction:column;justify-content:center}
#main .page-hero .ux20-hero-art {position:absolute;right:0;top:50%;transform:translateY(-50%);width:min(37vw,460px);height:auto;max-height:315px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 10px 24px rgba(51,128,255,.16))}
#main .page-hero:has(.ux20-hero-art) h1 {max-width:780px}
#main .ux20-dashboard-art {display:block;width:min(100%,260px);height:auto;max-height:160px;object-fit:contain;margin:0 auto 8px;pointer-events:none}
#main .page-hero:has(.ux20-dashboard-art) > .wrap {min-height:0}
#main .ux20-provider {position:relative;isolation:isolate;overflow:hidden;min-width:0;border:1.5px solid rgba(99,234,248,.7);border-radius:25px;padding:27px 23px 22px;min-height:300px;background:linear-gradient(138deg,rgba(12,172,193,.65),rgba(13,61,110,.97) 52%,rgba(66,66,157,.86));box-shadow:inset 0 2px 2px rgba(255,255,255,.47),inset 0 -3px 5px rgba(60,240,255,.14),0 12px 30px rgba(0,0,0,.19),0 0 14px rgba(20,224,242,.12);transition:transform .24s ease,box-shadow .24s ease}
#main .ux20-provider:nth-child(4n+2){background:linear-gradient(135deg,#ae4dcb,#4d237a 63%,#34396e);border-color:#e1a0ff}
#main .ux20-provider:nth-child(4n+3){background:linear-gradient(135deg,#07b6b6,#07536a 60%,#3c468e);border-color:#4af5ed}
#main .ux20-provider:nth-child(4n+4){background:linear-gradient(135deg,#d97989,#84336d 58%,#542c81);border-color:#ffb0cf}
#main .ux20-provider:before{content:'';position:absolute;z-index:-1;left:-8%;right:-8%;top:-10%;height:45%;border-radius:0 0 48% 48%;background:linear-gradient(170deg,rgba(255,255,255,.48),rgba(255,255,255,.06) 65%,transparent);box-shadow:0 2px 1px rgba(255,255,255,.15);pointer-events:none}
#main .ux20-provider .avatar{height:74px;width:74px;border-radius:21px;background:linear-gradient(145deg,#79faff,#348fe7 53%,#aa32ce)!important;border:1px solid rgba(255,255,255,.7);box-shadow:inset 0 3px 7px rgba(255,255,255,.6),inset 0 -5px 8px rgba(30,11,90,.3),0 9px 20px rgba(0,0,0,.27),0 0 18px rgba(96,250,255,.22)}
#main .ux20-provider .avatar svg{width:34px;height:34px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.18))}
#main .ux20-provider .chip{align-self:flex-start;border:1px solid rgba(255,255,255,.42);background:rgba(255,255,255,.14);color:#fff;border-radius:30px}
#main .ux20-provider h4{color:#fff;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
#main .ux20-provider p,#main .ux20-provider .muted{color:#f3f9ff}
#main .ux20-provider .inline.between{gap:9px;flex-wrap:wrap;align-items:center}
#main .ux20-provider .btn.outline{background:linear-gradient(110deg,#75fff0,#48c6e6 58%,#6874e9);color:#092a48;border:1px solid rgba(255,255,255,.8);box-shadow:0 3px 12px rgba(36,203,246,.2);font-weight:750}
@media (hover:hover) and (prefers-reduced-motion:no-preference){#main .ux20-provider:hover{transform:translateY(-5px);box-shadow:inset 0 2px 2px rgba(255,255,255,.55),0 18px 36px rgba(0,0,0,.25),0 0 23px rgba(89,242,255,.4)}}
@media(max-width:850px){#main .page-hero:has(.ux20-hero-art) > .wrap{padding-right:20px;min-height:0;display:flex;align-items:stretch;padding-bottom:18px}#main .page-hero .ux20-hero-art{position:relative;right:auto;top:auto;transform:none;display:block;width:min(100%,420px);max-height:260px;margin:16px auto 0}#main .ux20-provider{min-height:280px}}
@media(max-width:520px){#main .page-hero .ux20-hero-art{width:min(100%,350px);max-height:230px}#main .ux20-provider{padding:22px 18px;min-height:0}#main .ux20-provider .inline.between{align-items:flex-start}#main .ux20-dashboard-art{max-height:115px;width:min(100%,200px)}}

/* UX21: artwork exported with true alpha; keep illustrations in their own rail. */
#main .page-hero:has(.ux20-hero-art) > .wrap {padding-right:clamp(350px,39vw,500px);overflow:visible;isolation:isolate}
#main .page-hero .ux20-hero-art {right:0;top:50%;width:min(35vw,450px);max-height:320px;object-fit:contain;z-index:0;filter:drop-shadow(0 14px 23px rgba(52,130,255,.18))}
#main .page-hero:has(.ux20-hero-art) .eyebrow,#main .page-hero:has(.ux20-hero-art) h1,#main .page-hero:has(.ux20-hero-art) p {position:relative;z-index:1}
@media(max-width:850px){#main .page-hero:has(.ux20-hero-art) > .wrap{padding-right:20px;min-height:0}#main .page-hero .ux20-hero-art{position:relative;top:auto;right:auto;transform:none;width:min(100%,400px);max-height:290px;margin:24px auto 0}}
@media(max-width:520px){#main .page-hero .ux20-hero-art{width:min(100%,340px);max-height:250px;margin-top:18px}}

/* UX23: clean transparent developer artwork and larger post illustration */
body[data-page="developers"] #main .page-hero .ux20-hero-art{width:min(39vw,490px);max-height:350px;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(46,143,247,.13))}
@media(min-width:851px){body[data-page="post"] #main .page-hero>.wrap{padding-right:clamp(400px,43vw,550px);min-height:330px}body[data-page="post"] #main .psi-post-hero-art{position:absolute;right:0;top:50%;bottom:auto;transform:translateY(-50%);width:min(43%,520px);z-index:0}}
body[data-page="post"] #main .psi-post-hero-art img{display:block;width:100%;height:auto;object-fit:contain;background:transparent;filter:drop-shadow(0 12px 22px rgba(40,109,220,.16))}
@media(max-width:850px){body[data-page="developers"] #main .page-hero .ux20-hero-art{width:min(100%,430px);max-height:300px;margin:20px auto 0}body[data-page="post"] #main .psi-post-hero-art{position:relative;top:auto;bottom:auto;right:auto;transform:none;width:min(100%,440px);margin:22px auto 0;z-index:0}body[data-page="post"] #main .page-hero>.wrap{padding-right:20px}}
@media(max-width:520px){body[data-page="developers"] #main .page-hero .ux20-hero-art{width:min(100%,360px);max-height:260px}body[data-page="post"] #main .psi-post-hero-art{width:min(100%,390px)}}

/* UX24: Trust legal content spans available width, no right-side blank column */
body[data-page="trust"] #main .section .wrap > .box.legal {
  box-sizing:border-box!important; width:100%!important; max-width:none!important;
  margin-left:0!important; margin-right:0!important; grid-column:1/-1!important;
}
body[data-page="trust"] #main .section .wrap > .box.legal p {max-width:none!important}
/* UX24: transparent post artwork; preserve responsive hero sizing */
body[data-page="post"] #main .psi-post-hero-art,
body[data-page="post"] #main .psi-post-hero-art img {background:transparent!important;box-shadow:none!important}
body[data-page="post"] #main .psi-post-hero-art img {object-fit:contain!important}
@media(max-width:850px){body[data-page="post"] #main .psi-post-hero-art{max-width:440px!important}}
@media(max-width:520px){body[data-page="trust"] #main .section .wrap > .box.legal{padding:22px 18px!important}}


/* Dashboard horizontal summary and compact workspace — November 2026 */
body[data-page="dashboard"] #main .psi-dashboard-hero{height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:40px 0 28px!important;background:radial-gradient(ellipse at 88% 5%,#342267 0%,transparent 45%),linear-gradient(110deg,#092d50,#101a3c 76%)!important;color:#f5f9ff}
body[data-page="dashboard"] #main .psi-dashboard-hero>.wrap{position:relative!important;display:block!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;box-sizing:border-box}
body[data-page="dashboard"] #main .psi-dashboard-hero h1{font-size:clamp(32px,4vw,51px);color:#fff;max-width:calc(100% - 230px)}
body[data-page="dashboard"] #main .psi-dashboard-hero .eyebrow{color:#a9f7e8}
body[data-page="dashboard"] #main .psi-dashboard-hero p{color:#c4d5ee;max-width:calc(100% - 230px);margin:10px 0 0}
body[data-page="dashboard"] #main .psi-dashboard-hero .psi-dashboard-corner-art{position:absolute!important;right:0!important;top:-12px!important;display:block!important;width:205px!important;height:138px!important;max-height:none!important;object-fit:contain!important;margin:0!important;pointer-events:none}
body[data-page="dashboard"] #main .psi-dashboard-summary{position:relative;z-index:2;display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(100px,1fr));gap:0;align-items:center;margin-top:30px;padding:18px 14px;border:1px solid #557eaa;border-radius:20px;background:linear-gradient(105deg,#1b3e65e8,#19264cdd 65%,#342253e8);box-shadow:0 12px 28px #07132c55}
body[data-page="dashboard"] #main .psi-summary-person{display:flex;align-items:center;gap:12px;min-width:0;padding:0 12px}
body[data-page="dashboard"] #main .psi-summary-person .psi-profile-avatar{width:54px;height:54px;flex:0 0 54px;border-radius:16px}
body[data-page="dashboard"] #main .psi-summary-name{display:block;color:#fff;font-size:17px;overflow-wrap:anywhere}
body[data-page="dashboard"] #main .psi-summary-plan{display:block;color:#a9f7e8;font-size:12px}
body[data-page="dashboard"] #main .psi-summary-stat{min-width:0;padding:5px 13px;border-left:1px solid #ffffff30}
body[data-page="dashboard"] #main .psi-summary-stat>span{display:block;color:#c6d8ef;font-size:12px}
body[data-page="dashboard"] #main .psi-summary-stat>strong{display:block;color:#a8f7e9;font-size:clamp(16px,1.7vw,23px);line-height:1.35;margin-top:5px;overflow-wrap:anywhere}
body[data-page="dashboard"] #main .psi-summary-stat small{display:block;color:#c6d8ef;font-size:10px;font-weight:500}
body[data-page="dashboard"] #main .psi-dashboard-section{padding-top:32px}
body[data-page="dashboard"] #main .psi-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
body[data-page="dashboard"] #main .psi-dashboard-heading h2{font-size:clamp(26px,3vw,36px)}
body[data-page="dashboard"] #main .psi-dashboard-support{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;color:#e8f4ff;font-size:13px;font-weight:800}
body[data-page="dashboard"] #main .psi-dashboard-support>span{display:inline-flex;align-items:center;gap:7px}
body[data-page="dashboard"] #main .psi-dashboard-toolbar{display:flex;align-items:center;gap:16px;margin:15px 0 12px;justify-content:space-between}
body[data-page="dashboard"] #main .psi-dashboard-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;min-width:0}
body[data-page="dashboard"] #main .psi-dashboard-tabs .tab{margin:0;text-decoration:none!important}
body[data-page="dashboard"] #main .psi-dashboard-tabs .tab.active{background:linear-gradient(110deg,#91f1e1,#79d6ed);color:#082b45;border-color:#9ef6e7}
body[data-page="dashboard"] #main .psi-billing-tab{background:#233c61;color:#e9f6ff;border-color:#6688b4}
body[data-page="dashboard"] #main .psi-signout{margin-left:auto;flex:none;background:linear-gradient(115deg,#ffe577,#ffab3d 55%,#f78c3e);color:#342208;border:1px solid #ffe19a;border-radius:999px;box-shadow:0 5px 15px #e68c3833;text-decoration:none!important}
body[data-page="dashboard"] #main .psi-dashboard-create{display:flex;justify-content:flex-end;margin-bottom:12px}
body[data-page="dashboard"] #main .psi-dashboard-section a,body[data-page="dashboard"] #main .psi-dashboard-section button{text-decoration:none!important}
body[data-page="dashboard"] #main .psi-dashboard-content{min-width:0}
@media(max-width:980px){body[data-page="dashboard"] #main .psi-dashboard-summary{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:16px}body[data-page="dashboard"] #main .psi-summary-person{grid-column:1/-1;padding-bottom:13px;border-bottom:1px solid #ffffff30}body[data-page="dashboard"] #main .psi-summary-stat:first-of-type{border-left:0}body[data-page="dashboard"] #main .psi-dashboard-toolbar{align-items:flex-start}}
@media(max-width:650px){body[data-page="dashboard"] #main .psi-dashboard-hero h1,body[data-page="dashboard"] #main .psi-dashboard-hero p{max-width:100%}body[data-page="dashboard"] #main .psi-dashboard-hero .psi-dashboard-corner-art{position:relative!important;top:auto!important;right:auto!important;margin:8px auto 0!important;width:165px!important;height:105px!important}body[data-page="dashboard"] #main .psi-dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px;padding:14px 8px}body[data-page="dashboard"] #main .psi-summary-stat:nth-child(2n){border-left:0}body[data-page="dashboard"] #main .psi-dashboard-heading{align-items:flex-start}body[data-page="dashboard"] #main .psi-dashboard-support{justify-content:flex-start}body[data-page="dashboard"] #main .psi-dashboard-toolbar{flex-wrap:wrap}body[data-page="dashboard"] #main .psi-signout{margin-left:auto}body[data-page="dashboard"] #main .psi-dashboard-tabs{width:100%}}

/* Dashboard navigation alignment fix: no redundant Post Now row. */
body[data-page="dashboard"] #main .psi-dashboard-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:18px!important;row-gap:12px!important;margin:16px 0 20px!important;min-height:52px!important}
body[data-page="dashboard"] #main .psi-dashboard-tabs{width:auto!important;min-width:0!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important}
body[data-page="dashboard"] #main .psi-signout{grid-column:2;justify-self:end;align-self:center;margin:0!important;position:static!important;min-height:44px!important;padding:11px 19px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}
body[data-page="dashboard"] #main .psi-dashboard-create{display:none!important}
@media(max-width:700px){body[data-page="dashboard"] #main .psi-dashboard-toolbar{grid-template-columns:minmax(0,1fr)!important}body[data-page="dashboard"] #main .psi-signout{grid-column:1;justify-self:end}}

/* Member identity: prevent the ID and join date from colliding with activity stats. */
body[data-page="dashboard"] #main .psi-dashboard-summary{
  grid-template-columns:minmax(275px,2.1fr) repeat(4,minmax(95px,1fr));
}
body[data-page="dashboard"] #main .psi-summary-person > div:last-child{
  flex:1 1 auto;min-width:0;
}
body[data-page="dashboard"] #main .psi-summary-member-id,
body[data-page="dashboard"] #main .psi-summary-joined{
  display:block;
  max-width:100%;
  font-size:12px;
  line-height:1.5;
  color:#c6d8ef;
  overflow-wrap:anywhere;
}
body[data-page="dashboard"] #main .psi-summary-member-id{margin-top:3px;color:#a9f7e8;}
@media(max-width:980px){
  body[data-page="dashboard"] #main .psi-dashboard-summary{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:650px){
  body[data-page="dashboard"] #main .psi-dashboard-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Explore listing metadata — preserves the existing card surface and colors. */
#main .psi-listing-card .psi-listing-date{margin-left:auto;display:inline-flex;align-items:center;gap:5px;color:#eaf5ff;font-size:11px;white-space:nowrap}
#main .psi-listing-card .psi-listing-date .ico{width:13px;height:13px}
#main .psi-listing-card .psi-listing-footer .psi-listing-extra{margin-left:auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0;font-size:11px;color:#eaf5ff}
#main .psi-listing-card .psi-listing-extra>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
#main .psi-listing-card .psi-listing-extra .ico{width:14px;height:14px}
#main .psi-listing-card .psi-poster-rating .ico{color:#ffe36b;fill:#ffe36b}
#main .psi-listing-card .psi-listing-interest{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#ffe0ec;font:inherit;font-weight:600;cursor:pointer;padding:3px 2px;white-space:nowrap}
#main .psi-listing-card .psi-listing-interest .ico{color:#ff80b5;stroke-width:2.3}
#main .psi-listing-card .psi-listing-interest.is-interested .ico{fill:#ff80b5}
#main .psi-listing-card .psi-listing-interest:focus-visible{outline:2px solid #baf9f4;outline-offset:3px;border-radius:4px}
#main .psi-listing-card .psi-listing-interest:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){#main .psi-listing-card .psi-listing-date{margin-left:0}#main .psi-listing-card .psi-listing-footer .psi-listing-extra{width:100%;margin-left:0;justify-content:flex-end;gap:8px}#main .psi-listing-card .psi-listing-footer .psi-listing-extra:empty{display:none}}

/* Explore listing width adjustment — preserve two desktop columns and mobile stacking. */
@media (min-width: 761px) {
  body[data-page="explore"] #main .showcase-result-list {
    width: 100%;
    max-width: 1160px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* UX17 — approved Explore detail: preserve the emerald envelope styling. */
@media (min-width: 701px) {
  #modal .modal-box:has(> .need-detail--public) {
    width:min(800px, calc(100vw - 40px)) !important;
  }
}
#modal .modal-box:has(> .need-detail--public) .detail-kicker {
  margin-top:-9px;
  margin-bottom:12px;
}
#modal .modal-box:has(> .need-detail--public) .psi-detail-description-panel {
  padding:15px 18px;
  margin:11px 0 18px;
  border-radius:15px;
  border:1px solid rgba(140,228,218,.38);
  background:linear-gradient(125deg,rgba(13,78,79,.38),rgba(26,41,77,.32));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
#modal .modal-box:has(> .need-detail--public) .psi-detail-description-panel .detail-description {
  margin:0 !important;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
#modal .modal-box:has(> .need-detail--public) .psi-detail-meta {
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;
  gap:9px 18px;margin:13px 0 17px;
  font-size:12px;color:#e1f7f5;
}
#modal .modal-box:has(> .need-detail--public) .psi-detail-meta-start,
#modal .modal-box:has(> .need-detail--public) .psi-detail-meta-end {
  display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;
}
#modal .modal-box:has(> .need-detail--public) .psi-detail-meta-item {
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
}
#modal .modal-box:has(> .need-detail--public) .psi-detail-rating .ico {color:#ffd36b}
#modal .modal-box:has(> .need-detail--public) .psi-detail-interest .ico {color:#ff8fc4}
#modal .modal-box:has(> .need-detail--public) .detail-footer {
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  margin-top:16px;
}
#modal .modal-box:has(> .need-detail--public) .detail-footer .btn[data-action="report-item"] {
  margin-left:auto;
}
@media(max-width:570px){
  #modal .modal-box:has(> .need-detail--public) .psi-detail-description-panel{padding:13px 14px}
  #modal .modal-box:has(> .need-detail--public) .psi-detail-meta{font-size:11px}
  #modal .modal-box:has(> .need-detail--public) .detail-footer{flex-wrap:wrap}
}


/* Explore: phone-only card layout refinement (2026-11). Desktop untouched. */
@media (max-width: 600px) {
  body[data-page="explore"] #main .showcase-result-list .psi-listing-card {
    grid-template-rows: auto auto auto !important;
    gap: 12px !important;
    padding: 16px 15px 17px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-top {
    gap: 9px !important;
    padding: 0 !important;
    min-height: 0 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-top h4 {
    font-size: 19px !important;
    line-height: 1.25 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    padding-bottom: 0 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-badges > span:not(.psi-listing-date) {
    font-size: 10px !important;
    min-height: 25px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-date {
    display: inline-flex !important;
    flex: 0 0 100% !important;
    justify-content: flex-end !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-content {
    grid-template-columns: 48px minmax(0,1fr) 34px !important;
    gap: 10px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-content .showcase-list-icon {
    width: 48px !important;
    height: 48px !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-content p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    min-width: 0 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-footer {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px 10px !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-footer .psi-listing-extra {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 7px 12px !important;
    margin: 0 !important;
    font-size: 11px !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-extra:empty { display:none !important; }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-extra > span,
  body[data-page="explore"] #main .psi-listing-card .psi-listing-interest {
    white-space: nowrap !important;
    line-height: 1.3 !important;
  }
}


/* Explore detail: glossy, high-contrast private-offer CTA only. */
#modal .modal-box:has(> .need-detail--public) .detail-footer .btn[data-action="offer"] {
  background:linear-gradient(115deg,#71f2e4 0%,#79dff4 42%,#a3f6a8 100%) !important;
  color:#092d45 !important;
  border:1px solid rgba(207,255,249,.95) !important;
  font-weight:800;
  text-shadow:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 -2px 5px rgba(14,83,107,.15),0 6px 19px rgba(65,232,218,.28) !important;
  transition:filter .18s ease,box-shadow .18s ease,transform .18s ease;
}
#modal .modal-box:has(> .need-detail--public) .detail-footer .btn[data-action="offer"] :is(svg,.ico) {color:#092d45 !important;stroke:currentColor}
@media(hover:hover){
  #modal .modal-box:has(> .need-detail--public) .detail-footer .btn[data-action="offer"]:hover {
    filter:brightness(1.07);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 25px rgba(65,232,218,.4) !important;
    transform:translateY(-1px);
  }
}
#modal .modal-box:has(> .need-detail--public) .detail-footer .btn[data-action="offer"]:focus-visible {outline:2px solid #fff;outline-offset:3px}


/* Explore public listing detail: approved Nov 2026 visual refinements.
   Scope narrowly to the public detail modal; do not alter cards or forms. */
#modal .modal-box:has(> .need-detail--public) .detail-kicker {
  margin-top: -18px !important;
  margin-bottom: 10px !important;
}
#modal .modal-box:has(> .need-detail--public) .detail-budget {
  display: table;
  max-width: 100%;
  margin: 17px 0 14px !important;
  font-size: clamp(18px, 2.2vw, 23px) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: -.025em;
  color: #ffcd29 !important; /* readable fallback */
  background: linear-gradient(90deg, #ffe86c 0%, #ffc92f 42%, #ff921f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 7px rgba(255, 175, 32, .17));
}
#modal .modal-box:has(> .need-detail--public) .detail-budget strong {
  font: inherit;
  color: inherit !important;
  -webkit-text-fill-color: inherit;
}
/* Three different glossy identities: request, category, location. */
#modal .modal-box:has(> .need-detail--public) .detail-tags > .chip:nth-child(3) {
  background: linear-gradient(105deg, #7643b3 0%, #48226f 100%) !important;
  border: 1px solid #bd83f5 !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 #ffffff44, 0 3px 10px #49177444 !important;
}
#modal .modal-box:has(> .need-detail--public) .detail-tags > .chip:nth-child(4) {
  background: linear-gradient(105deg, #00b9d9 0%, #087db9 52%, #263baf 100%) !important;
  border: 1px solid #73e9ff !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 #ffffff55, 0 3px 11px #007fd044 !important;
}
#modal .modal-box:has(> .need-detail--public) .detail-tags > .chip.gray:nth-child(5) {
  background: linear-gradient(105deg, #13bfa8 0%, #087b86 55%, #095467 100%) !important;
  border: 1px solid #6bf5df !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 #ffffff55, 0 3px 11px #0a8c9144 !important;
}
#modal .modal-box:has(> .need-detail--public) .detail-tags > .chip.gray:nth-child(5) :is(svg,.ico) {
  color: #fff !important;
}
@media (max-width: 570px) {
  #modal .modal-box:has(> .need-detail--public) .detail-kicker {
    margin-top: -10px !important;
  }
  #modal .modal-box:has(> .need-detail--public) .detail-budget {
    font-size: 18px !important;
    margin: 14px 0 12px !important;
  }
}

/* UX18: public listing detail begins directly with the title; badge removed.
   Keep the close button clear, and leave illustrative-example dialogs unchanged. */
#modal .modal-box:has(> .need-detail--public) .need-detail--public > .detail-title {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding-right: 44px;
  overflow-wrap: anywhere;
}
@media (max-width: 570px) {
  #modal .modal-box:has(> .need-detail--public) .need-detail--public > .detail-title {
    padding-right: 38px;
  }
}

/* UX19: raise the public listing title into the unused top space.
   Keep right padding so the close control remains unobstructed. */
#modal .modal-box:has(> .need-detail--public) .need-detail--public > .detail-title {
  margin-top: -24px !important;
}
@media (max-width: 570px) {
  #modal .modal-box:has(> .need-detail--public) .need-detail--public > .detail-title {
    margin-top: -15px !important;
  }
}

/* UX20: fix the actual top spacing, rather than a collapsing negative h3 margin.
   Scope exclusively to public listing detail dialogs. */
#modal .modal-box:has(> .need-detail--public) {
  padding-top: 19px !important;
}
#modal .modal-box:has(> .need-detail--public) > .need-detail--public {
  display: flow-root; /* prevent the first heading margin from collapsing outward */
}
#modal .modal-box:has(> .need-detail--public) > .need-detail--public > .detail-title {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding-right: 48px !important;
}
@media (max-width: 570px) {
  #modal .modal-box:has(> .need-detail--public) {padding-top: 18px !important;}
  #modal .modal-box:has(> .need-detail--public) > .need-detail--public > .detail-title {padding-right: 44px !important;}
}

/* UX21: subtle qualified-view metadata, retaining the existing signature cards. */
.psi-listing-views,.psi-detail-views {display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
.psi-listing-views .ico,.psi-detail-views .ico {color:#8ce7ff;stroke:#8ce7ff;}
.psi-listing-extra {column-gap:10px;row-gap:7px;flex-wrap:wrap;}
.psi-detail-meta-end {column-gap:14px;row-gap:8px;flex-wrap:wrap;}
@media (max-width: 650px) {
 .psi-listing-footer {row-gap:9px;}
 .psi-listing-extra {justify-content:flex-end;max-width:100%;}
 .psi-detail-meta {row-gap:8px;}
 .psi-detail-meta-end {justify-content:flex-end;}
}

/* Detail-window interest: same heart accent as Explore, now an accessible action. */
#modal .need-detail--public .psi-detail-interest-button {
  display:inline-flex;align-items:center;gap:5px;appearance:none;border:0;
  padding:3px 4px;border-radius:7px;background:transparent;color:inherit;
  font:inherit;line-height:inherit;cursor:pointer;white-space:nowrap;
}
#modal .need-detail--public .psi-detail-interest-button .ico {color:#ff8fc4;stroke-width:2.3}
#modal .need-detail--public .psi-detail-interest-button.is-interested .ico {fill:#ff8fc4}
#modal .need-detail--public .psi-detail-interest-button:hover {background:rgba(255,143,196,.10)}
#modal .need-detail--public .psi-detail-interest-button:focus-visible {outline:2px solid #baf9f4;outline-offset:2px}
#modal .need-detail--public .psi-detail-interest-button:disabled {opacity:.65;cursor:wait}


/* UX22 — mobile Explore date anchored bottom-left; existing desktop styling unchanged.
   The date remains in its original DOM position for accessibility. */
@media (max-width:600px) {
  body[data-page="explore"] #main .showcase-result-list .psi-listing-card {
    position:relative !important;
    padding-bottom:43px !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-date {
    position:absolute !important;
    inset:auto auto 15px 14px !important;
    display:inline-flex !important;
    width:max-content !important;
    max-width:calc(100% - 28px) !important;
    flex:none !important;
    justify-content:flex-start !important;
    margin:0 !important;
    padding:0 !important;
    z-index:2;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-footer {
    min-width:0 !important;
  }
  body[data-page="explore"] #main .psi-listing-card .psi-listing-footer .psi-listing-extra {
    margin-left:auto !important;
    width:auto !important;
    max-width:100% !important;
    justify-content:flex-end !important;
  }
}

/* UX22 — mobile public detail: primary offer and report actions share one row.
   Preserve the existing glossy CTA colors, icon, and interaction. */
@media (max-width:600px) {
  #modal .modal-box:has(> .need-detail--public) .detail-footer {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    width:100%;
    min-width:0;
  }
  #modal .modal-box:has(> .need-detail--public) .detail-footer .btn[data-action="offer"] {
    flex:0 1 auto !important;
    min-width:0 !important;
    max-width:65%;
    margin:0 !important;
    padding:11px clamp(9px,2.8vw,16px) !important;
    font-size:clamp(10px,2.8vw,13px) !important;
    white-space:nowrap !important;
  }
  #modal .modal-box:has(> .need-detail--public) .detail-footer .btn[data-action="report-item"] {
    flex:0 1 auto !important;
    min-width:0 !important;
    margin:0 0 0 auto !important;
    padding:11px clamp(8px,2.5vw,14px) !important;
    font-size:clamp(10px,2.6vw,12px) !important;
    white-space:nowrap !important;
  }
  #modal .modal-box:has(> .need-detail--public) .detail-footer .btn :is(svg,.ico) {
    flex-shrink:0;
  }
}

/* Postings.si signature forms — scoped exclusively to offer and report dialogs. */
#modal .modal-box:has(> #offer-form),
#modal .modal-box:has(> #report-form) {
  width:min(100% - 24px, 610px);
  max-height:min(88dvh, 860px);
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid rgba(137,199,238,.72);
  border-radius:27px;
  background:linear-gradient(145deg,#294c78 0%,#14284c 58%,#30204e 100%);
  box-shadow:0 24px 75px rgba(0,5,23,.58),inset 0 1px rgba(255,255,255,.16);
  color:#f5fbff;
}
#modal .modal-box:has(> :is(#offer-form,#report-form)) > h3 {color:#fff;letter-spacing:-.025em;padding-right:40px}
#modal .modal-box:has(> :is(#offer-form,#report-form)) > p {color:#c9ddf1;line-height:1.65}
#modal :is(#offer-form,#report-form) .field {margin-bottom:19px}
#modal :is(#offer-form,#report-form) .field > label {display:block;color:#f0f8ff;font-weight:700;margin-bottom:8px}
#modal :is(#offer-form,#report-form) :is(.input,.select,.textarea) {
  width:100%;max-width:100%;box-sizing:border-box;
  background:linear-gradient(180deg,#e4f5ff,#d0e8f7);
  color:#123453;border:1px solid #95c9e8;border-radius:14px;
  box-shadow:inset 0 2px 5px rgba(13,53,86,.10),0 1px 0 rgba(255,255,255,.15);
  padding:13px 15px;min-height:48px;outline:none;
}
#modal :is(#offer-form,#report-form) .textarea {min-height:124px;resize:vertical}
#modal :is(#offer-form,#report-form) :is(.input,.select,.textarea)::placeholder {color:#57738d;opacity:1}
#modal :is(#offer-form,#report-form) :is(.input,.select,.textarea):focus-visible {
  border-color:#70f2e6;box-shadow:0 0 0 3px rgba(89,231,225,.25),0 0 18px rgba(76,225,231,.19);
}
#modal #offer-form .psi-trust-ack {
  background:linear-gradient(125deg,rgba(33,63,95,.94),rgba(42,44,84,.88));
  border:1px solid rgba(234,202,119,.66);border-left:3px solid #eac977;
  border-radius:15px;padding:15px;margin:18px 0;color:#f5f5ef;
  box-shadow:inset 0 1px rgba(255,255,255,.08);
}
#modal #offer-form .psi-trust-ack label {color:#f5f5ef}
#modal #offer-form .psi-trust-ack a {color:#9be9fa;text-decoration:underline;text-underline-offset:3px}
#modal #offer-form .psi-trust-ack input[type=checkbox] {accent-color:#68e5d5;flex-shrink:0}
#modal #offer-form > button[type=submit],#modal #offer-form > button.btn:last-child {
  color:#10334c!important;background:linear-gradient(110deg,#62e7e9,#a0f3ad)!important;
  border:1px solid #d4fff2!important;border-radius:999px;
  box-shadow:inset 0 2px 1px rgba(255,255,255,.45),0 7px 20px rgba(62,227,213,.23);
  font-weight:800;text-shadow:none!important;
}
#modal #report-form > button[type=submit],#modal #report-form > button.btn:last-child {
  color:#fff!important;background:linear-gradient(110deg,#2bbfe5,#647eea,#9865d9)!important;
  border:1px solid #9ad9ff!important;border-radius:999px;
  box-shadow:inset 0 2px 1px rgba(255,255,255,.24),0 7px 20px rgba(91,122,231,.26);
  font-weight:800;text-shadow:none!important;
}
#modal :is(#offer-form,#report-form) > button.btn:last-child {min-height:48px;padding:12px 22px;transition:filter .2s,transform .2s}
#modal :is(#offer-form,#report-form) > button.btn:last-child:hover {filter:brightness(1.07);transform:translateY(-1px)}
#modal :is(#offer-form,#report-form) > button.btn:last-child:focus-visible {outline:3px solid #c9f8ff;outline-offset:3px}
@media(max-width:640px){
  #modal .modal-box:has(> :is(#offer-form,#report-form)) {width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:25px 19px;border-radius:23px}
  #modal :is(#offer-form,#report-form) > button.btn:last-child {width:100%}
}
@media(prefers-reduced-motion:reduce){#modal :is(#offer-form,#report-form) > button.btn:last-child {transition:none}}

/* UX23 — mobile Explore: date and activity on a single metadata row. */
.psi-mobile-footer-date{display:none}
@media(max-width:600px){
 body[data-page="explore"] #main .showcase-result-list .psi-listing-card{padding-bottom:16px!important}
 body[data-page="explore"] #main .psi-listing-card .psi-listing-badges>.psi-listing-date{display:none!important}
 body[data-page="explore"] #main .psi-listing-card .psi-listing-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px 6px!important;align-items:center!important}
 body[data-page="explore"] #main .psi-listing-card .psi-listing-footer>span:first-child{grid-column:1;grid-row:1}
 body[data-page="explore"] #main .psi-listing-card .psi-listing-footer>.showcase-need-category{grid-column:2;grid-row:1;justify-self:end}
 body[data-page="explore"] #main .psi-listing-card .psi-mobile-footer-date{grid-column:1;grid-row:2;display:flex!important;min-width:0!important;align-items:center!important}
 body[data-page="explore"] #main .psi-listing-card .psi-mobile-footer-date .psi-listing-date{position:static!important;inset:auto!important;display:inline-flex!important;margin:0!important;max-width:100%!important;font-size:10px!important;white-space:nowrap!important}
 body[data-page="explore"] #main .psi-listing-card .psi-listing-footer .psi-listing-extra{grid-column:2;grid-row:2;width:auto!important;max-width:100%!important;min-width:0!important;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end!important;gap:6px!important;margin:0!important;font-size:10px!important}
 body[data-page="explore"] #main .psi-listing-card .psi-listing-extra>span,body[data-page="explore"] #main .psi-listing-card .psi-listing-extra>button{white-space:nowrap!important;font-size:10px!important;min-width:0!important}
 body[data-page="explore"] #main .psi-listing-card .psi-listing-extra .ico{width:12px!important;height:12px!important}
}
@media(max-width:380px){body[data-page="explore"] #main .psi-listing-card .psi-listing-footer .psi-listing-extra{gap:4px!important;font-size:9px!important}body[data-page="explore"] #main .psi-listing-card .psi-listing-extra>span,body[data-page="explore"] #main .psi-listing-card .psi-listing-extra>button{font-size:9px!important}}
/* UX23 — signature icy-blue form controls, including Safari/iOS native input rendering. */
#modal :is(#offer-form,#report-form) :is(input.input,select.select,textarea.textarea){background:#bfdef3!important;background-image:linear-gradient(180deg,#d0eafb 0%,#b9d9ef 100%)!important;color:#143753!important;-webkit-text-fill-color:#143753;border:1px solid #7abde5!important;box-shadow:inset 0 2px 5px rgba(13,53,86,.13),0 1px 0 rgba(255,255,255,.22)!important;color-scheme:light}
#modal :is(#offer-form,#report-form) :is(input.input,textarea.textarea)::placeholder{color:#496a85!important;-webkit-text-fill-color:#496a85!important;opacity:1}
#modal :is(#offer-form,#report-form) :is(input.input,select.select,textarea.textarea):focus{border-color:#72f2e6!important;box-shadow:0 0 0 3px rgba(89,231,225,.26),0 0 16px rgba(76,225,231,.18)!important}

/* UX24 — Explore mobile cards: limit preview description to two lines.
   Full listing content in the detail modal remains unaffected. */
@media (max-width: 740px) {
  body[data-page="explore"] #main .showcase-result-list .psi-listing-card .psi-listing-content p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    max-height: 2.9em !important;
  }
}
