/* PayChina Marketplace V2.1: balanced hero actions and precise form alignment. */
.hero{padding-top:clamp(36px,5vw,66px)!important;padding-bottom:42px!important}.hero h1{margin-bottom:14px!important}.hero>p{margin-bottom:23px!important}
.hero-primary-actions{display:flex;justify-content:center;align-items:stretch;gap:13px;margin:0 auto 25px;max-width:630px}
.hero-cta{min-height:56px;flex:1;padding:14px 24px;border-radius:14px;font-size:15px;font-weight:800;letter-spacing:.01em;transition:transform .17s ease,box-shadow .17s ease}.hero-cta:hover{transform:translateY(-2px)}
.hero-cta-primary{border:1px solid #155e48;background:#155e48;color:white;box-shadow:0 11px 25px #135f4330}
.hero-cta-secondary{border:1.5px solid #2d8461;background:#f6fcf8;color:#155e48;box-shadow:0 6px 16px #0e64400d}
.hero-cta:focus-visible{outline:3px solid #86d2ad;outline-offset:3px}.hero-tabs{margin-top:14px!important}
.hero-tabs button{color:#557668!important;border:1px solid #deebe2!important;border-radius:999px!important;background:#f8fcf9!important;padding:8px 14px!important;min-width:auto!important}
.hero-tabs button.selected{background:#e7f4ed!important;color:#0c6548!important;border-color:#c8e5d5!important}.hero-facts{margin-top:17px!important}
.pc-ack-row,.market-app-panel .pc-ack-row{display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:start!important;column-gap:12px!important;row-gap:0!important;width:100%;margin:12px 0!important;font-size:13px!important;font-weight:400!important;line-height:1.65!important;color:#2a4036}
.pc-ack-row input[type=checkbox],.market-app-panel .pc-ack-row input[type=checkbox]{appearance:auto;display:block!important;box-sizing:border-box!important;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;max-width:19px!important;padding:0!important;margin:2px 0 0!important;accent-color:#146348;border:0;justify-self:start;align-self:start}
.pc-ack-row .pc-ack-copy{display:block!important;min-width:0!important;line-height:1.65!important;margin:0!important;font-size:inherit!important;color:inherit}.pc-ack-row .pc-ack-copy a{color:#106b50;font-weight:800;text-decoration:underline;text-underline-offset:3px}
#postModal .modal{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto}#postModal .modal-buttons{margin-top:14px}
#marketTaskPanel{border:1px solid #e1eae3;border-radius:17px}#marketTaskPanel .market-task-card{transition:transform .18s,box-shadow .18s}#marketTaskPanel .market-task-card:hover{transform:translateY(-2px);box-shadow:0 13px 32px #145d2f16}
.market-home-more a{transition:background .15s,transform .15s}.market-home-more a:hover{background:#e8f6ed;transform:translateY(-1px)}.pc-site-footer .pc-footer-inner[hidden]{display:none!important}
@media(max-width:760px){.hero{padding:38px 0 28px!important}.hero-primary-actions{gap:10px;margin-bottom:22px}.hero-cta{min-height:52px;font-size:13px;padding:13px 15px;border-radius:12px}.hero>p{margin-bottom:22px!important}.pc-ack-row,.market-app-panel .pc-ack-row{grid-template-columns:19px minmax(0,1fr);column-gap:11px!important;font-size:12px!important}}
@media(max-width:380px){.hero-cta{font-size:12px;padding:12px 9px}.hero-primary-actions{gap:8px}}

/* The original empty-state layout must not stretch one recommended card across desktop. */
#marketTaskPanel #publishedTaskResults.market-task-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important;align-items:stretch!important;width:100%;justify-items:stretch}
#marketTaskPanel #publishedTaskResults.market-task-list>.market-task-card{grid-column:auto!important;max-width:100%;width:100%;min-width:0}
@media(max-width:760px){#marketTaskPanel #publishedTaskResults.market-task-list{grid-template-columns:1fr!important;gap:14px!important}}
/* Keep recommended descriptions inside the inner card bounds; previous 100% width plus horizontal margins clipped the second task. */
#marketTaskPanel #publishedTaskResults .market-task-card>:not(.market-task-banner){box-sizing:border-box;min-width:0;max-width:calc(100% - 30px)!important}
#marketTaskPanel #publishedTaskResults .market-task-desc{width:auto!important;max-width:calc(100% - 30px)!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis;line-height:1.72;margin-top:8px;margin-bottom:12px}
#marketTaskPanel #publishedTaskResults .market-task-head{width:auto!important;display:flex;align-items:flex-start;gap:8px}
#marketTaskPanel #publishedTaskResults .market-task-head strong{flex:1;min-width:0;overflow-wrap:anywhere}
#marketTaskPanel #publishedTaskResults .market-task-foot{width:auto!important}
@media(max-width:750px){#marketTaskPanel #publishedTaskResults .market-task-card>:not(.market-task-banner){max-width:calc(100% - 26px)!important}#marketTaskPanel #publishedTaskResults .market-task-desc{max-width:calc(100% - 26px)!important}}
