@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/Inter-Medium.woff2") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/Inter-Bold.woff2") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("fonts/Inter-ExtraBold.woff2") format("woff2");
}

:root {
    --bg: #e8f0f8;
    --blue: #1785aa;
    --blue-dark: #1a2546;
    --line: #d3e1f1;
    --muted: #8695af;
    --text: #32394d;
    --tab-bg: #efeff0;
    --row: #efeff0;
    --yellow: #f8d043;
    --yellow-border: #f0bc20;
}

html {
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: #f47621;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button,
input,
select {
    font: inherit;
}

.portal-shell {
    min-height: 100vh;
}

.portal-top {
    height: 43px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    color: #54617a;
}

.portal-top-links,
.portal-top-meta {
    display: flex;
    align-items: stretch;
    min-height: 43px;
}

.portal-top-links a,
.portal-top-links span,
.portal-top-meta a,
.portal-top-meta span {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    border-left: 1px solid var(--line);
    color: #54617a;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.portal-top-links a:first-child {
    border-left: 0;
}

.portal-top-meta a {
    padding: 0 14px;
}

.portal-top-meta a:last-child {
    border-right: 1px solid var(--line);
}

.portal-top-meta span {
    padding: 0 2px;
    border-left: 0;
}

.portal-contact {
    color: var(--muted) !important;
    font-size: 12px !important;
}

.fa-like {
    padding: 0;
    margin-right: 7px;
    border: 0;
    font-weight: 700;
}

.portal-nav {
    height: 105px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.portal-brand {
    height: 105px;
    display: inline-flex;
    align-items: center;
    color: var(--text);
}

.brand-logo {
    width: 221px;
    height: 70px;
    display: block;
    background: url("official/logo-inner.jpg") no-repeat center center;
    background-size: contain;
}

.brand-msad {
    display: none;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    margin-left: 20px;
}

.brand-msad b {
    color: #18c22f;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.05;
}

.brand-msad small {
    max-width: 150px;
    color: #18c22f;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.2;
}

.portal-menu {
    height: 105px;
    display: inline-flex;
    align-items: center;
    gap: 22px;
}

.portal-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #1a2546;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.portal-menu a.active,
.portal-menu a:hover {
    color: #1a2546;
}

.portal-main {
    width: 1270px;
    max-width: calc(100% - 30px);
    margin: 29px auto 60px;
    display: block;
    background: #fff;
    border-radius: 4px;
}

.search-panel,
.tenders-card {
    background: transparent;
}

.search-panel {
    padding: 22px 20px 16px;
}

.search-heading,
.quick-filters,
.stats-grid,
.card-head {
    display: none !important;
}

.search-form {
    display: block;
}

.search-row {
    position: relative;
    display: block;
}

.search-input {
    height: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
}

.search-input-icon {
    display: none;
    place-items: center;
    color: #1a2546;
    font-size: 28px;
    transform: rotate(-20deg);
}

.search-input input {
    width: 100%;
    height: 48px;
    border: 0;
    padding: 0 135px 0 20px;
    color: #32394d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    outline: none;
}

.search-input input::placeholder {
    color: #7b76b5;
}

.search-button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 112px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    border: 1px solid var(--yellow-border);
    border-radius: 4px;
    background: var(--yellow);
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.search-icon {
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    transform: rotate(-20deg);
}

.portal-tabs {
    display: flex;
    align-items: stretch;
    margin-top: 31px;
    border-bottom: 1px solid var(--blue);
    background: var(--tab-bg);
}

.portal-tabs a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-top: 1px solid #cecece;
    border-right: 1px solid #cecece;
    background: var(--tab-bg);
    color: var(--blue);
    font-size: 16px;
    font-weight: 600;
}

.portal-tabs a:first-child {
    border-left: 1px solid var(--blue);
}

.portal-tabs a:nth-child(2) {
    margin-left: auto;
}

.portal-tabs a.active {
    border-color: var(--blue);
    border-bottom: 1px solid #fff;
    background: #fff;
    color: var(--blue);
    position: relative;
    top: 1px;
}

.portal-tabs a.disabled {
    color: var(--blue);
    opacity: 1;
    pointer-events: none;
}

.advanced-filters {
    display: none;
}

.advanced-filters summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.advanced-icon {
    color: var(--blue);
    font-size: 19px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: #f5f8fb;
    border: 1px solid #d9e5f1;
}

.filter-grid label {
    display: grid;
    gap: 6px;
    color: #54617a;
    font-size: 12px;
    font-weight: 600;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    height: 35px;
    border: 1px solid #cecece;
    border-radius: 3px;
    background: #fff;
    color: var(--text);
    padding: 0 8px;
}

.filter-actions {
    align-self: end;
    display: flex;
    gap: 8px;
}

.filter-actions button,
.filter-actions a {
    min-height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid var(--blue);
    border-radius: 3px;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
}

.filter-actions a {
    border-color: #cecece;
    background: #fff;
    color: #54617a;
}

.portal-alert {
    margin: 0 20px 15px;
    padding: 12px 14px;
    border: 1px solid #f5b5b5;
    border-radius: 3px;
    background: #fff4f4;
    color: #991b1b;
}

.tenders-card {
    padding: 0 20px 0;
    overflow: visible;
}

.official-paginator {
    min-height: 39px;
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
    align-items: center;
    column-gap: 8px;
    padding: 3px 9px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #32394d;
}

.official-paginator-top {
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.official-paginator-bottom {
    border-top: 0;
    border-radius: 0 0 4px 4px;
    margin-bottom: 18px;
}

.official-paginator a {
    color: #1a2546;
}

.paginator-main {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.page-control {
    position: relative;
    width: 22px;
    min-width: 22px;
    height: 31px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a2546;
    font-size: 0;
    line-height: 0;
}

.page-control.disabled,
.pagination a.disabled {
    pointer-events: none;
    color: #b7bdc5;
    opacity: 1;
}

.page-control::before,
.page-control::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.page-first::before,
.page-last::after {
    width: 2px;
    height: 16px;
    background: currentColor;
}

.page-first::before {
    left: 3px;
}

.page-last::after {
    right: 3px;
}

.page-first::after,
.page-prev::before,
.page-prev::after {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid currentColor;
}

.page-first::after {
    left: 8px;
}

.page-prev::before {
    left: 3px;
}

.page-prev::after {
    left: 10px;
}

.page-next::before,
.page-next::after,
.page-last::before {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid currentColor;
}

.page-next::before {
    left: 4px;
}

.page-next::after {
    left: 11px;
}

.page-last::before {
    left: 5px;
}

.page-numbers {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.page-numbers a {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    color: #8695af;
    font-size: 14px;
    font-weight: 400;
}

.page-numbers a.active {
    border: 2px solid #0085bd;
    color: #0085bd;
    font-weight: 600;
}

.rows-label {
    flex: 0 0 auto;
    margin-left: 14px;
    color: #32394d;
    font-size: 14px;
    white-space: nowrap;
}

.official-paginator select {
    flex: 0 0 auto;
    height: 24px;
    width: 47px;
    padding: 0 2px;
    border: 1px solid #aab4bf;
    background: #fff;
    color: #32394d;
}

.goto-page {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

.goto-page label {
    color: #54617a;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
}

.goto-page input {
    width: 58px;
    height: 24px;
    padding: 0 4px;
    border: 1px solid #aab4bf;
    border-radius: 2px;
    background: #fff;
    color: #32394d;
    text-align: center;
}

.goto-page button {
    height: 24px;
    min-width: 34px;
    padding: 0 8px;
    border: 1px solid #aab4bf;
    border-radius: 2px;
    background: #efeff0;
    color: #32394d;
    font-size: 12px;
    cursor: pointer;
}

.goto-page button:hover {
    background: #e5e5e7;
}

.tender-list {
    display: block;
    border-left: 1px solid #d8d8d8;
    border-right: 1px solid #d8d8d8;
    overflow: visible;
}

.ui-datatable-tablewrapper {
    overflow: visible;
}

.tender-list table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 14px;
}

.tender-table-head {
    display: table-header-group;
    height: 0;
    visibility: collapse;
}

.tender-table-head th {
    height: 0;
    padding: 0;
    border: 0;
    line-height: 0;
}

.tender-row {
    display: table-row;
    color: #1a2546;
    font-size: 14px;
}

.tender-row.ui-datatable-even,
.tender-row:nth-of-type(odd) {
    background: #efeff0;
}

.tender-row.ui-datatable-odd,
.tender-row:nth-of-type(even) {
    background: #fff;
}

.tender-row > * {
    min-width: 0;
    display: table-cell;
    padding: 15px;
    vertical-align: top;
}

.tender-number {
    width: 159px;
}

.tender-buyer-cell {
    width: 156px;
}

.tender-type-cell {
    width: 81px;
}

.tender-main {
    width: 166px;
}

.open-link-cell,
.tender-row > td:nth-child(5) {
    width: 44px;
}

.tender-method-cell {
    width: 278px;
}

.tender-money {
    width: 108px;
}

.tender-date {
    width: 122px;
}

.tender-deadline {
    width: 110px;
}

.tender-status-protocol-cell,
.tender-status-evaluation-cell {
    width: 30px;
}

.tender-row span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

.tender-number b,
.tender-buyer-cell b,
.tender-type-cell b,
.tender-method-cell b,
.tender-money b,
.tender-date b,
.tender-deadline b {
    display: block;
    color: #1a2546;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.tender-number b {
    overflow-wrap: normal;
    word-break: normal;
}

.tender-number small,
.tender-deadline small {
    display: none;
}

.tender-title {
    display: block;
    color: #0085bd;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.22;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.tender-title:hover {
    color: #f47621;
}

.tender-tags {
    display: none;
}

.open-link {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #0085bd;
    font-size: 20px;
    line-height: 1;
}

.open-link:hover {
    color: #f47621;
}

.tender-status-icons {
    text-align: center;
    padding: 16px 10px;
}

.tender-status-icon {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block;
    color: #6fc795;
}

.tender-status-protocol {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.tender-status-protocol::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 7px;
    height: 4px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.tender-status-evaluation::before,
.tender-status-evaluation::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 1px;
    background: transparent;
}

.tender-status-evaluation::before {
    left: 5px;
    top: 1px;
}

.tender-status-evaluation::after {
    left: 1px;
    top: 5px;
}

.tender-deadline.danger b,
.tender-deadline.warning b,
.tender-deadline.ok b,
.tender-deadline.expired b {
    color: #1a2546;
}

.empty-state {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 48px 20px;
    background: #fff;
    color: var(--muted);
    text-align: center;
}

.empty-state b {
    color: var(--text);
    font-size: 18px;
}

.detail-main {
    padding-bottom: 24px;
}

.detail-main .detail-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 420px;
}

.official-view-card {
    padding: 40px 20px 6px;
}

.official-view-heading {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    min-height: 40px;
}

.official-back {
    width: 70px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8c929d;
    border-radius: 3px;
    background: #fff;
    color: #54617a;
    font-size: 14px;
    font-weight: 500;
}

.official-view-heading h1 {
    margin: 0;
    color: #1a2546;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.official-source-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: #0085bd;
    font-size: 13px;
    font-weight: 600;
}

.official-view-tabs {
    display: flex;
    align-items: stretch;
    margin-top: 32px;
    border-bottom: 1px solid var(--blue);
    background: #efeff0;
}

.official-view-tabs a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-top: 1px solid #cecece;
    border-right: 1px solid #cecece;
    background: #efeff0;
    color: #0085bd;
    font-size: 16px;
    font-weight: 600;
}

.official-view-tabs a:first-child {
    border-left: 1px solid var(--blue);
}

.official-view-tabs a.active {
    position: relative;
    top: 1px;
    border-color: var(--blue);
    border-bottom: 1px solid #fff;
    background: #fff;
}

.official-common-grid {
    min-height: 470px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 30px;
    padding: 31px 16px 0;
}

.official-common-column {
    min-width: 0;
}

.official-common-row {
    min-height: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.official-common-row:nth-child(odd) {
    background: #efeff0;
}

.official-common-row span,
.official-common-row b {
    min-width: 0;
    padding: 10px 10px;
    color: #1a2546;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.12;
}

.official-common-row span {
    color: #8695af;
    font-weight: 600;
}

.official-common-row b {
    overflow-wrap: anywhere;
}

.official-common-row a {
    color: #0085bd;
}

.official-common-tall {
    min-height: 76px;
}

.official-org-heading {
    margin: 28px 16px 0;
    color: #1a2546;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.official-org-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 30px;
    margin: 16px 16px 0;
}

.official-org-grid .official-common-row {
    grid-template-columns: 292px minmax(0, 1fr);
}

.detail-tabs-panel {
    padding-bottom: 0;
}

.detail-tabs-panel .portal-tabs {
    margin-top: 0;
}

.detail-header {
    padding: 16px 20px 4px;
}

.detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.back-link,
.external-button {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}

.external-button {
    padding: 0 12px;
    border: 1px solid var(--yellow-border);
    border-radius: 4px;
    background: var(--yellow);
    color: #000;
}

.detail-title-block {
    border: 1px solid #d8d8d8;
    border-bottom: 0;
    background: #efeff0;
    padding: 18px 20px;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    background: #fff;
    color: #54617a;
    font-size: 12px;
    font-weight: 600;
}

.detail-title-block h1 {
    margin: 12px 0 10px;
    color: #0085bd;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.28;
    text-transform: uppercase;
}

.detail-number {
    color: #1a2546;
    font-size: 15px;
    font-weight: 600;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr 1fr;
    border: 1px solid #d8d8d8;
    background: #fff;
}

.detail-meta-grid div {
    min-width: 0;
    padding: 15px;
    border-right: 1px solid #e7e7e7;
}

.detail-meta-grid div:last-child {
    border-right: 0;
}

.detail-meta-grid span,
.detail-table th {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.detail-meta-grid b {
    color: #1a2546;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
}

.detail-section {
    padding: 14px 20px 0;
}

.detail-section-title {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d8d8d8;
    border-bottom: 0;
    background: #fff;
    padding: 0 15px;
}

.detail-section-title h2 {
    margin: 0;
    color: #0085bd;
    font-size: 17px;
    font-weight: 600;
}

.detail-section-title span {
    color: #8695af;
    font-size: 13px;
}

.official-view-card + .detail-section .detail-section-title,
.detail-section .detail-section-title {
    min-height: auto;
}

.detail-section-title {
    border: 0;
    background: transparent;
    padding: 0 16px;
    margin: 32px 0 28px;
}

.detail-section-title h2 {
    color: #1a2546;
    font-size: 22px;
    font-weight: 400;
}

.detail-section-title span {
    display: none;
}

.lot-cards {
    border: 1px solid #d8d8d8;
    background: #fff;
}

.lot-empty {
    padding: 28px 15px;
    color: #8695af;
    text-align: center;
}

.lot-card {
    background: #fff;
    border-bottom: 1px solid #d8d8d8;
}

.lot-card:last-child {
    border-bottom: 0;
}

.lot-card-head {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 15px;
    background: #efeff0;
}

.lot-card:nth-of-type(even) .lot-card-head {
    background: #fff;
}

.lot-card-head span,
.lot-card-meta dt,
.lot-data-title span,
.lot-mini-table th {
    display: block;
    color: #8695af;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.lot-card-head h3,
.lot-card-head strong,
.lot-data-title h4 {
    margin: 0;
    color: #1a2546;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.lot-card-head strong {
    white-space: nowrap;
}

.lot-card-title {
    padding: 15px;
    color: #0085bd;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

.lot-card-meta {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    margin: 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.lot-card-meta div {
    min-width: 0;
    padding: 13px 15px;
    border-right: 1px solid #e7e7e7;
}

.lot-card-meta div:last-child {
    border-right: 0;
}

.lot-card-meta dd {
    margin: 6px 0 0;
    color: #1a2546;
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.lot-data-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.lot-data-panel {
    min-width: 0;
    padding: 13px 15px 15px;
}

.lot-data-panel + .lot-data-panel {
    border-left: 1px solid #e7e7e7;
}

.lot-data-title {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.lot-muted {
    margin: 0;
    color: #8695af;
    font-size: 13px;
    line-height: 1.25;
}

.lot-mini-table {
    width: 100%;
    border-collapse: collapse;
}

.lot-mini-table th,
.lot-mini-table td {
    padding: 9px 8px;
    border-top: 1px solid #e9e9e9;
    text-align: left;
    vertical-align: top;
}

.lot-mini-table td {
    color: #1a2546;
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.lot-cards {
    margin: 0 16px;
    border: 0;
    background: transparent;
}

.lot-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow: visible;
}

.lot-residency-strip {
    display: grid;
    grid-template-columns: 122px 174px minmax(0, 1fr);
    align-items: end;
    min-height: 34px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.05;
}

.lot-residency-strip span {
    padding: 0 0 1px;
}

.lot-card:last-child {
    border-bottom: 0;
}

.lot-card-head {
    min-height: 96px;
    display: grid;
    grid-template-columns: 64px minmax(215px, 1.35fr) 92px minmax(260px, 1.6fr) minmax(215px, 1.22fr) minmax(175px, 0.98fr) 28px;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #efeff0;
}

.lot-card-goods .lot-card-head {
    min-height: 126px;
    grid-template-columns: 122px 174px 104px 164px 228px 160px 218px 28px;
}

.lot-head-cell {
    min-width: 0;
    padding: 18px 10px 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.55);
}

.lot-head-number {
    padding-left: 10px;
}

.lot-card-head span,
.lot-card-head .lot-head-cell span {
    display: block;
    margin: 0 0 8px;
    color: #71809a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.lot-card-head h3,
.lot-card-head b,
.lot-card-head strong {
    display: block;
    margin: 0;
    color: #1a2546;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.lot-card-head b {
    text-transform: uppercase;
}

.lot-card-goods .lot-head-deadline b:not(.lot-empty-value),
.lot-card-goods .lot-head-schedule b:not(.lot-empty-value) {
    color: #ff5a00;
}

.lot-card-goods .lot-head-sum strong {
    white-space: nowrap;
}

.lot-card-head strong {
    white-space: normal;
}

.lot-chevron {
    position: relative;
    align-self: start;
    justify-self: center;
    width: 13px;
    height: 13px;
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ff6a00;
    cursor: pointer;
}

.lot-chevron::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 3px;
    width: 4px;
    height: 4px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.lot-card.is-collapsed .lot-chevron::before {
    top: 4px;
    left: 3px;
    transform: rotate(-45deg);
}

.lot-card-title,
.lot-card-meta {
    display: none;
}

.lot-spoiler-panel[hidden] {
    display: none;
}

.lot-card-body {
    border: 1px solid #d8d8d8;
    border-top: 1px solid #bfc4cc;
    background: #fff;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.24);
}

.lot-plan-lines {
    padding: 11px 9px 1px;
    color: #7f8aa0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.lot-plan-lines p {
    margin: 0 0 13px;
}

.lot-plan-lines span {
    text-transform: uppercase;
}

.lot-doc-heading {
    margin: 0;
    padding: 0 9px 10px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.22;
}

.lot-formation-row {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #e0e0e0;
    color: #7f8aa0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.lot-product-row {
    padding: 0 10px 8px;
    color: #7f8aa0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.lot-requirements-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.55fr) minmax(140px, 0.7fr) minmax(100px, 0.45fr) minmax(210px, 1fr) minmax(170px, 0.8fr);
    align-items: start;
    background: #fff;
}

.lot-requirements-grid > div {
    min-width: 0;
    min-height: 68px;
    padding: 13px 10px 7px;
}

.lot-requirements-grid span {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
}

.lot-requirements-grid b {
    display: block;
    color: #1a2546;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.lot-requirements-grid a {
    color: #0085bd;
}

.lot-items-wrap {
    overflow-x: auto;
    border-top: 1px solid #d8d8d8;
}

.lot-items-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #1a2546;
}

.lot-items-table th,
.lot-items-table td {
    padding: 10px 9px;
    border-bottom: 1px solid #eceef2;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.25;
}

.lot-items-table thead {
    background: #f2f3f5;
}

.lot-items-table th {
    color: #54617a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.lot-items-table b,
.lot-items-table span {
    display: block;
}

.lot-items-table b {
    margin-bottom: 3px;
    font-weight: 600;
}

.lot-items-table span {
    color: #54617a;
}

.lot-items-table a {
    color: #0085bd;
    font-weight: 600;
}

.lot-data-grid {
    border-top: 1px solid #d8d8d8;
}

.qualification-section {
    padding-top: 25px;
}

.qualification-section .detail-section-title {
    min-height: 34px;
    border: 0;
    background: transparent;
    padding: 0;
}

.qualification-section .detail-section-title h2 {
    color: #1a2546;
    font-size: 20px;
    font-weight: 500;
}

.qualification-table-wrap {
    border: 0;
}

.qualification-table {
    border-collapse: separate;
    border-spacing: 0 0;
}

.qualification-table thead {
    background: #858a91;
}

.qualification-table th {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.qualification-table th:first-child {
    width: 52px;
    text-align: left;
}

.detail-table-wrap {
    overflow-x: auto;
    border: 1px solid #d8d8d8;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    color: #1a2546;
}

.detail-table thead {
    background: #f2f3f5;
}

.detail-table th,
.detail-table td {
    padding: 13px 15px;
    border-bottom: 1px solid #e9e9e9;
    vertical-align: top;
    text-align: left;
}

.detail-table th {
    display: table-cell;
    margin-bottom: 0;
    white-space: nowrap;
}

.detail-table td {
    font-size: 14px;
    line-height: 1.25;
}

.detail-table tbody tr:nth-child(odd) {
    background: #efeff0;
}

.detail-table tbody tr:nth-child(even) {
    background: #fff;
}

.detail-table a {
    color: #0085bd;
    font-weight: 600;
}

.detail-empty {
    color: #8695af;
    text-align: center !important;
}

.winner-badge {
    display: inline-flex;
    margin: 0 6px 4px 0;
    padding: 3px 6px;
    border-radius: 3px;
    background: #dff4e8;
    color: #16834c;
    font-size: 12px;
}

.status-main {
    padding: 22px 20px 28px;
}

.status-header {
    border: 1px solid #d8d8d8;
    background: #efeff0;
    padding: 18px 20px;
}

.status-header span {
    color: #54617a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-header h1 {
    margin: 8px 0 8px;
    color: #0085bd;
    font-size: 22px;
    font-weight: 600;
}

.status-header p {
    margin: 0;
    color: #54617a;
    font-size: 14px;
    line-height: 1.35;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.status-grid article {
    border: 1px solid #d8d8d8;
    background: #fff;
}

.status-grid h2 {
    margin: 0;
    padding: 14px 15px;
    border-bottom: 1px solid #d8d8d8;
    color: #0085bd;
    font-size: 17px;
    font-weight: 600;
}

.status-grid dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.status-grid dl div {
    padding: 16px 15px;
    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.status-grid dt {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-grid dd {
    margin: 0;
    color: #1a2546;
    font-size: 24px;
    font-weight: 600;
}

.status-workers {
    padding-left: 0;
    padding-right: 0;
}

.pagination {
    display: none;
}

@media (max-width: 1450px) {
    .brand-msad {
        display: none !important;
    }
}

@media (max-width: 1360px) {
    .portal-contact {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .portal-menu {
        gap: 14px;
    }

    .portal-menu a {
        font-size: 14px;
    }

    .tender-table-head {
        display: none;
    }

    .tender-row {
        grid-template-columns: 150px minmax(0, 1fr) 140px;
        min-height: auto;
        border-bottom: 1px solid #e2e6ea;
    }

    .tender-main,
    .tender-method-cell {
        grid-column: 2;
    }

    .tender-money,
    .tender-date,
    .tender-deadline {
        grid-column: 3;
    }

    .open-link {
        grid-column: 3;
        grid-row: 1;
    }

    .tender-status-icons {
        grid-column: 3;
        grid-row: 2;
        align-items: flex-start;
        flex-direction: row;
    }
}

@media (max-width: 980px) {
    body {
        min-width: 0;
    }

    .portal-top {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
    }

    .portal-top-links,
    .portal-top-meta {
        min-height: 0;
        flex-wrap: wrap;
    }

    .portal-top-links a,
    .portal-top-links span,
    .portal-top-meta a,
    .portal-top-meta span {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .portal-nav {
        height: auto;
        display: grid;
        gap: 12px;
        padding: 14px;
    }

    .portal-brand {
        height: auto;
    }

    .brand-logo {
        width: 190px;
        height: 60px;
    }

    .portal-menu {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        border-top: 1px solid var(--line);
    }

    .portal-menu a {
        min-height: 38px;
        border-bottom: 1px solid var(--line);
        white-space: normal;
    }

    .portal-main {
        max-width: calc(100% - 20px);
        margin-top: 18px;
    }

    .search-panel,
    .tenders-card {
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-row {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .search-input {
        border: 1px solid var(--line);
        border-radius: 5px;
    }

    .search-input input {
        padding-right: 10px;
    }

    .search-button {
        position: static;
        width: 100%;
        height: 44px;
        margin: 0;
    }

    .portal-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .portal-tabs a:nth-child(2) {
        margin-left: 0;
    }

    .portal-tabs a {
        justify-content: center;
        min-height: 44px;
    }

    .official-paginator {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
        padding: 8px;
    }

    .paginator-main,
    .goto-page {
        grid-column: 1;
        justify-self: center;
    }

    .paginator-main,
    .page-numbers {
        flex-wrap: wrap;
    }

    .rows-label {
        margin-left: 0;
    }

    .official-view-card {
        padding: 20px 10px 6px;
    }

    .official-view-heading,
    .official-common-grid,
    .detail-meta-grid,
    .status-grid,
    .status-grid dl {
        grid-template-columns: 1fr;
    }

    .official-view-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .official-common-grid {
        gap: 0;
        padding: 18px 0 0;
    }

    .official-common-row {
        grid-template-columns: 1fr;
    }

    .official-org-grid .official-common-row {
        grid-template-columns: 1fr;
    }

    .lot-card-head,
    .lot-data-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .lot-card-meta,
    .lot-data-grid {
        grid-template-columns: 1fr;
    }

    .lot-card-meta div {
        border-right: 0;
        border-bottom: 1px solid #e7e7e7;
    }

    .lot-card-meta div:last-child {
        border-bottom: 0;
    }

    .lot-data-panel + .lot-data-panel {
        border-left: 0;
        border-top: 1px solid #e7e7e7;
    }
}

@media (max-width: 760px) {
    body {
        min-width: 0;
    }

    .portal-top {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
    }

    .portal-top-links,
    .portal-top-meta {
        min-height: 0;
        flex-wrap: wrap;
    }

    .portal-top-links a,
    .portal-top-links span,
    .portal-top-meta a,
    .portal-top-meta span {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .portal-nav {
        height: auto;
        display: grid;
        gap: 12px;
        padding: 14px;
    }

    .portal-brand {
        height: auto;
    }

    .brand-logo {
        width: 190px;
        height: 60px;
    }

    .portal-menu {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 1px solid var(--line);
    }

    .portal-menu a {
        min-height: 38px;
        border-bottom: 1px solid var(--line);
    }

    .portal-main {
        max-width: calc(100% - 20px);
        margin-top: 18px;
    }

    .search-panel,
    .tenders-card {
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-row {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .search-input {
        border: 1px solid var(--line);
        border-radius: 5px;
    }

    .search-input input {
        padding-right: 10px;
    }

    .search-button {
        position: static;
        width: 100%;
        height: 44px;
        margin: 0;
    }

    .portal-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .portal-tabs a:nth-child(2) {
        margin-left: 0;
    }

    .portal-tabs a {
        justify-content: center;
        min-height: 44px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .official-paginator {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
        padding: 8px;
    }

    .paginator-main,
    .goto-page {
        grid-column: 1;
        justify-self: center;
    }

    .paginator-main {
        flex-wrap: wrap;
    }

    .page-numbers {
        gap: 5px;
        flex-wrap: wrap;
    }

    .page-numbers a {
        width: 28px;
        height: 28px;
    }

    .rows-label {
        margin-left: 0;
    }

    .tender-list {
        border-left: 0;
        border-right: 0;
    }

    .tender-list table,
    .tender-list tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .tender-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        padding: 0;
    }

    .detail-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .official-view-card {
        padding: 20px 10px 6px;
    }

    .official-view-heading {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .official-view-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .official-common-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 18px 0 0;
    }

    .official-common-row {
        grid-template-columns: 1fr;
    }

    .official-org-grid .official-common-row {
        grid-template-columns: 1fr;
    }

    .external-button {
        justify-content: center;
    }

    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .detail-meta-grid div {
        border-right: 0;
        border-bottom: 1px solid #e7e7e7;
    }

    .detail-title-block h1 {
        font-size: 17px;
    }

    .status-main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .status-grid dl {
        grid-template-columns: 1fr;
    }

    .tender-row > *,
    .tender-main,
    .tender-method-cell,
    .tender-money,
    .tender-date,
    .tender-deadline,
    .tender-status-icons,
    .open-link {
        width: auto;
        display: block;
        grid-column: auto;
        grid-row: auto;
    }

    .open-link {
        justify-content: flex-start;
        padding-top: 0;
    }

    .tender-status-icons {
        align-items: flex-start;
        flex-direction: row;
        padding-top: 0;
    }
}

@media (max-width: 1100px) {
    .tender-row {
        width: 100%;
        margin-right: 0;
    }

    .lot-card-head {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lot-card-goods .lot-card-head,
    .lot-residency-strip {
        grid-template-columns: 1fr;
    }

    .lot-head-cell {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    }

    .lot-chevron {
        display: none;
    }

    .lot-requirements-grid {
        grid-template-columns: 1fr;
    }
}
