@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');


* {
    box-sizing: border-box;
}


:root {

    --primary: #0f766e;
    --primary-dark: #115e59;

    --bg: #f5f7f9;

    --card: #ffffff;

    --text: #17212b;

    --muted: #718096;

    --border: #e5e9ee;

    --success: #16835b;

    --success-bg: #eaf8f1;

}


body {

    margin: 0;

    background: var(--bg);

    color: var(--text);

    font-weight: 500;

    font-family:
        "Vazirmatn",
        Tahoma,
        sans-serif;

}


button,
input,
select {

    font-family: inherit;

}


button {

    cursor: pointer;

}


.app {

    min-height: 100vh;

    display: flex;

}


/* SIDEBAR */

.sidebar {

    width: 280px;

    background: #ffffff;

    border-left: 1px solid var(--border);

    padding: 32px 22px;

    display: flex;

    flex-direction: column;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 48px;

}


.brand-icon {

    width: 48px;

    height: 48px;

    border-radius: 14px;

    display: grid;

    place-items: center;

    background: var(--primary);

    color: white;

    font-size: 19px;

    font-weight: 800;

}


.brand strong {

    display: block;

    font-size: 19px;

}


.brand span {

    display: block;

    margin-top: 3px;

    font-size: 12px;

    color: var(--muted);

}


.sidebar-title {

    font-size: 13px;

    color: var(--muted);

    margin-bottom: 20px;

}


.steps {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.step {

    padding: 13px;

    border-radius: 13px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--muted);

}


.step-number {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    font-size: 13px;

}


.step strong {

    display: block;

    font-size: 14px;

}


.step span {

    display: block;

    margin-top: 2px;

    font-size: 11px;

}


.step.active {

    background: #eef8f7;

    color: var(--primary);

}


.step.active .step-number {

    background: var(--primary);

    color: white;

    border-color: var(--primary);

}


.sidebar-footer {

    margin-top: auto;

}


.secure {

    background: #f4faf8;

    padding: 12px;

    border-radius: 12px;

    color: var(--success);

    font-size: 12px;

}


.secure span {

    margin-left: 5px;

}


.version {

    color: #a0aab5;

    font-size: 11px;

    margin-top: 12px;

}


/* MAIN */

.main {

    flex: 1;

    min-width: 0;

}


.topbar {

    height: 92px;

    background: white;

    border-bottom: 1px solid var(--border);

    padding: 20px 48px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.eyebrow {

    font-size: 12px;

    color: var(--muted);

}


.topbar h1 {

    margin: 4px 0 0;

    font-size: 22px;

}


.top-status {

    font-size: 12px;

    color: var(--success);

    display: flex;

    align-items: center;

    gap: 7px;

}


.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--success);

}


/* PROGRESS */

.progress-wrapper {

    max-width: 1100px;

    margin: 28px auto 0;

    padding: 0 30px;

}


.progress-info {

    display: flex;

    justify-content: space-between;

    font-size: 12px;

    color: var(--muted);

    margin-bottom: 7px;

}


.progress {

    height: 5px;

    background: #e9edef;

    border-radius: 10px;

    overflow: hidden;

}


.progress-bar {

    height: 100%;

    width: 25%;

    background: var(--primary);

    border-radius: inherit;

    transition: .35s;

}


/* CONTENT */

.content {

    max-width: 1100px;

    margin: auto;

    padding: 40px 30px 80px;

}


.screen {

    display: none;

}


.screen.active {

    display: block;

    animation: fade .3s ease;

}


