/* Блок реестра специалистов НОПРИЗ — compact layout */

.dash-nopriz-section {
    margin-bottom: 1.25rem;
}

.dash-nopriz-compact {
    border: 1px solid #e8eaed;
    border-radius: 16px;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dash-nopriz-compact--empty {
    background: linear-gradient(135deg, rgba(22, 157, 142, 0.14) 0%, rgba(22, 157, 142, 0.06) 100%);
    border-color: rgba(22, 157, 142, 0.28);
    padding: 1.05rem 1.2rem;
}

.dash-nopriz-compact__section-title {
    margin-bottom: 0.5rem;
}

.dash-nopriz-compact__lead {
    font-size: 0.9rem;
    color: #5c6670;
    margin: 0 0 0.7rem;
    line-height: 1.45;
}

.dash-nopriz-compact__value-line {
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    color: #6c757d;
    line-height: 1.45;
}

.dash-nopriz-compact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.dash-nopriz-compact__actions--owner {
    margin-top: 0;
    margin-left: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 0.5rem;
}

.dash-nopriz-dismiss {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.875rem;
    color: #6c757d;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.dash-nopriz-dismiss:hover {
    color: #1f2933;
}

.dash-nopriz-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: rgb(20, 138, 125);
    background: rgba(22, 157, 142, 0.08);
    border: 1.5px solid rgba(22, 157, 142, 0.42);
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    line-height: 1.2;
    white-space: nowrap;
}

.dash-nopriz-verified-badge--hero {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.22rem 0.65rem;
    gap: 0.3rem;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(22, 157, 142, 0.1);
}

.dash-nopriz-verified-badge--hero .bi-shield-check {
    font-size: 0.95em;
}

.dash-nopriz-verified-badge__mark {
    font-weight: 800;
}

.dash-profile-meta-item .dash-nopriz-verified-badge--hero {
    position: relative;
    top: -0.02em;
}

.dash-nopriz-verified-badge--summary {
    font-size: 0.68rem;
    letter-spacing: 0.01em;
    text-transform: none;
}

.dash-nopriz-verified-badge .bi {
    font-size: 0.85em;
    font-weight: 700;
}

.dash-nopriz-summary__status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgb(20, 138, 125);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.dash-nopriz-summary__status .bi-shield-check {
    font-size: 1.15rem;
    color: rgb(22, 157, 142);
}

.dash-nopriz-summary__status-text {
    min-width: 0;
}

.dash-nopriz-summary__status .dash-nopriz-summary__reg {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.dash-nopriz-summary__works-list {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
}

.dash-nopriz-summary__works-list li {
    position: relative;
    padding-left: 0.85rem;
    font-size: 0.8125rem;
    color: #5c6670;
    line-height: 1.45;
}

.dash-nopriz-summary__works-list li + li {
    margin-top: 0.25rem;
}

.dash-nopriz-summary__works-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #adb5bd;
    font-weight: 700;
}

.dash-nopriz-summary__meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.dash-nopriz-summary__meta-sep {
    flex-shrink: 0;
    color: #adb5bd;
}

.dash-nopriz-summary__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin-bottom: 0.65rem;
}

.dash-nopriz-summary__reg {
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: #6c757d;
}

.dash-nopriz-summary__fio {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2933;
    margin-bottom: 0.2rem;
}

.dash-nopriz-summary__works {
    min-width: 0;
    color: #5c6670;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-nopriz-details-toggle {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.45rem 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: none;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(22, 157, 142);
    cursor: pointer;
    text-align: left;
}

.dash-nopriz-details-toggle:hover {
    color: rgb(20, 138, 125);
}

.dash-nopriz-details {
    padding-top: 0.75rem;
}

.dash-nopriz-details__content {
    min-width: 0;
}

