/* Глобальний пошук — GlobalSearchResultPage (геометрія і стилі зняті з udc.creatio.com: .global-search-wrapper) */
.gs-page { display: flex; flex-direction: column; height: 100%; font-family: 'Bpmonline Open Sans', sans-serif; color: #444; }
.gs-page .cl-hdr { flex: none; }
.gs-wrap { display: flex; flex: 1; min-height: 0; border-top: 1px solid #e0e0e0; }
.gs-left { width: 320px; flex: none; box-sizing: border-box; border-right: 1px solid #dbdbdb; overflow-y: auto; min-height: 300px; }
.gs-all { display: block; box-sizing: border-box; min-height: 30px; padding: 0 30px 0 35px; color: #444; font: 14px/33px 'Bpmonline Open Sans', sans-serif; cursor: pointer; text-decoration: none; }
.gs-all:hover, .gs-all[selected="true"] { background: #e4ebfa; }
.gs-all[selected="true"] { font-weight: 600; }
.gs-item { display: flex; box-sizing: border-box; min-height: 30px; padding-left: 35px; color: #444; cursor: pointer; }
.gs-item:hover, .gs-item[selected="true"] { background: #e4ebfa; }
.gs-item[selected="true"] .gs-link { font-weight: 600; }
.gs-ico { width: 16px; height: 16px; margin: 9px 15px 0 0; flex: none; }
.gs-link { color: #444; font: 14px/33px 'Bpmonline Open Sans', sans-serif; padding-right: 30px; text-decoration: none; }
/* праворуч: ширина лишається calc(100% - 320px) і без лівого фільтра — так у Creatio (порожній результат центрується в 1048px) */
.gs-main { flex: 1; min-width: 0; max-width: calc(100% - 320px); position: relative; min-height: 300px; display: flex; flex-direction: column; }
.gs-list { flex: 1; min-height: 0; overflow: auto; }
.gs-row.selected { background: #e4ebfa; }
.gs-rowin { display: flex; margin: 0 20px; border-bottom: 1px solid #e0e0e0; }
.gs-img { width: 32px; height: 32px; margin: 12px 14px 0 6px; flex: none; }
.gs-img img { display: block; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
/* сітка: перший ряд з відступом 7px, кожен ряд + 3px, останній + 6px (grid-layout-row у Creatio) */
.gs-grid { flex: 1; min-width: 0; padding: 7px 0 6px; }
.gs-grow { display: flex; min-height: 36px; align-items: flex-start; margin-bottom: 3px; }
.gs-col { box-sizing: border-box; display: flex; flex-direction: column; min-width: 0; }
.gs-lbl { display: block; font: 13px/18px 'Bpmonline Open Sans', sans-serif; color: #999; text-align: left; padding-left: 1px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-plink { display: block; width: auto; max-width: 99%; margin-top: -1px; padding-left: 1px; font: 14px/19px 'Bpmonline Open Sans', sans-serif; color: #4e7bd8; text-decoration: none; cursor: pointer; overflow-wrap: break-word; }
.gs-vlink { display: block; width: auto; max-width: 99%; margin: -4px 0 0 1px; font: 14px/25.9px 'Bpmonline Open Sans', sans-serif; color: #4e7bd8 !important; text-decoration: none; cursor: pointer; overflow-wrap: break-word; }
.gs-val { display: block; margin-left: 1px; font: 14px/19px 'Bpmonline Open Sans', sans-serif; color: #444; overflow-wrap: break-word; }
.gs-plink:hover, .gs-vlink:hover { text-decoration: underline; }
.gs-found { margin: 0 0 3px; }
.gs-found > div { display: block; }
.gs-found > div:not(:last-child) { padding-bottom: 2px; }
.gs-fcap, .gs-fval { display: inline; font: 13px/18px 'Bpmonline Open Sans', sans-serif; color: #999; padding-left: 1px; }
.gs-fcap::after { content: ":"; margin-right: 5px; }
.gs-fval { overflow-wrap: break-word; }
.gs-page b { font-family: 'Bpmonline Open Sans Bold', sans-serif; font-weight: normal; }
.gs-spin { height: 36px; margin: 6px auto; width: 24px; border: 3px solid #e4ebfa; border-top-color: #4e7bd8; border-radius: 50%; animation: gs-rot .8s linear infinite; }
@keyframes gs-rot { to { transform: rotate(360deg); } }
/* порожній результат (.search-empty-result): 18px / 20px Light, відступ 70px */
.gs-main .search-empty-result { margin-top: 70px; }
.gs-main .search-empty-result .title { font-size: 18px; }
.gs-main .search-empty-result .description { font-size: 20px; }
.gs-main .search-empty-result .description a { color: #4e7bd8; text-decoration: none; }
