/* Calendar and reviewed portfolios: scoped to avoid directory regressions. */
.sth-community-box{background:#fff;color:#102e27;border-radius:18px;padding:28px;margin:24px 0;text-align:left;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
.sth-community-box h3,.sth-community-box h4{color:#102e27;margin:0 0 14px}.sth-community-box p{color:#29483f;line-height:1.6}.sth-community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.sth-community-card{border:1px solid #ccdad5;border-radius:12px;padding:20px;margin:12px 0;background:#f8fbf9;min-width:0}.sth-community-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sth-community-form label{display:flex;flex-direction:column;gap:8px;color:#183b30;font-weight:600;min-width:0}.sth-community-form textarea,.sth-community-form input,.sth-community-form select{box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid #94aaa1;border-radius:8px;background:#fff;color:#12372b;font:inherit}.sth-community-form textarea{min-height:112px;resize:vertical}.sth-community-box button,.sth-community-button{display:inline-block;border:0;border-radius:9px;background:#06372b;color:#e5ff9b;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;align-self:end}.sth-community-box a{color:#12623e}.sth-community-box a.sth-community-button{color:#e5ff9b}.sth-community-review{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}.sth-community-status,.sth-community-notice{padding:12px;border-radius:8px;background:#e8f5dc;color:#20472c}.sth-community-sample{display:block;margin:10px 0}.sth-community-form .sth-community-check{flex-direction:row;align-items:center}.sth-community-check input{width:auto}.sth-community-box :focus-visible{outline:3px solid #2489eb;outline-offset:3px}@media(max-width:640px){.sth-community-box{padding:20px 16px}.sth-community-form{grid-template-columns:1fr}.sth-community-review button{width:100%}}

.sm-dashboard .sth-community-box,.sth-marketplace .sth-community-box{color:#102e27!important}
.sm-dashboard .sth-community-box h3,.sm-dashboard .sth-community-box h4,.sm-dashboard .sth-community-box p,.sm-dashboard .sth-community-box label,.sm-dashboard .sth-community-box strong,.sm-dashboard .sth-community-box span,.sth-marketplace .sth-community-box h3,.sth-marketplace .sth-community-box h4,.sth-marketplace .sth-community-box p,.sth-marketplace .sth-community-box strong,.sth-community-box h3,.sth-community-box h4,.sth-community-box label{color:#183b30!important;opacity:1!important;visibility:visible!important}
.sm-dashboard .sth-community-box a,.sth-marketplace .sth-community-box a{color:#12623e!important}.sm-dashboard .sth-community-box a.sth-community-button,.sth-marketplace .sth-community-box a.sth-community-button,.sth-community-box button{color:#e5ff9b!important}.sth-class-alerts[hidden]{display:none!important}

/* Force light-surface typography above site-wide dark-dashboard rules. */
.sthonet-company-site #sa-member-dashboard .sth-community-box :is(h3,h4,p,label,strong,span,small),.sthonet-company-site #sa-marketplace .sth-community-box :is(h3,h4,p,label,strong,span,small),.sth-community-box :is(input,textarea,select){color:#183b30!important;-webkit-text-fill-color:#183b30!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
.sthonet-company-site #sa-member-dashboard .sth-community-box :is(button,a.sth-community-button),.sthonet-company-site #sa-marketplace .sth-community-box :is(button,a.sth-community-button){color:#e5ff9b!important;-webkit-text-fill-color:#e5ff9b!important}

.sth-community-box .sth-request-badge{display:inline-block;margin-top:10px;padding:8px 12px;border-radius:8px;font-weight:700;color:#183b30!important;-webkit-text-fill-color:#183b30!important}.sth-request-approved{background:#def3d8;border:1px solid #98bd8e}.sth-request-pending{background:#fff0c5;border:1px solid #d6b85a}.sth-request-rejected{background:#f9dfdc;border:1px solid #cba09a}.sth-community-box button.sth-request-revoke{background:#7b3027!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
