

/* Start:/local/templates/stroy-v1/src/scss/individual_pages/primer.akta.dlya.pik.css?178599027516430*/
:root {
    --brand: #424c5c;
    --accent: #5d8ca3;
    --text: #263241;
    --muted: #667386;
    --soft: #f6f8fb;
    --line: #e2e7ef;
    --white: #fff;
    --ok: #2f7a52;
    --ok-bg: #eaf7f0;
    --warn: #6b4b00;
    --warn-bg: #fff8ea;
    --warn-line: #d9b56a;
    --shadow: 0 12px 35px rgba(38, 50, 65, 0.07);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
.example_document__wrapper .header {
    display: grid;
    grid-template-columns: 245px 1fr;
    gap: 34px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .example_document__wrapper .header {
        grid-template-columns: 1fr;
    }
}

.modal {
    font-size: 16px;
}

section {
    background-color: #ffffff!important;
}
.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px 90px;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.hero {
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.hero:after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(93, 138, 163, 0.16), rgba(93, 138, 163, 0) 70%);
    pointer-events: none;
}
/*.header {*/
/*    display: grid;*/
/*    grid-template-columns: 245px 1fr;*/
/*    gap: 34px;*/
/*    align-items: center;*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/
.logo img {
    max-width: 220px;
    display: block;
    height: auto;
}
.logo-fallback {
    color: var(--brand);
    font-size: 25px;
    font-weight: 800;
    display: none;
}
.title {
    text-align: right;
}
.title h1 {
    margin: 0;
    color: var(--brand);
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.title p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}
.actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}
.action-tile {
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 106px;
    border: 1px solid var(--line);
    text-align: left;
}
button.action-tile {
    cursor: pointer;
}
.action-tile--blue {
    background: #f3f8fc;
    border-color: #c9dae8;
    color: var(--accent);
    font-size: 18px;
    font-weight: 800;
}
.action-tile--blue small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}
.action-tile--warn {
    background: var(--warn-bg);
    border-color: var(--warn-line);
    color: var(--warn);
    font-size: 18px;
    font-weight: 800;
}
.action-tile--warn small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #8b6a2a;
}
.action-tile--counter {
    background: var(--soft);
}
.counter-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 800;
    line-height: 1;
}
.counter-line .count-num {
    font-size: 32px;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
}
.counter-line .count-total {
    font-size: 22px;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
}
.counter-label {
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
}
.toolbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    margin-top: 22px;
    padding: 18px;
}
.search {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--text);
    min-width: 0;
}
.toggle-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    font-weight: 750;
    color: var(--brand);
    cursor: pointer;
    font-size: 13.3px;
}
.rooms {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 22px;
}
.room-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.room-card summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 24px;
    color: var(--brand);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}
.room-card summary::-webkit-details-marker {
    display: none;
}
.room-card summary em {
    font-style: normal;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}
.room-body {
    padding: 0 24px 22px;
}
.construct-block {
    padding-top: 22px;
}
.construct-block h3 {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.construct-block h3 span {
    font-size: 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 3px 8px;
    border-radius: 999px;
}
.defects-list {
    display: grid;
    gap: 12px;
}
.defect-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    transition: 0.18s ease;
    position: relative;
}
.defect-card.copied {
    background: var(--ok-bg);
    border-color: #b8dfc7;
}
.defect-card.hidden,
.defect-card.search-hidden {
    display: none;
}
.defect-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}
.defect-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.defect-number {
    color: var(--brand);
    font-weight: 900;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 13px;
}
.app-point {
    color: var(--muted);
    background: #f9fafc;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
}
.photo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--accent);
    background: #f3f8fc;
    border: 1px solid #c9dae8;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.photo-btn:hover {
    background: #eaf3f8;
}
.copy-btn {
    border: 1px solid #c9dae8;
    background: #f3f8fc;
    color: var(--accent);
    font-weight: 850;
    border-radius: 12px;
    padding: 9px 12px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
}
.copy-btn:hover {
    background: #eaf3f8;
}
.defect-card.copied .copy-btn {
    background: var(--ok);
    border-color: var(--ok);
    color: #fff;
}
.defect-text {
    font-size: 16px;
    color: var(--text);
    user-select: text;
}
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: #263241;
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 200;
    font-weight: 750;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.modal {
    position: fixed;
    inset: 0;
    background: rgba(38, 50, 65, 0.42);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 100;
}
.modal.open {
    display: flex;
}
.modal-card {
    width: min(920px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(38, 50, 65, 0.28);
    border: 1px solid var(--line);
}
.modal-card--warm {
    border-color: var(--warn-line);
}
.modal-head {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 2;
}
.modal-card--warm .modal-head {
    background: var(--warn-bg);
    border-bottom-color: var(--warn-line);
}
.modal-head h2 {
    margin: 0;
    color: var(--brand);
    font-size: 24px;
}
.modal-card--warm .modal-head h2 {
    color: var(--warn);
}
.close {
    border: 1px solid var(--line);
    background: #fff;
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: var(--brand);
}
.modal-body {
    padding: 22px;
}
.video {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #eef3f7, #f9fafc);
    border: 1px dashed #c9dae8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    padding: 18px;
    margin-bottom: 18px;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px 0;
}
.step {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}
.step b {
    display: block;
    color: var(--brand);
    margin-bottom: 6px;
}
.explain-body p {
    margin: 0 0 14px;
}
.explain-body .lead {
    font-size: 20px;
    font-weight: 800;
    color: var(--warn);
}
.explain-body .sublead {
    font-style: italic;
}
.explain-point {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0d8a4;
}
.explain-point:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.explain-point h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--brand);
}
.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(38, 50, 65, 0.22);
    z-index: 50;
}
.mobile-bar,
.desktop-float {
    display: none;
}
.desktop-float {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 245px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(38, 50, 65, 0.18);
    padding: 12px;
    z-index: 60;
}
.desktop-float .mini-counter {
    font-weight: 850;
    color: var(--brand);
    margin-bottom: 10px;
    font-size: 16px;
}
.desktop-float .mini-counter .count-num {
    font-size: 24px;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
}
.desktop-float .mini-counter .count-total {
    font-size: 16px;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
}
.desktop-float button {
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid #c9dae8;
    background: #f3f8fc;
    color: var(--accent);
    font-weight: 800;
    cursor: pointer;
    font-size: 13.3px;
}
@media (max-width: 900px) {
    .header,
    .actions,
    .toolbar,
    .steps {
        grid-template-columns: 1fr;
    }
    .title {
        text-align: left;
    }
    .title h1 {
        font-size: 32px;
    }
    .page {
        padding: 14px 12px 86px;
    }
    .hero,
    .toolbar {
        padding: 20px;
    }
    .room-card summary {
        font-size: 21px;
        padding: 18px 20px;
    }
    .room-body {
        padding: 0 16px 18px;
    }
    .defect-top {
        display: block;
    }
    .copy-btn {
        margin-top: 10px;
        width: 100%;
    }
    .counter {
        min-width: 0;
    }
    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 12px 35px rgba(38, 50, 65, 0.18);
        padding: 10px;
        z-index: 60;
    }
    .mobile-bar .mini-counter {
        font-weight: 850;
        color: var(--brand);
        align-self: center;
        padding-left: 8px;
    }
    .mobile-bar .mini-counter .count-num {
        font-size: 22px;
        font-weight: 800;
        font-family: Arial, Helvetica, sans-serif;
    }
    .mobile-bar .mini-counter .count-total {
        font-size: 15px;
        font-weight: 800;
        font-family: Arial, Helvetica, sans-serif;
    }
    .mobile-bar button {
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid #c9dae8;
        background: #f3f8fc;
        color: var(--accent);
        font-weight: 800;
    }
    .back-top {
        display: none;
    }
}
@media (min-width: 901px) {
    .desktop-float {
        display: block;
    }
}
@media print {
    .actions,
    .toolbar,
    .copy-btn,
    .photo-btn,
    .modal,
    .mobile-bar,
    .desktop-float,
    .back-top {
        display: none !important;
    }
    body {
        background: #fff;
    }
    .page {
        max-width: none;
        padding: 0;
    }
    .card,
    .room-card,
    .defect-card {
        box-shadow: none;
    }
}

/* v3 author version */
.workflow-note {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #c9dae8;
    background: #f3f8fc;
    color: #456f86;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}
.workflow-note b {
    color: #424c5c;
}
.room-nav {
    margin-top: 22px;
    padding: 18px;
}
.room-nav-title {
    color: #424c5c;
    font-weight: 850;
    margin-bottom: 12px;
    font-size: 16px;
}
.room-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.room-chips a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid #c9dae8;
    background: #f3f8fc;
    color: #5d8ca3;
    font-weight: 800;
    text-decoration: none;
    font-size: 16px;
}
.room-chips a:hover {
    background: #eaf3f8;
}
.room-card summary em {
    background: #f6f8fb;
    border: 1px solid #e2e7ef;
    border-radius: 999px;
    padding: 5px 10px;
}
.guide-callout {
    margin: 0 0 18px;
    border: 1px solid #b8dfc7;
    background: #eaf7f0;
    color: #214c35;
    border-radius: 18px;
    padding: 16px;
}
.guide-callout b {
    color: #2f7a52;
}
.defect-card {
    border-left: 4px solid transparent;
}
.defect-card.copied {
    border-left-color: #2f7a52;
}
.defect-card.copied .defect-number {
    background: #fff;
    border-color: #b8dfc7;
    color: #2f7a52;
}
.desktop-float {
    width: 270px;
}
.desktop-float button {
    margin-top: 6px;
}
@media (max-width: 900px) {
    .workflow-note {
        margin-top: 12px;
    }
    .room-nav {
        padding: 16px;
    }
    .room-chips {
        display: grid;
        grid-template-columns: 1fr;
    }
    .room-chips a {
        justify-content: flex-start;
    }
    .room-card summary {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }
    .room-card summary em {
        width: max-content;
        margin-top: 8px;
    }
}