@keyframes fade {

    from {

        opacity: 0;

        transform: translateY(8px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* HEADINGS */

.section-heading {

    margin-bottom: 35px;

}


.badge {

    display: inline-flex;

    padding: 5px 10px;

    border-radius: 20px;

    background: #eaf6f5;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

}


.section-heading h2 {

    font-size: 28px;

    margin: 12px 0 7px;

}


.section-heading p {

    color: var(--muted);

    font-size: 14px;

    margin: 0;

}


/* QUESTION */

.question {

    margin-bottom: 30px;

}


.question > label {

    display: block;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 12px;

}


/* CARDS */

.cards {

    display: grid;

    gap: 12px;

}


.usage-grid {

    grid-template-columns:
        repeat(3, 1fr);

}


.option {

    border: 1px solid var(--border);

    background: white;

    border-radius: 14px;

    padding: 17px;

    display: flex;

    align-items: center;

    gap: 13px;

    text-align: right;

    transition: .2s;

}


.option:hover {

    border-color: #a8cfcc;

    transform: translateY(-1px);

}


.option.selected {

    border-color: var(--primary);

    background: #f1faf9;

    box-shadow:
        0 0 0 2px
        rgba(15,118,110,.08);

}


.option-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: #f1f4f6;

    color: var(--primary);

    font-weight: 800;

}


.option strong {

    display: block;

    font-size: 13px;

}


.option small {

    display: block;

    color: var(--muted);

    font-size: 10px;

    margin-top: 3px;

}


/* INPUT */

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.input-box {

    display: flex;

    align-items: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;

}


.input-box input {

    border: 0;

    outline: 0;

    flex: 1;

    padding: 15px;

    font-size: 15px;

    min-width: 0;

}


.input-box span {

    padding: 0 15px;

    color: var(--muted);

    font-size: 12px;

    border-right: 1px solid var(--border);

}


/* SELECT */

select {

    width: 100%;

    padding: 16px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: white;

    outline: none;

    font-size: 14px;

}


select:focus {

    border-color: var(--primary);

}


/* CITY */

.city-info {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: -10px;

    margin-bottom: 30px;

}


.city-info > div {

    background: #f5faf9;

    border: 1px solid #dcefed;

    padding: 15px;

    border-radius: 12px;

}


.city-info span {

    display: block;

    color: var(--muted);

    font-size: 11px;

}


.city-info strong {

    display: block;

    margin-top: 4px;

    color: var(--primary);

    font-size: 15px;

}


/* DIRECTIONS */

.direction-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}


.direction {

    border: 1px solid var(--border);

    background: white;

    border-radius: 13px;

    padding: 16px;

    font-size: 13px;

}


.direction span {

    display: block;

    font-size: 23px;

    margin-bottom: 6px;

    color: var(--primary);

}


.direction.selected {

    border-color: var(--primary);

    background: #eef8f7;

}


/* ELEMENT */

.element-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

}


.element-card {

    border: 1px solid var(--border);

    background: white;

    border-radius: 16px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 15px;

    text-align: right;

    transition: .2s;

}


.element-card:hover {

    transform: translateY(-2px);

    border-color: #acd1ce;

}


.element-card.selected {

    border-color: var(--primary);

    background: #eef8f7;

}


.element-icon {

    width: 50px;

    height: 50px;

    border-radius: 13px;

    background: #f0f4f5;

    color: var(--primary);

    display: grid;

    place-items: center;

    font-size: 25px;

}


.element-icon svg {

    width: 26px;

    height: 26px;

}


.element-card strong {

    display: block;

    font-size: 15px;

}


.element-card span {

    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 5px;

}


/* SUB OPTIONS */

.sub-options {

    margin-top: 25px;

    padding: 22px;

    border-radius: 15px;

    background: white;

    border: 1px solid var(--border);

}


.sub-options h3 {

    font-size: 14px;

    margin: 0 0 14px;

}


.sub-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

}


.sub-option {

    border: 1px solid var(--border);

    background: white;

    border-radius: 11px;

    padding: 15px;

    text-align: right;

}


.sub-option.selected {

    border-color: var(--primary);

    background: #eef8f7;

}


.sub-option strong {

    display: block;

    font-size: 13px;

}


.sub-option span {

    display: block;

    color: var(--muted);

    font-size: 10px;

    margin-top: 4px;

}


/* ACTIONS */

.actions {

    display: flex;

    justify-content: flex-start;

    gap: 10px;

    margin-top: 35px;

}


.primary,
.secondary {

    border-radius: 11px;

    padding: 13px 22px;

    border: 0;

    font-size: 13px;

    font-weight: 700;

}


.primary {

    background: var(--primary);

    color: white;

}


