/* S196: consistent three-mode layouts. Only requisites and rubric routes. */
/* Requisites page uses the same content geometry and typographic hierarchy as /kompanii/nayti/. */
.s122-directory{
 box-sizing:border-box;max-width:1100px;width:100%;margin:26px auto 60px;
 padding:0 23px 0;color:#20334e;
}
.s122-directory .s122-breadcrumb{
 margin:0 0 22px;gap:11px;font-size:13px;color:#6d7990;
}
.s122-directory .s122-breadcrumb a{color:#2768b7}
.s122-directory .s122-intro{
 max-width:none;text-align:left;margin:0 0 12px;padding:0;
}
.s122-directory .s122-intro h1{
 margin:0;font-size:clamp(29px,4vw,44px);line-height:1.16;
 letter-spacing:normal;font-weight:700;color:#20334e;
}
.s122-directory .s189-directory-switch{
 margin:0 0 20px;justify-content:flex-start;
}
.s122-directory .s122-search{
 box-sizing:border-box;width:100%;max-width:100%;
 margin:0;padding:28px 28px 22px;
 border:1px solid #b9ccff;border-radius:18px;background:#fff;
 box-shadow:0 12px 28px -24px rgba(37,103,249,.38);
}
.s122-directory .s122-results{width:100%;max-width:none;margin:30px 0 0}
.s122-directory .s122-results-head{margin:0 0 13px}
.s122-directory .s122-results h2{
 font-size:22px;margin:0;font-weight:650;letter-spacing:normal;
}
.s122-directory .s122-result-list{
 box-sizing:border-box;width:100%;grid-template-columns:minmax(0,1fr);gap:13px;
}
.s122-directory .s122-result-list>li{min-width:0}
.s122-directory .s122-result-link{
 box-sizing:border-box;min-width:0;width:100%;min-height:90px;
 border:1px solid #dce6f2;border-radius:15px;
 padding:16px 18px;background:#fff;
 box-shadow:0 5px 14px rgba(38,73,120,.035);
}
.s122-directory .s122-about{
 max-width:1000px;margin:32px 0 0;padding:24px 0 0;
 border:0;border-top:1px solid #e2e9f3;border-radius:0;
 background:none;box-shadow:none;
}
.s122-directory .s122-about h2{
 margin:0 0 10px;color:#182c48;font-size:20px;line-height:1.35;letter-spacing:normal;
}
.s122-directory .s122-about>p{
 max-width:900px;margin:0 0 10px;color:#465d79;font-size:14px;line-height:1.65;
}
.s122-directory .s122-about .s122-footnote{
 margin:10px 0 0;padding:0;border:0;color:#677891;font-size:13px;
}
/* S197: .s122-input had flex:1 inside a flex-column field, so its 52px
   declared height collapsed to 24px on desktop/tablet. Prevent flex shrink
   and keep input/select/button aligned at the same 52px height. */
.s122-directory .s190-name-field .s122-input{
 box-sizing:border-box;flex:0 0 52px;height:52px;min-height:52px;max-height:52px;
}
.s122-directory .s190-name-field .s122-input input{
 box-sizing:border-box;min-width:0;height:100%;min-height:0;
}
/* Search mode formerly capped list cards at 1000px: cards now align exactly to search form. */
.s176-shell .s176-results{box-sizing:border-box;width:100%;max-width:none}
.s176-shell .s176-results .s176-list,
.s176-shell .s176-results .s186-list{box-sizing:border-box;width:100%;max-width:none}
.s176-shell .s176-results .s186-result-shell{box-sizing:border-box;width:100%;max-width:none}
@media(max-width:700px){
 .s122-directory{margin:18px auto 55px;padding:0 15px}
 .s122-directory .s122-intro{margin-bottom:12px}
 .s122-directory .s122-search{padding:20px 17px 17px}
 .s122-directory .s122-results{margin-top:30px}
 .s122-directory .s122-about{margin-top:25px;padding-top:20px}
}
@media(max-width:560px){
 .s122-directory .s122-input{box-sizing:border-box;width:100%}
 .s122-directory .s122-result-link{padding:14px}
}
@media(prefers-reduced-motion:reduce){
 .s122-directory .s122-result-link{transition:none}
}