/* v4 fixes */
.float-actions {
    display: grid;
    grid-template-columns: 1fr 42px;
    gap: 8px;
    align-items: center;
}
.float-actions button,
.mobile-actions button {
    margin-top: 0 !important;
}
.float-up,
.mobile-up {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #c9dae8;
    background: #f3f8fc;
    color: #5d8ca3;
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
}
.float-up:hover,
.mobile-up:hover {
    background: #eaf3f8;
    text-decoration: none;
}
.mobile-actions {
    display: grid;
    grid-template-columns: 1fr 42px;
    gap: 8px;
    align-items: center;
}
@media (max-width: 900px) {
    .mobile-bar {
        grid-template-columns: 1fr auto !important;
    }
    .mobile-actions button {
        font-size: 13px;
        padding: 10px 11px !important;
    }
}

.alert-warning {
    background: #F8D7DB;
    text-align: center;
    padding: 20px;
    width: 80%;
    margin: 0 auto;
    border-radius: 10px;
    color: #58151c;
    border: 1px solid #f1aeb5;
    margin-top: 100px;
}

@media (max-width: 900px) {
    .expert-widget-block-wrapper {
        bottom: 85px!important;
    }
}
/* End */
/* /local/templates/stroy-v1/src/scss/individual_pages/primer.akta.dlya.pik.css?178599027516430 */