.primary:hover {

    background: var(--primary-dark);

}


.secondary {

    background: white;

    color: var(--text);

    border: 1px solid var(--border);

}


/* RESULT */

.result-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;

}


.result-header h2 {

    margin: 12px 0 0;

    font-size: 26px;

}


.result-status {

    display: flex;

    align-items: center;

    gap: 12px;

    background: var(--success-bg);

    color: var(--success);

    border-radius: 14px;

    padding: 13px 17px;

}


.result-status > span {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--success);

    color: white;

}


.result-status strong {

    display: block;

    font-size: 13px;

}


.result-status small {

    display: block;

    font-size: 10px;

    margin-top: 2px;

}


/* SUMMARY */

.summary-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 18px;

}


.summary-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 13px;

    padding: 17px;

}


.summary-card span {

    display: block;

    font-size: 10px;

    color: var(--muted);

}


.summary-card strong {

    display: block;

    margin-top: 6px;

    font-size: 16px;

}


.summary-card.highlight {

    background: #eef8f7;

    border-color: #d3ebe8;

}


.summary-card.highlight strong {

    color: var(--primary);

    font-size: 20px;

}


/* CALC */

.calculation-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 23px;

    margin-bottom: 18px;

}


.calc-title h3 {

    margin: 9px 0 22px;

    font-size: 17px;

}


.metrics {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid var(--border);

    padding-top: 20px;

}


@media (max-width: 720px) {

    .metrics {

        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 16px;

    }

    .metrics > div:nth-child(2) {

        border-left: 0;

    }

}


.metrics > div {

    padding: 0 18px;

    border-left: 1px solid var(--border);

}


.metrics > div:last-child {

    border-left: 0;

}


.metrics span {

    display: block;

    color: var(--muted);

    font-size: 11px;

}


.metrics strong {

    display: block;

    margin-top: 8px;

    font-size: 22px;

}


/* TABLE */

.table-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;

}


.table-header {

    padding: 20px;

    border-bottom: 1px solid var(--border);

}


.table-header h3 {

    margin: 0;

    font-size: 15px;

}


.table-header p {

    margin: 5px 0 0;

    color: var(--muted);

    font-size: 11px;

}


.table-wrapper {

    overflow-x: auto;

}


table {

    width: 100%;

    border-collapse: collapse;

}


th {

    background: #f8fafb;

    font-size: 11px;

    color: var(--muted);

    text-align: right;

    padding: 13px;

}


td {

    padding: 13px;

    border-top: 1px solid var(--border);

    font-size: 11px;

}


.result-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;

}


.result-actions button {

    flex: 1 1 auto;

}


@media (max-width: 720px) {

    .result-actions {

        display: grid;

        grid-template-columns: 1fr 1fr;

    }

}


/* HIDDEN */

.hidden {

    display: none !important;

}


/* TOAST */

.toast {

    position: fixed;

    bottom: 25px;

    right: 25px;

    background: #202b33;

    color: white;

    padding: 13px 18px;

    border-radius: 10px;

    font-size: 12px;

    opacity: 0;

    pointer-events: none;

    transform: translateY(10px);

    transition: .25s;

}


.toast.show {

    opacity: 1;

    transform: translateY(0);

}


/* MOBILE */

@media(max-width: 900px) {

    .sidebar {

        display: none;

    }

    .usage-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .element-grid {

        grid-template-columns: 1fr;

    }

}


@media(max-width: 600px) {

    .topbar {

        padding: 18px 20px;

    }

    .content {

        padding: 30px 18px 60px;

    }

    .usage-grid,
    .form-row,
    .direction-grid,
    .summary-grid,
    .metrics,
    .sub-grid {

        grid-template-columns: 1fr;

    }

    .section-heading h2 {

        font-size: 23px;

    }

    .result-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }

}


/* =========================
   USAGE LIST (Appendix 4) + SEARCH + WARNING
========================= */

.option span {

    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;

}


.search-box {

    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 14px;
    box-sizing: border-box;

}


.usage-groups {

    display: flex;
    flex-direction: column;
    gap: 20px;

}


