/* Only the public work grids: divisors of 12 avoid a ragged full page. */
:is(#worldWorksBody,#studentWorldWorksBody,#worldProjectsBody,#studentWorldProjectsBody){container-type:inline-size;container-name:sc3172works}
@supports (container-type:inline-size){
 :is(#worldWorksBody,#studentWorldWorksBody,#worldProjectsBody,#studentWorldProjectsBody):not(.work-list-v2710) .world-works-grid{grid-template-columns:repeat(1,minmax(0,1fr))!important}
 @container sc3172works (min-width:462px){:is(#worldWorksBody,#studentWorldWorksBody,#worldProjectsBody,#studentWorldProjectsBody):not(.work-list-v2710) .world-works-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
 @container sc3172works (min-width:700px){:is(#worldWorksBody,#studentWorldWorksBody,#worldProjectsBody,#studentWorldProjectsBody):not(.work-list-v2710) .world-works-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
 @container sc3172works (min-width:938px){:is(#worldWorksBody,#studentWorldWorksBody,#worldProjectsBody,#studentWorldProjectsBody):not(.work-list-v2710) .world-works-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
 @container sc3172works (min-width:1414px){:is(#worldWorksBody,#studentWorldWorksBody,#worldProjectsBody,#studentWorldProjectsBody):not(.work-list-v2710) .world-works-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
}
.sc3172-page-note{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#596f7b;font-size:12px;padding:8px 12px;margin:0 0 10px;background:#fff;border:1px solid #d5e0e6;border-radius:10px}
.sc3172-page-note[hidden]{display:none!important}.sc3172-page-note.is-error{color:#8b4c2c;background:#fff7ef}.sc3172-page-note button{border:1px solid #d5e0e6;background:#fff;color:#304958;border-radius:8px;padding:8px 12px;font:inherit;cursor:pointer;min-height:36px}

/* 3.1.8.9: one focus ring, explicit search, clear pending/empty states */
#view-world .sc31653-search,#studentWorldWorksPanel .student-world-search{border:1px solid #d6e1e6!important;box-shadow:none!important;background:#fff!important;min-width:0}
#view-world .sc31653-search:focus-within,#studentWorldWorksPanel .student-world-search:focus-within{border-color:#608c92!important;box-shadow:0 0 0 2px rgba(96,140,146,.14)!important}
#view-world #worldUnifiedSearchV2699,#studentWorldWorksPanel #studentWorldWorkSearch{appearance:none!important;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;min-width:0;flex:1;}
#view-world #worldUnifiedSearchV2699:focus-visible,#studentWorldWorksPanel #studentWorldWorkSearch:focus-visible{outline:none!important;box-shadow:none!important;outline-offset:0!important}
.sc3189-search-btn{flex:0 0 auto;border:1px solid #bdcfd5!important;border-radius:10px!important;padding:0 14px!important;min-height:44px;background:#f5f8f9!important;color:#345968!important;font-size:13px!important;font-weight:700;cursor:pointer;white-space:nowrap}
#studentWorldWorksPanel .sc3189-search-btn{min-height:34px;padding:0 10px!important;margin:3px 0;}
.sc3189-search-btn:hover{background:#e8f1f2!important}
.sc3189-ranking-hidden{display:none!important}
.sc3189-result-empty{min-height:148px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:8px;padding:20px;border:1px solid #dce5e9;border-radius:14px;background:#fff;color:#607783;overflow-wrap:anywhere}
.sc3189-result-empty strong{font-size:16px;color:#344e60}.sc3189-result-empty p{margin:0;font-size:13px}.sc3189-result-empty .line-icon{width:22px;height:22px}
@media(max-width:620px){#view-world .sc31653-search-row{flex-wrap:wrap}#view-world .sc31653-search{flex:1 1 55%}#view-world .sc31653-clear{min-height:36px!important}#studentWorldWorksPanel .student-world-search{width:100%;}}
#view-world #worldWorksPanel .world-layout>.sc3166-ranking.sc3189-ranking-hidden,#studentApp #studentWorldWorksPanel .sc3166-ranking.sc3189-ranking-hidden{display:none!important}