.dash-nopriz-details__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.65rem 1.25rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dash-nopriz-text-action {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(22, 157, 142);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.dash-nopriz-text-action:hover {
    color: rgb(20, 138, 125);
}

.dash-nopriz-text-action--muted {
    color: #6c757d;
}

.dash-nopriz-text-action--muted:hover {
    color: #1f2933;
}

.dash-nopriz-section .hg-cta-outline {
    background: transparent;
    color: #117b72 !important;
    border: 2px solid #18b9a7;
    font-weight: 600;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-nopriz-section .hg-cta-outline:hover,
.dash-nopriz-section .hg-cta-outline:focus {
    background: rgba(22, 157, 142, 0.08);
    color: #0d5c56 !important;
    border-color: #169d8e;
}

.dash-nopriz-section .btn-sm.hg-cta-outline {
    min-height: 40px;
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
}

.dash-nopriz-section .hg-cta-fill,
.dash-nopriz-search-expand .hg-cta-fill {
    background: rgb(22, 157, 142);
    border: 1px solid rgb(22, 157, 142);
    color: #fff !important;
    font-weight: 600;
}

.dash-nopriz-section .hg-cta-fill:hover,
.dash-nopriz-section .hg-cta-fill:focus,
.dash-nopriz-search-expand .hg-cta-fill:hover,
.dash-nopriz-search-expand .hg-cta-fill:focus {
    background: rgb(20, 138, 125);
    border-color: rgb(20, 138, 125);
    color: #fff !important;
}

.dash-nopriz-search-expand {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-nopriz-search-expand__divider {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(22, 157, 142, 0.2);
}

.dash-nopriz-search-after {
    min-height: 0;
}

.dash-nopriz-search-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: end;
}

.dash-nopriz-search-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    margin-bottom: 0.3rem;
}

.dash-nopriz-search-input,
.dash-nopriz-search-select {
    width: 100%;
    min-height: 40px;
    padding: 0.45rem 0.75rem;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    background: #fff;
    color: var(--maintext, #1f2933);
    font-size: 0.9rem;
}

.dash-nopriz-search-input:focus,
.dash-nopriz-search-select:focus {
    outline: none;
    border-color: rgb(22, 157, 142);
    box-shadow: 0 0 0 0.15rem rgba(22, 157, 142, 0.15);
}

.dash-nopriz-search-select {
    appearance: none;
    padding-right: 1.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236c757d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
}

.dash-nopriz-search-submit {
    min-height: 40px;
    white-space: nowrap;
}

.dash-nopriz-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.65rem 1rem;
    margin: 0;
}

.dash-nopriz-fields--nested {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dash-nopriz-field__label,
.dash-nopriz-field dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    margin-bottom: 0.1rem;
}

.dash-nopriz-field__value,
.dash-nopriz-field dd {
    margin: 0;
    font-weight: 500;
    color: #1f2933;
    font-size: 0.875rem;
}

.dash-nopriz-field--full {
    grid-column: 1 / -1;
}

.dash-nopriz-worktypes {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.dash-nopriz-worktypes__heading {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    margin: 0 0 0.85rem;
}

.dash-nopriz-worktype + .dash-nopriz-worktype {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
}

.dash-nopriz-worktype__title {
    font-weight: 600;
    color: #1f2933;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}

.dash-nopriz-status {
    font-weight: 600;
}

.dash-nopriz-status--active {
    color: rgb(22, 157, 142);
}

.dash-nopriz-search-status {
    min-height: 1rem;
    margin-top: 0.65rem;
    font-size: 0.8125rem;
}

.dash-nopriz-search-status--error { color: #b42318; }
.dash-nopriz-search-status--info { color: #6c757d; }
.dash-nopriz-search-status--success { color: rgb(22, 157, 142); }

.dash-nopriz-search-results {
    margin-top: 0.65rem;
}

.dash-nopriz-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.dash-nopriz-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #e8eaed;
    background: #fff;
    transition: background-color 0.15s ease;
}

.dash-nopriz-result:last-child {
    border-bottom: none;
}

.dash-nopriz-result--selectable {
    cursor: pointer;
}

.dash-nopriz-result--selectable:hover,
.dash-nopriz-result--selectable:focus-visible {
    background: rgba(22, 157, 142, 0.06);
    outline: none;
}

.dash-nopriz-result--disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

.dash-nopriz-result--disabled .dash-nopriz-result__fio {
    color: #6c757d;
}

.dash-nopriz-result__fio {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.dash-nopriz-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.65rem;
    font-size: 0.78rem;
    color: #6c757d;
}

.dash-nopriz-result__note {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #8b949e;
}

.dash-nopriz-result__arrow {
    color: #adb5bd;
    font-size: 1rem;
}

.dash-nopriz-result--selectable:hover .dash-nopriz-result__arrow {
    color: rgb(22, 157, 142);
}

.dash-nopriz-search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.dash-nopriz-search-pagination__info {
    font-size: 0.8125rem;
    color: #6c757d;
}

.dash-nopriz-empty {
    padding: 0.85rem;
    color: #6c757d;
    text-align: center;
    border: 1px dashed #e8eaed;
    border-radius: 10px;
    font-size: 0.875rem;
}

@media (max-width: 767.98px) {
    .dash-nopriz-search-toolbar {
        grid-template-columns: 1fr;
    }

    .dash-nopriz-search-field--action .dash-nopriz-search-submit {
        width: 100%;
    }
}