.usage-group-title {

    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;

}


.usage-group .usage-grid {

    grid-template-columns: repeat(2, 1fr);

}


.warning-box {

    background: #fff4e5;
    border: 1px solid #f4b942;
    color: #7a4a00;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.9;
    margin: 6px 0 18px;

}


@media (max-width: 720px) {

    .usage-group .usage-grid,
    .cards.usage-grid {

        grid-template-columns: 1fr;

    }

}


/* =========================
   USAGE ACCORDION
========================= */

.usage-group {

    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;

}


.usage-group-title {

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f9f9;
    border: none;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    font-family: inherit;

}


.usage-group-arrow {

    transition: transform .2s;

}


.usage-group.open .usage-group-arrow {

    transform: rotate(180deg);

}


.usage-group-body {

    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding: 0 16px;

}


.usage-group.open .usage-group-body {

    max-height: 3000px;
    padding: 16px;

}


/* =========================
   GATE SCREENS (welcome / terms / contact / group-d)
========================= */

.gate-screen {

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg);

}


.gate-card {

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(15, 118, 110, .06);

}


.welcome-card {

    text-align: center;

}


.brand-icon.big {

    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 25px;
    margin: 0 auto 20px;

}


.welcome-card h1 {

    font-size: 23px;
    margin: 0 0 10px;

}


.welcome-card p {

    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 20px;

}


.designed-by {

    background: #f0f4f5;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 26px;
    line-height: 1.9;

}


.terms-card h2 {

    font-size: 19px;
    margin: 0 0 4px;

}


.terms-ref {

    color: var(--muted);
    font-size: 13px;
    margin: 0 0 16px;

}


.terms-card p {

    font-size: 14px;
    line-height: 2;
    color: var(--text);

}


.terms-list {

    padding-inline-start: 20px;
    margin: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;

}


.terms-list li {

    font-size: 14px;
    line-height: 1.9;

}


.terms-note {

    background: #fff4e5;
    border: 1px solid #f4b942;
    color: #7a4a00;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;

}


.terms-choices {

    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0;

}


.terms-choice {

    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.9;

}


.terms-choice input {

    margin-top: 3px;

}


.contact-card,
.groupd-card {

    text-align: center;

}


.contact-phone {

    font-size: 27px;
    font-weight: 800;
    color: var(--primary);
    background: #f0f4f5;
    border-radius: 14px;
    padding: 18px;
    margin: 20px 0;

}


.groupd-card {

    text-align: right;
    max-width: 760px;

}


.groupd-card h2 {

    text-align: center;
    margin-bottom: 20px;

}


.groupd-body {

    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;

}


.groupd-block {

    display: flex;
    flex-direction: column;
    gap: 4px;

}


.groupd-block p {

    font-size: 14px;
    line-height: 2;
    margin: 0;

}


.groupd-heading {

    font-weight: 800;
    color: var(--primary);
    font-size: 15px;

}


.groupd-warn-box {

    background: #fff4e5;
    border: 1px solid #f4b942;
    color: #7a4a00;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.9;
    display: flex;
    flex-direction: column;
    gap: 4px;

}


.groupd-warn-box strong {

    color: #7a4a00;

}


/* =========================
   FOOTER
========================= */

.site-footer {

    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 30px 40px;

}


.footer-col h4 {

    margin: 0 0 10px;
    font-size: 14px;
    color: var(--primary);

}


.footer-about p {

    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    margin: 0;

}


.license-placeholder {

    width: 120px;
    height: 80px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
    text-align: center;

}


.footer-link {

    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

}


.footer-link:hover {

    text-decoration: underline;

}


@media (max-width: 720px) {

    .site-footer {

        grid-template-columns: 1fr;

    }

    .gate-card {

        padding: 26px 20px;

    }

}


/* =========================
   WELCOME SCREEN (redesigned)
========================= */

.welcome-screen {

    direction: ltr;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 100vh;
    padding: 0;
    align-items: stretch;
    background: #f3ead4;

}


.welcome-art {

    position: relative;
    overflow: hidden;
    min-height: 320px;

}


.background-pic {

    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

}


