/* Z Natmasters Content Feed 0.2.19 — clean public layer. */

.znf3-feed {
    --znf3-text: #17243a;
    --znf3-muted: #66758a;
    --znf3-line: #d9e4f2;
    --znf3-soft: #eef5ff;
    --znf3-blue: #1f5fae;
    --znf3-blue-dark: #174b8b;
    width: 100%;
    min-width: 0;
    color: var(--znf3-text);
    font-family: inherit;
}

.znf3-feed,
.znf3-feed * {
    box-sizing: border-box;
}

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

/* Compact guidance for signed-in participants. */
.znf3-member-note {
    display: grid;
    gap: 18px;
    margin: 0 0 22px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #edf6ff 0%, #f4fbf7 100%);
}

.znf3-member-note__copy {
    display: grid;
    gap: 5px;
}

.znf3-member-note__copy > strong {
    color: #2f67a3;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
}

.znf3-member-note p {
    max-width: 1040px;
    margin: 0;
    color: #405b78;
    font-size: 14px;
    line-height: 1.5;
}

/* Primary surface choice inside the filters panel. */
.znf3-audience-choice {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}

.znf3-filters-panel > .znf3-audience-choice {
    margin: 0 0 12px;
}

.znf3-audience-choice__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.znf3-audience-choice__option {
    --choice-bg: #fff;
    --choice-border: #bfd0e6;
    --choice-accent: #1f5fae;
    --choice-text: #173f70;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--choice-border);
    border-radius: 15px;
    background: var(--choice-bg);
    color: var(--choice-text);
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.znf3-audience-choice__option:hover {
    border-color: var(--choice-accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(18, 52, 96, .08);
}

.znf3-audience-choice__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.znf3-audience-choice__mark {
    position: relative;
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border: 2px solid var(--choice-accent);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
}

.znf3-audience-choice__mark::after {
    content: "✓";
    opacity: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-1px) scale(.78);
    transition: opacity .14s ease, transform .14s ease;
}

.znf3-audience-choice__option strong {
    min-width: 0;
    font-size: clamp(14px, 1.3vw, 18px);
    font-weight: 400;
    line-height: 1.15;
    white-space: nowrap;
}

.znf3-audience-choice__option--steny {
    --choice-bg: linear-gradient(180deg, #edf4ff 0%, #dde9ff 100%);
    --choice-border: #9bb7ea;
    --choice-accent: #2b68c3;
    --choice-text: #124276;
}

.znf3-audience-choice__option--dekor {
    --choice-bg: linear-gradient(180deg, #fff4ea 0%, #ffe7cf 100%);
    --choice-border: #e5b784;
    --choice-accent: #c77719;
    --choice-text: #73430a;
}

.znf3-audience-choice__option--potolki {
    --choice-bg: linear-gradient(180deg, #eefcff 0%, #d8f5ff 100%);
    --choice-border: #90cfe0;
    --choice-accent: #1480a0;
    --choice-text: #0d5569;
}

.znf3-audience-choice__option.is-active {
    border-color: var(--choice-accent);
    color: var(--choice-text);
    box-shadow: inset 0 0 0 1px var(--choice-accent), 0 9px 22px rgba(18, 52, 96, .10);
}

.znf3-audience-choice__option.is-active .znf3-audience-choice__mark {
    border-color: var(--choice-accent);
    background: var(--choice-accent);
    box-shadow: 0 0 0 4px rgba(31, 95, 174, .12);
}

.znf3-audience-choice__option.is-active .znf3-audience-choice__mark::after {
    opacity: 1;
    transform: translateY(-1px) scale(1);
}

/*
 * Masonry without absolute positioning.
 * JavaScript creates independent vertical columns and places each next card
 * into the currently shortest one. The grid itself never receives a fixed height.
 */
.znf3-grid {
    --znf3-column-count: 4;
    display: grid;
    grid-template-columns: repeat(var(--znf3-column-count), minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-anchor: none;
    scroll-margin-top: 24px;
}

.znf3-grid__column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
}

.znf3-feed.is-loading:not(.is-appending) .znf3-grid {
    opacity: .55;
}

.znf3-feed article.znf3-card {
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    align-self: start;
}

.znf3-feed a.znf3-card__media-link {
    display: block;
    height: auto;
    overflow: hidden;
    border-radius: 14px;
    background: #edf2f7;
    color: inherit;
    line-height: 0;
    text-decoration: none;
}

.znf3-feed .znf3-card__media {
    position: relative;
    display: block;
    height: auto;
}

/* Intrinsic image ratio is the sole source of media height. */
.znf3-feed img.znf3-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.znf3-card__placeholder {
    display: grid;
    min-height: 180px;
    place-items: center;
    background: #eef2f6;
    color: #8a98a8;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.znf3-card__badges {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    line-height: 1;
}

.znf3-card__badges span {
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(15, 39, 68, .78);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.znf3-feed .znf3-card__body {
    display: block;
    margin: -1px 7px 0;
    padding: 13px 13px 11px;
    border-radius: 0 0 17px 17px;
    background: #f2f5f8;
}

.znf3-card__title {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 850;
    line-height: 1.18;
}

.znf3-card__title a {
    color: #173f70;
    text-decoration: none;
}

.znf3-card__title a:hover {
    color: #0f5cab;
}

.znf3-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 10px;
    margin-top: 6px;
}

.znf3-card__meta {
    display: block;
    width: auto;
    margin: 0;
    color: #66809f;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    white-space: nowrap;
}

.znf3-card__meta-row + .znf3-card__title {
    margin-top: 8px;
}

.znf3-feed .znf3-card__excerpt {
    margin: 8px 0 0;
    color: var(--znf3-muted);
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.znf3-card__author-group {
    display: grid;
    justify-items: stretch;
    margin-top: 9px;
}

.znf3-card__author {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    margin: 0;
    padding: 6px 7px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .72);
}

.znf3-card__author-region-tab {
    display: block;
    width: calc(100% - 14px);
    max-width: calc(100% - 14px);
    margin: 0 auto 4px;
    padding: 3px 10px;
    overflow: hidden;
    border: 1px solid #d7e2ec;
    border-radius: 999px;
    background: #edf3f8;
    color: #617488;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.znf3-card__avatar {
    display: block;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    line-height: 0;
}

.znf3-card__avatar-image {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.znf3-card__author-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.znf3-card__author-name {
    overflow: hidden;
    color: #566678;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.15;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.znf3-card__region-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    color: #738194;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.znf3-invite {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: #eef5ff;
}

.znf3-invite h3 {
    margin: 0;
    color: #173f70;
    font-size: 20px;
    line-height: 1.2;
}

.znf3-invite p {
    margin: 0;
    color: #405d7f;
    font-size: clamp(17px, 1.7vw, 20px);
    font-weight: 700;
    line-height: 1.4;
}

.znf3-invite__action {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1677e8 0%, #2f91ff 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(22, 119, 232, .30), 0 3px 8px rgba(22, 73, 132, .18);
    transform: translateY(0);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.znf3-invite__action:hover {
    color: #fff;
    filter: brightness(1.06) saturate(1.08);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(22, 119, 232, .36), 0 4px 10px rgba(22, 73, 132, .20);
}

.znf3-invite__action:focus-visible {
    outline: 3px solid rgba(22, 119, 232, .24);
    outline-offset: 3px;
}

/* Controls. */
.znf3-empty {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f3f7fb;
    color: #5d6d80;
    text-align: center;
}

.znf3-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 38px 0 22px;
}

.znf3-more {
    min-height: 44px;
    padding: 9px 18px;
    border-radius: 11px;
    background: #1e5ca8;
    color: #fff;
    font-weight: 800;
}

.znf3-more:disabled {
    opacity: .55;
    cursor: wait;
}

.znf3-status {
    color: #6a7889;
    font-size: 13px;
}

/* Filters. */
.znf3-filters-panel {
    margin-top: 22px;
    padding: 12px;
    border-radius: 26px;
    background: #e9f0fa;
}

.znf3-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 14px 20px;
    border-radius: 18px;
    background: #d7e4f6;
}

.znf3-filters-head h3 {
    margin: 0;
    color: #0f4b96;
    font-size: clamp(20px, 3.3vw, 28px);
    font-weight: 850;
    line-height: 1.05;
}


.znf3-filters-head__tools {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.znf3-resource-filters {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.znf3-resource-filter {
    --resource-bg: #eef3f8;
    --resource-border: #c7d3df;
    --resource-accent: #3c6189;
    --resource-text: #24415f;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--resource-bg);
    color: var(--resource-text);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}


.znf3-resource-filter:hover {
    border-color: var(--resource-border);
    box-shadow: inset 0 0 0 1px rgba(60, 97, 137, .08);
}

.znf3-resource-filter input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.znf3-resource-filter__icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    font-size: 24px;
    line-height: 1;
}

.znf3-resource-filter strong {
    min-width: 0;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.znf3-resource-filter__mark {
    position: relative;
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    border: 1.5px solid var(--resource-accent);
    border-radius: 5px;
    background: rgba(255, 255, 255, .92);
}

.znf3-resource-filter__mark::after {
    content: "✓";
    opacity: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    transform: scale(.78);
    transition: opacity .14s ease, transform .14s ease;
}

.znf3-resource-filter--scheme {
    --resource-bg: #eef3f8;
    --resource-border: #c7d3df;
    --resource-accent: #3c6189;
    --resource-text: #24415f;
}

.znf3-resource-filter--estimate {
    --resource-bg: #eef3f8;
    --resource-border: #c7d3df;
    --resource-accent: #3c6189;
    --resource-text: #24415f;
}

.znf3-resource-filter--project_3d {
    --resource-bg: #eef3f8;
    --resource-border: #c7d3df;
    --resource-accent: #3c6189;
    --resource-text: #24415f;
}

.znf3-resource-filter--model_3d {
    --resource-bg: #eef3f8;
    --resource-border: #c7d3df;
    --resource-accent: #3c6189;
    --resource-text: #24415f;
}

.znf3-resource-filter.is-active {
    border-color: var(--resource-accent);
    background: #e6eef7;
    box-shadow: inset 0 0 0 1px var(--resource-accent);
}

.znf3-resource-filter.is-active .znf3-resource-filter__mark {
    background: var(--resource-accent);
}

.znf3-resource-filter.is-active .znf3-resource-filter__mark::after {
    opacity: 1;
    transform: translateY(-1px) scale(1);
}

.znf3-filters-head__tools .znf3-reset {
    margin-left: auto;
}

.znf3-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .74);
    color: #0f4b96;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.znf3-filters-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.8fr) minmax(0, 1.7fr);
    gap: 16px 18px;
    align-items: start;
}

.znf3-filter-block {
    min-width: 0;
}

.znf3-filter-block--geo {
    grid-column: 1 / span 2;
}

.znf3-filter-block--resources {
    min-width: 0;
    align-self: end;
}

.znf3-filter-block__label,
.znf3-choice-section__label {
    display: block;
    margin: 0 0 10px;
    color: #244f88;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.znf3-geo-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.znf3-filter-block--geo.has-city .znf3-geo-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.znf3-geo-field,
.znf3-filter-select-wrap {
    display: block;
    min-width: 0;
}

.znf3-feed select {
    width: 100%;
    min-height: 48px;
    padding: 0 42px 0 18px;
    border: 1px solid #bfd0e6;
    border-radius: 14px;
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #7891b3 50%), linear-gradient(135deg, #7891b3 50%, transparent 50%);
    background-position: calc(100% - 22px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    color: #163f76;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
    appearance: none;
}

.znf3-feed select:focus {
    outline: none;
    border-color: #7ea1d1;
    box-shadow: 0 0 0 3px rgba(17, 75, 150, .10);
}

.znf3-choice-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.znf3-choice,
.znf3-solution-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    cursor: pointer;
}

.znf3-choice input,
.znf3-solution-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.znf3-choice.is-active {
    border-color: #4f82c2;
    background: #d9e8fb;
    color: #0f4b96;
}

.znf3-solutions-panel {
    margin-top: 18px;
}

.znf3-solutions-panel > summary,
.znf3-solution-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    list-style: none;
    cursor: pointer;
}

.znf3-solutions-panel > summary::-webkit-details-marker,
.znf3-solution-group > summary::-webkit-details-marker {
    display: none;
}

.znf3-solutions-panel > summary {
    padding: 18px 18px;
    border-radius: 18px;
    background: #dfe8f6;
}

.znf3-solutions-panel > summary span,
.znf3-solution-group > summary span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.znf3-solutions-panel > summary strong {
    color: #0f4b96;
    font-size: 16px;
    font-weight: 850;
}

.znf3-solutions-panel > summary small {
    color: #5f7ba0;
    font-size: 13px;
    line-height: 1.35;
}


.znf3-solutions-panel > summary i,
.znf3-solution-group > summary i {
    display: block;
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-right: 2px solid #728db1;
    border-bottom: 2px solid #728db1;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.znf3-solutions-panel[open] > summary i,
.znf3-solution-group[open] > summary i {
    transform: rotate(-135deg);
}

.znf3-solutions-panel__body {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.znf3-solution-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.znf3-solution-group {
    padding: 0;
    border-radius: 16px;
    background: #dfe8f6;
}

.znf3-solution-group > summary {
    min-height: 62px;
    padding: 14px 18px;
}

.znf3-solution-group > summary strong {
    color: #173f70;
    font-size: 14px;
    font-weight: 850;
}

.znf3-solution-group > summary small {
    color: #6380a5;
    font-size: 13px;
}

.znf3-solution-options {
    display: grid;
    gap: 8px;
    padding: 0 14px 14px;
}

.znf3-solution-option {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    color: #173f70;
    font-size: 13px;
}

.znf3-solution-option.is-active {
    background: #eef4fd;
    color: #0f4b96;
}

.znf3-filter-check {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 1px solid #9eb2cc;
    border-radius: 4px;
    background: #fff;
}

.znf3-solution-option.is-active .znf3-filter-check {
    border-color: #0f4b96;
    background: #0f4b96;
    box-shadow: inset 0 0 0 3px #fff;
}

.znf3-filter-option-label {
    min-width: 0;
    flex: 1;
    line-height: 1.3;
}

.znf3-filter-option-count {
    color: #6c84a3;
    font-size: 11px;
    font-weight: 700;
}

.znf3-choice-section {
    min-width: 0;
}

.znf3-choice-section__label {
    margin-top: 2px;
}

.znf3-choice-strip--levels {
    gap: 10px;
}

.znf3-choice {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #bfd0e6;
    border-radius: 12px;
    background: #fff;
    color: #173f70;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
}

.znf3-choice span {
    display: block;
}

.znf3-filter-result-actions {
    display: grid;
    justify-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    text-align: center;
}
.znf3-filter-result-actions[hidden] {
    display: none !important;
}
.znf3-filter-notice {
    max-width: 920px;
    margin: 0 auto;
    color: #4f6583;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}
.znf3-view-results {
    display: inline-flex;
    min-width: 220px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 1px solid #2f72c7;
    border-radius: 12px;
    background: #397fce;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(35, 93, 161, .16);
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.znf3-view-results:hover {
    border-color: #225fa8;
    background: #2e70bd;
    transform: translateY(-1px);
}
.znf3-view-results:focus-visible {
    outline: 3px solid rgba(57, 127, 206, .24);
    outline-offset: 2px;
}

@media (min-width: 781px) and (max-width: 1140px) {
    .znf3-filters-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .znf3-filter-block--geo {
        grid-column: 1 / -1;
    }

}

@media (max-width: 780px) {
    .znf3-filters-panel {
        padding: 10px;
        border-radius: 24px;
    }

    .znf3-filters-head {
        margin-bottom: 16px;
        padding: 14px 18px;
        border-radius: 16px;
    }


    .znf3-filters-head {
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .znf3-filters-head h3 {
        font-size: 20px;
    }

    .znf3-filters-head__tools {
        gap: 6px;
    }

    .znf3-resource-filters {
        gap: 7px;
    }

    .znf3-resource-filter {
        min-height: 40px;
        gap: 6px;
        padding: 6px 8px;
        border-radius: 8px;
    }

    .znf3-resource-filter__icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 22px;
    }

    .znf3-resource-filter strong {
        font-size: 12.5px;
    }

    .znf3-resource-filter__mark {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }

    .znf3-resource-filter__mark::after {
        font-size: 11px;
    }

    .znf3-filters-head__tools .znf3-reset {
        min-height: 28px;
        padding: 0 8px;
        font-size: 11px;
    }

    .znf3-filters-main,
    .znf3-solution-groups {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .znf3-filter-block--geo,
    .znf3-filter-block--resources {
        grid-column: auto;
    }

    .znf3-filter-block--resources {
        align-self: stretch;
    }

    .znf3-filter-block--geo.has-city .znf3-geo-filter {
        grid-template-columns: 1fr;
    }

    .znf3-solutions-panel > summary {
        align-items: center;
        padding: 16px 16px;
    }

    .znf3-solutions-panel > summary strong {
        font-size: 15px;
    }

    .znf3-solutions-panel > summary small {
        font-size: 12px;
    }


    .znf3-solution-group > summary {
        min-height: 58px;
        padding: 14px 16px;
    }

    .znf3-choice-strip--levels {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        gap: 10px;
        justify-content: start;
    }
}


/* Modal and image viewer. */
body.znf3-modal-open {
    overflow: hidden;
}

.znf3-content-modal,
.znf3-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.znf3-content-modal__backdrop,
.znf3-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 24, 40, .72);
}

.znf3-content-modal__dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.znf3-content-modal__close,
.znf3-lightbox__close {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 4;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 39, 64, .8);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.znf3-content-modal__body {
    padding: 0;
}

.znf3-content-modal__loading {
    padding: 60px 24px;
    color: #637286;
    text-align: center;
}

.znf3-detail {
    padding-bottom: 28px;
}

.znf3-detail__header,
.znf3-detail__content,
.znf3-detail__rubrics {
    width: min(820px, calc(100% - 36px));
    margin-right: auto;
    margin-left: auto;
}

.znf3-detail__header {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 16px;
    background: #edf4fc;
}

.znf3-detail__header h2 {
    margin: 0;
    color: #17243a;
    font-size: clamp(25px, 4vw, 42px);
    line-height: 1.08;
}

.znf3-detail__rubrics {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f7f9fd;
}

.znf3-detail__rubric-group {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.znf3-detail__rubric-group h3 {
    margin: 0;
    color: #455870;
    font-size: 13px;
}

.znf3-detail__rubric-values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.znf3-detail__rubric-values span {
    padding: 5px 8px;
    border-radius: 8px;
    background: #eef4fb;
    color: #40536b;
    font-size: 12px;
}

.znf3-detail__content {
    margin-top: 30px;
    padding: 0;
    color: #2c3d53;
    line-height: 1.62;
}

.znf3-detail__media-section {
    margin-right: auto;
    margin-left: auto;
    padding-top: 18px;
}

.znf3-detail__media-section--videos {
    width: min(820px, calc(100% - 36px));
}

.znf3-detail__media-section--images {
    width: min(900px, calc(100% - 36px));
}

.znf3-detail__videos {
    display: grid;
    gap: 16px;
    justify-items: center;
}

.znf3-detail__video-item {
    width: min(100%, 820px);
    margin: 0;
    text-align: center;
}

.znf3-detail__video-item video {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(72vh, 760px);
    margin: 0 auto;
    border-radius: 12px;
    background: #111;
}

.znf3-detail__video-item figcaption,
.znf3-detail__media-item figcaption {
    padding: 7px 2px 0;
    color: #6a7888;
    font-size: 12px;
    line-height: 1.35;
}

.znf3-detail__gallery {
    columns: 2 320px;
    column-gap: 12px;
}

.znf3-detail__media-item {
    break-inside: avoid;
    margin: 0 0 12px;
}

.znf3-detail__media-item button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    cursor: zoom-in;
}

.znf3-detail__media-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.znf3-detail__author {
    width: min(500px, calc(100% - 36px));
    margin: 40px auto 0;
    padding-top: 12px;
    text-align: center;
}

.znf3-detail__author-link {
    display: grid;
    justify-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}

.znf3-detail__author-avatar-wrap {
    position: relative;
    display: block;
    width: min(100%, 420px);
    padding-top: 4px;
}

.znf3-detail__author-avatar {
    position: relative;
    z-index: 2;
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
}

.znf3-detail__author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.znf3-detail__author-avatar-line {
    position: absolute;
    top: 82px;
    width: calc(50% - 74px);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(161, 185, 218, .18) 0%, rgba(144, 169, 205, .95) 42%, rgba(144, 169, 205, .95) 58%, rgba(161, 185, 218, .18) 100%);
}

.znf3-detail__author-avatar-line--left {
    left: 0;
}

.znf3-detail__author-avatar-line--right {
    right: 0;
}

.znf3-detail__author-name {
    color: #174f91;
    font-size: 19px;
    line-height: 1.2;
}

.znf3-detail__author-about {
    color: #52657c;
    font-size: 14px;
    line-height: 1.55;
}

.znf3-detail__author-location {
    color: #6a7d95;
    font-size: 13px;
    line-height: 1.45;
}

.znf3-detail__author-link:hover .znf3-detail__author-name,
.znf3-detail__author-link:focus-visible .znf3-detail__author-name {
    text-decoration: underline;
}

.znf3-detail__author-close {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.znf3-detail__close-link {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4a6486;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: underline;
    cursor: pointer;
}

.znf3-detail__close-link:hover,
.znf3-detail__close-link:focus-visible {
    color: #174f91;
}

.znf3-lightbox__figure {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: min(96vw, 1400px);
    max-height: 94vh;
    margin: 0;
    place-items: center;
}

.znf3-lightbox img {
    display: block;
    width: auto;
    height: auto;
    max-width: 96vw;
    max-height: 88vh;
    object-fit: contain;
}

.znf3-lightbox figcaption {
    max-width: 900px;
    padding: 8px 12px;
    color: #fff;
    text-align: center;
}


/* Author feed navigation. The author page is already scoped to one participant, so filters are replaced by one clear exit. */
.znf3-author-home {
    display: flex;
    justify-content: center;
    margin: 22px 0 0;
}

.znf3-author-home__link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid #b9c9db;
    border-radius: 10px;
    background: #eef3f8;
    color: #24415f;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.znf3-author-home__link:hover {
    border-color: #3c6189;
    background: #e4edf6;
    color: #183755;
    transform: translateY(-1px);
}

.znf3-author-home__link:focus-visible {
    outline: 3px solid rgba(31, 95, 174, .42);
    outline-offset: 3px;
}

.znf3-audience-choice__option:focus-within,
.znf3-resource-filter:focus-within,
.znf3-card__media-link:focus-visible,
.znf3-more:focus-visible,
.znf3-reset:focus-visible,
.znf3-content-modal__close:focus-visible,
.znf3-lightbox__close:focus-visible,
.znf3-detail__media-item button:focus-visible {
    outline: 3px solid rgba(31, 95, 174, .42);
    outline-offset: 3px;
}

@media (max-width: 1180px) {
    .znf3-grid {
        --znf3-column-count: 3;
    }
}

@media (max-width: 760px) {
    .znf3-audience-choice {
        gap: 8px;
        padding: 12px;
    }

    .znf3-audience-choice__options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .znf3-audience-choice__option {
        min-height: 64px;
        flex-direction: column;
        gap: 4px;
        padding: 7px 3px;
        border-radius: 12px;
    }

    .znf3-audience-choice__mark {
        width: 23px;
        height: 23px;
        flex-basis: 23px;
    }

    .znf3-audience-choice__mark::after {
        font-size: 15px;
    }

    .znf3-audience-choice__option strong {
        font-size: clamp(11px, 3.4vw, 14px);
        white-space: normal;
        text-align: center;
    }

    .znf3-grid {
        --znf3-column-count: 2;
        gap: 12px;
    }

    .znf3-grid__column {
        gap: 12px;
    }

    .znf3-card__title {
        font-size: clamp(17px, 4vw, 21px);
    }

    .znf3-card__excerpt {
        font-size: 13px;
    }

    .znf3-content-modal {
        padding: 0;
    }

    .znf3-content-modal__dialog {
        width: 100%;
        min-height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .znf3-detail__gallery {
        columns: 1;
    }

    .znf3-detail__header {
        margin-top: 18px;
        padding: 16px;
        border-radius: 14px;
    }

    .znf3-detail__rubrics {
        margin-top: 18px;
        padding: 15px 16px;
    }

    .znf3-detail__content {
        margin-top: 24px;
    }
}

@media (max-width: 520px) {
    .znf3-grid {
        --znf3-column-count: 2;
        gap: 8px;
    }

    .znf3-grid__column {
        gap: 8px;
    }

    .znf3-detail__header,
    .znf3-detail__content,
    .znf3-detail__rubrics,
    .znf3-detail__media-section--videos,
    .znf3-detail__media-section--images,
    .znf3-detail__author {
        width: calc(100% - 28px);
    }

    .znf3-detail__rubric-group {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}


@media (max-width: 520px) {
    .znf3-detail__author {
        margin-top: 32px;
        padding-top: 8px;
    }

    .znf3-detail__author-avatar-wrap {
        width: min(100%, 300px);
    }

    .znf3-detail__author-avatar-line {
        top: 82px;
        width: calc(50% - 66px);
    }

    .znf3-detail__author-close {
        margin-top: 18px;
        padding-top: 16px;
    }
}

/* Must stay after component display declarations. */
.znf3-feed [hidden] {
    display: none;
}

/* Inline owner editing inside the existing content modal. */
.znf3-detail__header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.znf3-detail__header-row h2 {
    min-width: 0;
    flex: 1;
}

.znf3-detail__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #b8cce5;
    border-radius: 12px;
    background: #fff;
    color: #15549a;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.znf3-detail__edit:hover,
.znf3-detail__edit:focus-visible {
    border-color: #7fa5d1;
    background: #f6f9fd;
}

.znf3-inline-editor {
    position: relative;
    min-height: min(82vh, 900px);
    background: #f4f7fb;
}

.znf3-inline-editor__frame {
    display: block;
    width: 100%;
    height: min(82vh, 900px);
    border: 0;
    background: #f4f7fb;
}

@media (max-width: 620px) {
    .znf3-detail__header-row {
        display: grid;
        gap: 14px;
    }

    .znf3-detail__edit {
        width: 100%;
    }

    .znf3-inline-editor,
    .znf3-inline-editor__frame {
        min-height: 100vh;
        height: 100vh;
    }
}

/* Z Content Feed 0.2.18 — modal viewport contract for inline editor */
.znf3-content-modal.is-editing{
  padding:12px;
}
.znf3-content-modal.is-editing .znf3-content-modal__dialog{
  width:min(1180px,100%);
  height:calc(100dvh - 24px);
  max-height:calc(100dvh - 24px);
  overflow:hidden;
  border-radius:16px;
}
.znf3-content-modal.is-editing .znf3-content-modal__body,
.znf3-content-modal.is-editing .znf3-inline-editor,
.znf3-content-modal.is-editing .znf3-inline-editor__frame{
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
}
.znf3-content-modal.is-editing .znf3-content-modal__close{
  display:none;
}
@media(max-width:620px){
  .znf3-content-modal.is-editing{padding:0}
  .znf3-content-modal.is-editing .znf3-content-modal__dialog{
    width:100%;
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
  }
}


/* 0.2.48 — consolidated activity row; no theme or legacy margins. */
.znf3-feed .znf3-card__signals{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  min-height:18px;
  align-items:center;
  column-gap:8px;
  margin:3px 0 0;
  padding:0 10px;
  color:#74879c;
}
.znf3-card__signals-start,
.znf3-card__signals-end{
  display:flex;
  min-width:0;
  align-items:center;
}
.znf3-card__signals-start{justify-content:flex-start;gap:5px;}
.znf3-card__signals-end{justify-content:flex-end;}
.znf3-card__signal{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin:0;
  font-size:11px;
  font-weight:750;
  line-height:1;
}
.znf3-card__signal--comments{margin-left:0;}
.znf3-card__signal svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.znf3-card__video-mark{
  display:inline-flex;
  width:17px;
  height:17px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  line-height:1;
  filter:saturate(.9);
}
.znf3-card__estimate-mark{
  display:inline-flex;
  min-height:22px;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:3px 8px;
  border:1px solid #dfc98f;
  border-radius:999px;
  background:linear-gradient(180deg,#fffaf0,#f5ead1);
  color:#75591f;
  box-shadow:0 2px 7px rgba(117,89,31,.11);
  font-size:10px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
}
.znf3-card__signals-center{display:block;width:1px;height:1px;}
@media(max-width:430px){
  .znf3-feed .znf3-card__signals{column-gap:5px;margin-top:2px;}
  .znf3-card__signal{font-size:10px;}
  .znf3-card__signal svg{width:14px;height:14px;}
  .znf3-card__video-mark{width:15px;height:15px;font-size:11px;}
  .znf3-card__estimate-mark{min-height:20px;padding:3px 6px;font-size:9px;}
}


/* 0.2.48 — consolidated mobile card layout. */
@media(max-width:520px){
  .znf3-grid{
    width:calc(100% + 16px);
    margin-right:-8px;
    margin-left:-8px;
    gap:6px;
  }
  .znf3-grid__column{gap:6px;}
  .znf3-feed .znf3-card__body{
    display:block;
    margin:-1px 2px 0;
    padding:9px 7px 8px;
  }
  .znf3-feed .znf3-card__title{margin:0;font-size:16px;line-height:1.18;}
  .znf3-feed .znf3-card__meta-row{gap:3px 7px;margin-top:4px;}
  .znf3-feed .znf3-card__meta{margin:0;font-size:9.5px;line-height:1.25;}
  .znf3-feed .znf3-card__meta-row + .znf3-card__title{margin-top:6px;}
  .znf3-feed .znf3-card__excerpt{margin:5px 0 0;font-size:12px;line-height:1.35;}
  .znf3-feed .znf3-card__badges{top:7px;right:7px;gap:4px;}
  .znf3-feed .znf3-card__badges span{padding:5px 6px;font-size:9px;}
  .znf3-card__author-group{
    margin:8px -2px 0;
  }
  .znf3-card__author{
    grid-template-columns:27px minmax(0,1fr);
    gap:6px;
    margin:0;
    padding:5px 6px;
    border-radius:9px;
    background:rgba(255,255,255,.66);
  }
  .znf3-card__author-region-tab{
    width:calc(100% - 14px);
    max-width:calc(100% - 14px);
    margin-bottom:3px;
    padding:3px 8px;
    border-radius:999px;
    font-size:10px;
    line-height:1.1;
  }
  .znf3-card__avatar,
  .znf3-card__avatar-image{
    width:27px;
    height:27px;
  }
  .znf3-card__author-copy{gap:1px;}
  .znf3-card__author-name{
    max-width:100%;
    font-size:11px;
    line-height:1.1;
  }
  .znf3-card__region-text{
    font-size:10px;
    line-height:1.1;
  }
  .znf3-invite{
    min-height:0;
    gap:9px;
    padding:13px 9px;
    border-radius:13px;
  }
  .znf3-invite__action{
    width:100%;
    min-height:42px;
    padding:9px 7px;
    border-radius:10px;
    font-size:14px;
    white-space:nowrap;
    overflow-wrap:normal;
  }
  .znf3-invite p{
    font-size:13px;
    font-weight:700;
    line-height:1.32;
  }
}
@media(max-width:360px){
  .znf3-grid{
    width:calc(100% + 12px);
    margin-right:-6px;
    margin-left:-6px;
  }
  .znf3-card__author{
    grid-template-columns:25px minmax(0,1fr);
    gap:5px;
    padding:5px;
  }
  .znf3-card__author-region-tab{font-size:9.5px;}
  .znf3-card__avatar,
  .znf3-card__avatar-image{width:25px;height:25px;}
  .znf3-card__author-name{font-size:10.5px;}
  .znf3-card__region-text{font-size:9.5px;}
}

/* 0.2.49 — тип объекта и помещение */
.znf3-filter-block--application{
  min-width:210px;
}
.znf3-context-filters{
  display:grid;
  grid-template-columns:minmax(220px, 360px);
  gap:12px;
  margin-bottom:16px;
}
.znf3-filter-block--room-zone{
  margin:0;
}
@media (max-width:700px){
  .znf3-filter-block--application,
  .znf3-context-filters{
    min-width:0;
    width:100%;
    grid-template-columns:1fr;
  }
}

/* 0.2.58 — material type is a visible choice block with editor-style hints. */
.znf3-material-type-choice{
  display:grid;
  gap:12px;
  min-width:0;
  margin:0 0 16px;
  padding:16px;
  border-radius:16px;
  background:rgba(255,255,255,.72);
}
.znf3-material-type-choice__head{
  display:grid;
  gap:3px;
  min-width:0;
}
.znf3-material-type-choice__head>strong{
  color:#244f88;
  font-size:13px;
  font-weight:850;
  line-height:1.15;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.znf3-material-type-choice__head>small{
  color:#647b98;
  font-size:13px;
  line-height:1.4;
}
.znf3-material-type-choice__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
.znf3-material-type-option{
  position:relative;
  display:flex;
  min-width:0;
  min-height:112px;
  align-items:flex-start;
  justify-content:flex-start;
  margin:0;
  padding:15px 30px 14px 14px;
  border:1px solid #c7d6e8;
  border-radius:14px;
  background:#edf3fc;
  color:#183b66;
  cursor:pointer;
  text-align:left;
  transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.znf3-material-type-option:hover{
  border-color:#8eacd0;
  background:#e3edfb;
  transform:translateY(-1px);
}
.znf3-material-type-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.znf3-material-type-option__copy{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:
    "infographic kicker"
    "title title"
    "hint hint";
  column-gap:9px;
  row-gap:6px;
  min-width:0;
  align-items:start;
}
.znf3-material-type-option__infographic{
  grid-area:infographic;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border:1px solid rgba(57,121,205,.24);
  border-radius:10px;
  background:rgba(255,255,255,.72);
  color:#2f6fbe;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);
}
.znf3-material-type-option__infographic svg{
  display:block;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.znf3-material-type-option__infographic--installation{color:#176f86;background:#e8f7fb;border-color:#add8e2;}
.znf3-material-type-option__infographic--idea{color:#9a6a00;background:#fff8dc;border-color:#ead69a;}
.znf3-material-type-option__infographic--news{color:#8b43a8;background:#f8edff;border-color:#ddc3ea;}
.znf3-material-type-option__infographic--repair{color:#9b512d;background:#fff0e8;border-color:#e5c4b3;}
.znf3-material-type-option__infographic--case{color:#357360;background:#eaf7f1;border-color:#bddbce;}
.znf3-material-type-option__kicker{
  grid-area:kicker;
  align-self:center;
  color:inherit;
  font-size:12px;
  font-weight:900;
  line-height:1.15;
  letter-spacing:.045em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
.znf3-material-type-option__title{
  grid-area:title;
  display:block;
  color:inherit;
  font-size:14px;
  font-weight:800;
  line-height:1.22;
  overflow-wrap:anywhere;
}
.znf3-material-type-option__copy small{
  grid-area:hint;
  display:block;
  width:100%;
  color:#637993;
  font-size:11.5px;
  font-weight:500;
  line-height:1.35;
}
.znf3-material-type-option>i{
  position:absolute;
  top:8px;
  right:9px;
  display:grid;
  width:20px;
  height:20px;
  place-items:center;
  border-radius:50%;
  background:#1b61bd;
  color:#fff;
  font-size:12px;
  font-style:normal;
  opacity:0;
  transform:scale(.7);
  transition:opacity .16s ease,transform .16s ease;
}
.znf3-material-type-option.is-active{
  border-color:#3979cd;
  background:#dceaff;
  color:#0d4387;
  box-shadow:inset 0 0 0 1px #3979cd;
}
.znf3-material-type-option.is-active .znf3-material-type-option__copy small{
  color:#41658f;
}
.znf3-material-type-option.is-active>i{
  opacity:1;
  transform:scale(1);
}
.znf3-material-type-choice__resources{
  min-width:0;
  padding-top:14px;
  border-top:1px solid #d3deec;
}
.znf3-material-type-choice--resources-only{
  margin-top:0;
}
@media(max-width:980px){
  .znf3-material-type-choice__grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:680px){
  .znf3-material-type-choice{padding:12px;}
  .znf3-material-type-choice__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .znf3-material-type-option{min-height:104px;padding:12px 26px 12px 11px;}
  .znf3-material-type-option__title{font-size:13px;}
  .znf3-material-type-option__kicker{font-size:11.5px;}
  .znf3-material-type-option__copy small{font-size:10.8px;}
}
@media(max-width:430px){
  .znf3-material-type-choice__grid{grid-template-columns:1fr;}
  .znf3-material-type-option{min-height:88px;}
}

/* 0.2.59 — resource filters now also include 3D project and 3D model. */

/* 0.2.61 — resource checkboxes moved under material type cards in one equal row; emoji enlarged uniformly. */

/* 0.2.62 — географический фильтр по центру */
.znf3-filter-block--geo .znf3-filter-block__label {
    text-align: center;
}

.znf3-filter-block--geo .znf3-geo-filter {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.znf3-filter-block--geo .znf3-geo-field select {
    padding-left: 42px;
    padding-right: 42px;
    text-align: center;
    text-align-last: center;
}

.znf3-filter-block--geo .znf3-geo-field select option {
    text-align: center;
}

/* 0.2.63 — technical repack: new asset filename to bypass browser/CDN cache. */

/* 0.2.64 — регион без видимого заголовка; селект центрирован в полном блоке, текст слева. */
.znf3-filter-block--geo {
    grid-column: 1 / -1;
    padding-top: 25px;
}

.znf3-filter-block--geo .znf3-geo-filter {
    width: min(100%, 620px);
    margin-left: auto;
    margin-right: auto;
}

.znf3-filter-block--geo .znf3-geo-field select {
    padding-left: 18px;
    padding-right: 42px;
    text-align: left;
    text-align-last: left;
}

.znf3-filter-block--geo .znf3-geo-field select option {
    text-align: left;
}

/* 0.2.67 — compact resource rows; each item wraps as a whole block. */

/* 0.2.68 — distinct infographic pictograms improve scanning of material type cards. */


/* 0.2.70 — resource-filter rows are centered, including wrapped lines. */


/* 0.2.71 — resource filters moved below the region/city selector. */
.znf3-geo-resources {
    width: 100%;
    margin-top: 50px;
}

.znf3-filter-block--resources-standalone {
    grid-column: 1 / -1;
    padding-top: 50px;
}

/* 0.2.73 — material type cards split into infographic + uppercase kicker, a second-line title, then the full-width hint. */


/* 0.2.82 — процент заполненности справа в строке активности карточки. */
.znf3-card__signals-end{gap:7px;}
.znf3-card__completeness{
  display:inline-flex;
  min-width:31px;
  align-items:center;
  justify-content:flex-end;
  color:#7b8794;
  font-size:11px;
  font-weight:850;
  line-height:1;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.znf3-card__completeness.is-low{color:#a65545;}
.znf3-card__completeness.is-show{color:#ad7119;}
.znf3-card__completeness.is-search{color:#2e7658;}
.znf3-card__completeness.is-bonus{color:#226e69;}
@media(max-width:430px){
  .znf3-card__signals-end{gap:5px;}
  .znf3-card__completeness{min-width:28px;font-size:10px;}
}


/* 0.2.84 — после выбора региона города показаны доступными метками вместо выпадающего списка. */
.znf3-filter-block--geo.has-city .znf3-geo-filter {
    grid-template-columns: minmax(0, 1fr);
}

.znf3-geo-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 12px;
}

.znf3-geo-cities[hidden],
.znf3-geo-city-tag[hidden] {
    display: none !important;
}

.znf3-geo-city-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #bfd0e6;
    border-radius: 9px;
    background: #f7fafe;
    color: #244f7d;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.15;
    cursor: pointer;
    transition: border-color .14s ease, background-color .14s ease, color .14s ease, box-shadow .14s ease;
}

.znf3-geo-city-tag:hover {
    border-color: #7ea1d1;
    background: #edf5fd;
}

.znf3-geo-city-tag:focus-visible {
    outline: none;
    border-color: #5f8fc7;
    box-shadow: 0 0 0 3px rgba(17, 75, 150, .10);
}

.znf3-geo-city-tag.is-active {
    border-color: #2c6dac;
    background: #2f73ad;
    color: #fff;
}

.znf3-geo-city-tag small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: rgba(36, 79, 125, .10);
    color: inherit;
    font-size: 10px;
    font-weight: 850;
}

.znf3-geo-city-tag.is-active small {
    background: rgba(255, 255, 255, .20);
}

@media (max-width: 680px) {
    .znf3-geo-cities {
        justify-content: flex-start;
        gap: 7px;
        margin-top: 10px;
    }

    .znf3-geo-city-tag {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
    }
}

/* 0.2.85 — направление стало вложенным уточнением выбранного типа контента. */
.znf3-material-type-choice{
  padding:14px;
}
.znf3-material-type-choice__grid{
  align-items:start;
}
.znf3-material-type-option{
  display:grid;
  min-height:0;
  align-items:stretch;
  justify-content:stretch;
  padding:0;
  overflow:hidden;
  cursor:default;
  transform:none;
}
.znf3-material-type-option:hover{
  transform:none;
}
.znf3-material-type-option.is-active{
  grid-column:auto;
}
.znf3-material-type-option__main{
  position:relative;
  display:grid;
  min-height:202px;
  height:202px;
  align-content:start;
  padding:15px 42px 14px 14px;
  cursor:pointer;
  box-sizing:border-box;
}
.znf3-material-type-option__main > input{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  opacity:0!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
.znf3-material-type-option__main > i{
  position:absolute;
  top:11px;
  right:12px;
  display:grid;
  width:23px;
  height:23px;
  place-items:center;
  border-radius:50%;
  background:#1b61bd;
  color:#fff;
  font-size:13px;
  font-style:normal;
  opacity:0;
  transform:scale(.72);
  transition:opacity .16s ease,transform .16s ease;
}
.znf3-material-type-option.is-active .znf3-material-type-option__main > i{
  opacity:1;
  transform:scale(1);
}
.znf3-material-type-surfaces{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  padding:9px 10px 10px;
  border-top:1px solid #c6d5e8;
  background:#fff;
}
.znf3-material-type-surfaces[hidden]{display:none!important;}
.znf3-material-type-surface{
  position:relative;
  display:flex;
  min-width:0;
  min-height:38px;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin:0;
  padding:7px 9px;
  border:1px solid #bfd0e6;
  border-radius:9px;
  background:#f5f8fd;
  color:#173f70;
  cursor:pointer;
  box-sizing:border-box;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.znf3-material-type-surface:hover{
  border-color:#6f9dcc;
  background:#edf4ff;
}
.znf3-material-type-surface input{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  opacity:0!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
.znf3-material-type-surface > span{
  display:grid;
  width:22px;
  height:22px;
  flex:0 0 22px;
  place-items:center;
  border:2px solid #7f9fc4;
  border-radius:7px;
  background:#fff;
  color:#fff;
  font-size:14px;
  font-weight:900;
  line-height:1;
  transition:background .15s ease,border-color .15s ease;
}
.znf3-material-type-surface > strong{
  min-width:0;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  text-align:left;
}
.znf3-material-type-surface.is-active{
  border-color:#3979cd;
  background:#e3eeff;
  box-shadow:inset 0 0 0 1px rgba(57,121,205,.42);
}
.znf3-material-type-surface.is-active > span{
  border-color:#3979cd;
  background:#3979cd;
}
@media(max-width:680px){
  .znf3-material-type-option__main{min-height:184px;height:184px;padding:13px 39px 13px 12px;}
  .znf3-material-type-surfaces{gap:6px;padding:8px;}
  .znf3-material-type-surface{min-height:40px;padding:7px 9px;}
  .znf3-material-type-surface > strong{font-size:12.5px;}
}

/* 0.2.86 — выбранный тип остаётся в своей колонке; уточнения раскрываются тремя строками внутри карточки. */

/* 0.2.87 — стабильное положение фильтра, равная высота карточек и переход к результатам. */
@media(max-width:430px){
  .znf3-material-type-option__main{min-height:150px;height:150px;}
  .znf3-view-results{width:min(100%,260px);}
}