.welcome-content {

    position: relative;
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 50px 60px;
    background: #f3ead4;

}


.welcome-nav {

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 30px;
    left: 60px;
    right: auto;
    width: calc(100% - 120px);
        background-color: #fff;
    padding: 15px;
    border-radius: 16px;

}


.welcome-nav-links {

    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);

}


.nav-link {

    cursor: pointer;

}


.nav-link:hover {

    text-decoration: underline;

}


.nav-sep {

    color: var(--border);

}


.welcome-logo {

    width: 56px;
    height: 56px;
    object-fit: contain;

}


.welcome-designed-by {

    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 46px;

}


.welcome-headline {

    font-size: 38px;
    line-height: 1.35;
    margin: 0;
    color: var(--text);

}


.welcome-headline span {

    color: #c9a568;

}


.welcome-divider {

    height: 1px;
    background: var(--border);
    width: 100%;

}


.welcome-subtitle {

    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;

}


.welcome-cta {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 15px;

}


.welcome-footnote {

    font-size: 13px;
    color: var(--muted);
    margin: 0;

}


@media (max-width: 900px) {

    .welcome-screen {

        grid-template-columns: 1fr;

    }

    .welcome-art {

        min-height: 260px;

    }

    .welcome-content {

        padding: 90px 24px 40px;

    }

    .welcome-nav {

        left: 24px;
        width: calc(100% - 48px);

    }

}


/* =========================
   ABOUT US PAGE
========================= */

.about-card {

    max-width: 700px;

}


.about-body {

    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0 24px;

}


.about-body p {

    font-size: 14px;
    line-height: 2;
    margin: 0;
    color: var(--text);

}


.about-team {

    margin: 0;
    padding-inline-start: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);

}


.about-tagline {

    font-weight: 800;
    color: var(--primary);

}


/* =========================
   TERMS CHOICE - TITLED
========================= */

.terms-choice {

    align-items: flex-start;

}


.terms-choice > span {

    display: flex;
    flex-direction: column;
    gap: 6px;

}


.choice-title {

    font-size: 14px;
    color: var(--primary-dark);

}


.choice-body {

    font-size: 13px;
    color: var(--text);
    line-height: 1.9;

}


/* =========================
   GROUP D ACTIONS
========================= */

.groupd-actions {

    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;

}


/* =========================
   STEP 5 - CERTIFIED MATERIALS
========================= */

.step5-card {

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;

}


.step5-icon {

    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 21px;

}


.step5-card p {

    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 520px;
    margin: 0;

}


/* =========================
   MATERIALS DOWNLOAD GRID
========================= */

.materials-card {

    max-width: 720px;

}


.materials-intro {

    font-size: 14px;
    color: var(--muted);
    margin: 0 0 20px;

}


.materials-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;

}


.materials-item {

    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    background: var(--card);

}


.materials-item:hover {

    border-color: var(--primary);
    background: #f0f4f5;

}


@media (max-width: 600px) {

    .materials-grid {

        grid-template-columns: 1fr;

    }

}


/* =========================
   TINY CREDIT (footer replacement)
========================= */

.tiny-credit {

    text-align: center;
    font-size: 11px;
    color: var(--muted);
    padding: 14px 10px;

}


/* =========================
   ELEMENT NOTES
========================= */

.element-notes {

    margin-top: 16px;
    background: #f0f4f5;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--text);

}


.element-notes strong {

    color: var(--primary-dark);
    margin-left: 6px;

}


/* =========================
   MULTI-VARIANT WALL RESULT CARDS
========================= */

.element-card-block {

    margin-bottom: 24px;

}


.calc-title {

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;

}


.mini-status {

    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;

}


.mini-status.pass {

    background: #e6f6ef;
    color: var(--success);

}


.mini-status.fail {

    background: #fdeceb;
    color: #c0392b;

}


.mini-status.unknown {

    background: #f0f4f5;
    color: var(--muted);

}


.element-diagram {

    margin-top: 18px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    text-align: center;

}


.element-diagram img {

    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);

}

.welcome-aside {
    display: flex;
    align-items: center;
    gap: 15px;
}
