.majma1405 {
    display: grid;
    grid-template-columns: minmax(190px, 2fr) minmax(0, 8fr);
    align-items: start;
    direction: rtl;
    width: 90%;
    margin: 40px auto;
}

.majma1405-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .majma1405-tabs li {
        margin: 0 0 8px;
        padding: 0;
    }

    .majma1405-tabs button {
        width: 100%;
        padding: 14px 6px;
        border: 1px solid #e2eeec;
        border-radius: 8px;
        background: #fff;
        color: #4f4f4f;
        font: inherit;
        overflow-wrap: anywhere;
        cursor: pointer;
    }

        .majma1405-tabs button[aria-selected="true"] {
            background: #007f76;
            color: #fff;
        }

        .majma1405-tabs button:focus-visible {
            outline: 2px solid #00b1a5;
            outline-offset: 3px;
        }

.majma1405-content {
    min-width: 0;
    padding-inline-start: 24px;
    box-sizing: border-box;
}

    .majma1405-content section {
        min-height: 400px;
        padding: 32px;
        background: #fff;
        border-radius: 12px;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

        .majma1405-content section[hidden] {
            display: none;
        }

    .majma1405-content h2 {
        margin: 0 0 20px;
        font-size: 24px;
    }

    .majma1405-content p {
        line-height: 1.9;
        color: #4f4f4f;
    }

/* Static homepage map: all 31 locations remain visible. */
.majma1405-map {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 24px auto;
    direction: rtl;
}

    .majma1405-map > img {
        display: block;
        width: 100%;
        height: auto;
    }

    .majma1405-map .majma1405-marker {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateX(-50%);
        opacity: 1;
        visibility: visible;
        animation: none;
    }

.majma1405-marker-name {
    font-size: clamp(10px, 1vw, 12px);
    font-weight: 700;
    line-height: 1.5;
    color: #163e38;
    white-space: nowrap;
}

.majma1405-marker > img {
    display: block;
    width: clamp(18px, 2vw, 24px);
    height: auto;
}

.majma1405-map .westAzarbayjan {
    left: 7.68334%;
    top: 10.2425%;
}

.majma1405-map .eastAzarbayjan {
    left: 14.9233%;
    top: 5.11943%;
}

.majma1405-map .ardebil {
    left: 20.3433%;
    top: 0.150896%;
}

.majma1405-map .gilan {
    left: 27.5%;
    top: 9.90394%;
}

.majma1405-map .zanjan {
    left: 18.53%;
    top: 12.7857%;
}

.majma1405-map .kordestan {
    left: 13.9933%;
    top: 18.9945%;
}

.majma1405-map .mazandaran {
    left: 43.7433%;
    top: 15.3325%;
}

.majma1405-map .qazvin {
    left: 33.6367%;
    top: 17.2279%;
}

.majma1405-map .hamedan {
    left: 24.3033%;
    top: 22.3326%;
}

.majma1405-map .kermanshah {
    left: 13.6367%;
    top: 28.2029%;
}

.majma1405-map .ilam {
    left: 15.15%;
    top: 37.5143%;
}

.majma1405-map .lorestan {
    left: 20.75%;
    top: 31.4379%;
}

.majma1405-map .arak {
    left: 32.26%;
    top: 25.553%;
}

.majma1405-map .alborz {
    left: 39.9933%;
    top: 20.3158%;
}

.majma1405-map .tehran {
    left: 46.89%;
    top: 20.6691%;
}

.majma1405-map .qom {
    left: 40.32%;
    top: 28.4127%;
}

.majma1405-map .semnan {
    left: 53.7367%;
    top: 26.1786%;
}

.majma1405-map .golestan {
    left: 56.21%;
    top: 12.7747%;
}

.majma1405-map .northKhorasan {
    left: 68.7933%;
    top: 9.44757%;
}

.majma1405-map .khorasanRazavi {
    left: 74.6%;
    top: 19.4362%;
}

.majma1405-map .southKhorasan {
    left: 78.3867%;
    top: 41.4891%;
}

.majma1405-map .esfehan {
    left: 46.4967%;
    top: 38.7251%;
}

.majma1405-map .yazd {
    left: 58.6067%;
    top: 45.7105%;
}

.majma1405-map .chaharMahal {
    left: 33.81%;
    top: 42.5159%;
}

.majma1405-map .ahmad {
    left: 36.1233%;
    top: 50.0607%;
}

.majma1405-map .khuzestan {
    left: 30%;
    top: 57%;
}

.majma1405-map .bushehr {
    left: 41%;
    top: 71%;
}

.majma1405-map .fars {
    left: 46.4567%;
    top: 58.165%;
}

.majma1405-map .kerman {
    left: 66.6233%;
    top: 55.8021%;
}

.majma1405-map .hormozgan {
    left: 59.9367%;
    top: 72.7908%;
}

.majma1405-map .sistan {
    left: 83.4733%;
    top: 72.0106%;
}

/* Clear labels and gentle location hover. */
.majma1405-map .majma1405-marker {
    cursor: pointer;
    z-index: 1;
    transform-origin: center bottom;
    transition: transform 180ms ease;
}

.majma1405-map .majma1405-marker-name {
    padding: 2px 5px;
    margin-bottom: 3px;
    border: 1px solid #d5e7e1;
    border-radius: 6px;
    background: #fff;
    color: #123d34;
    box-shadow: 0 2px 5px rgba(16, 65, 52, .12);
    transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.majma1405-map .majma1405-marker > img {
    filter: drop-shadow(0 2px 2px rgba(16, 65, 52, .25));
}

.majma1405-map .majma1405-marker:hover {
    transform: translateX(-50%) scale(1.14);
    z-index: 20;
}

    .majma1405-map .majma1405-marker:hover .majma1405-marker-name {
        color: #00675b;
        border-color: #008878;
        box-shadow: 0 4px 10px rgba(16, 65, 52, .2);
    }

    .majma1405-map .majma1405-marker:hover .majma1405-marker-name {
        color: #00675b;
        border-color: #008878;
        box-shadow: 0 4px 10px rgba(16, 65, 52, .2);
    }

    .majma1405-map .majma1405-marker:hover .majma1405-marker-name {
        color: #00675b;
        border-color: #008878;
        box-shadow: 0 4px 10px rgba(16, 65, 52, .2);
    }

@media (max-width: 600px) {
    .majma1405-content section {
        padding: 20px 8px;
    }

    .majma1405-content {
        padding-inline-start: 10px;
    }

    .majma1405-map .majma1405-marker-name {
        padding: 1px 3px;
    }

    .majma1405-content section {
        padding: 20px 8px;
    }

    .majma1405-content {
        padding-inline-start: 10px;
    }

    .majma1405-map .majma1405-marker-name {
        padding: 1px 3px;
    }

    .majma1405-content section {
        padding: 20px 8px;
    }

    .majma1405-content {
        padding-inline-start: 10px;
    }

    .majma1405-map .majma1405-marker-name {
        padding: 1px 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .majma1405-map .majma1405-marker,
    .majma1405-map .majma1405-marker-name {
        transition: none;
    }

    .majma1405-map .majma1405-marker-name {
        transition: none;
    }
}

.majma1405-map .majma1405-marker-name {
    transition: none;
}



/* Native buttons preserve keyboard activation for every location. */
.majma1405-map button.majma1405-marker {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.majma1405-map .majma1405-marker:focus-visible {
    outline: 2px solid #008878;
    outline-offset: 4px;
    border-radius: 6px;
    transform: translateX(-50%) scale(1.14);
    z-index: 20;
}

.majma1405-city-dialog {
    box-sizing: border-box;
    width: min(560px, calc(100% - 32px));
    max-height: 85vh;
    padding: 0;
    border: 1px solid #d5e7e1;
    border-radius: 20px;
    background: #fff;
    color: #163e38;
    box-shadow: 0 24px 80px rgba(0, 35, 28, .25);
    font: inherit;
    overflow: auto;
}

    .majma1405-city-dialog::backdrop {
        background: rgba(7, 31, 26, .55);
        backdrop-filter: blur(4px);
    }

.majma1405-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #e5efeb;
}

    .majma1405-dialog-header h2 {
        margin: 0;
        font-size: 22px;
        line-height: 1.6;
    }

.majma1405-dialog-close {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #edf5f2;
    color: #163e38;
    font: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

    .majma1405-dialog-close:hover {
        background: #dceee7;
    }

    .majma1405-dialog-close:focus-visible {
        outline: 2px solid #008878;
        outline-offset: 3px;
    }

.majma1405-dialog-body {
    padding: 24px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

    .majma1405-dialog-body p {
        margin: 0 0 12px;
    }

        .majma1405-dialog-body p:last-child {
            margin-bottom: 0;
        }

    .majma1405-dialog-body img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

.majma1405-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}

    .majma1405-stats > div {
        padding: 18px 14px;
        border: 1px solid #dcebe5;
        border-radius: 12px;
        background: #f5faf7;
    }

    .majma1405-stats dt {
        font-size: 13px;
        color: #526c63;
    }

    .majma1405-stats dd {
        margin: 8px 0 0;
        font-size: 24px;
        font-weight: 700;
        color: #007f76;
    }

@media (max-width: 420px) {
    .majma1405-stats {
        grid-template-columns: 1fr;
    }
}

/* Isolate map buttons from browser and shared button styles. */
.majma1405 .majma1405-map button.majma1405-marker,
.majma1405 .majma1405-map button.majma1405-marker:hover,
.majma1405 .majma1405-map button.majma1405-marker:focus,
.majma1405 .majma1405-map button.majma1405-marker:active {
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
    cursor: pointer;
}

.majma1405 .majma1405-marker-name {
    padding: 2px 5px;
    border: 0;
    background: rgba(255, 255, 255, .95);
    border-radius: 5px;
    color: #123d34;
    box-shadow: 0 1px 4px rgba(16, 65, 52, .12);
}

.majma1405 .majma1405-marker:hover .majma1405-marker-name {
    color: #007f76;
    box-shadow: 0 2px 6px rgba(16, 65, 52, .16);
}

dialog.majma1405-city-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: min(85vh, calc(100dvh - 32px));
}

    dialog.majma1405-city-dialog:not([open]) {
        display: none;
    }

.majma1405-city-dialog .majma1405-dialog-close {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    box-sizing: border-box;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    appearance: none;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

    .majma1405-city-dialog .majma1405-dialog-close::before,
    .majma1405-city-dialog .majma1405-dialog-close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: #163e38;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .majma1405-city-dialog .majma1405-dialog-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
/* Branch cards inside the province popup. */
dialog.majma1405-city-dialog {
    width: min(720px, calc(100vw - 32px));
}

.majma1405-branches {
    display: grid;
    gap: 16px;
}

.majma1405-branch {
    padding: 20px;
    border: 1px solid #dcebe5;
    border-radius: 14px;
    background: #fff;
}

    .majma1405-branch h3 {
        margin: 0 0 16px;
        color: #163e38;
        font-size: 16px;
        line-height: 1.7;
    }

.majma1405-branch-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

    .majma1405-branch-stats > div {
        min-width: 0;
        padding: 12px 8px;
        border-radius: 10px;
        background: #f3f8f5;
    }

    .majma1405-branch-stats dt {
        color: #526c63;
        font-size: 12px;
    }

    .majma1405-branch-stats dd {
        margin: 6px 0 0;
        color: #007f76;
        font-size: 16px;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

@media (max-width: 520px) {
    .majma1405-branch-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

        .majma1405-branch-stats > div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .majma1405-branch-stats dd {
            margin: 0;
        }

    .majma1405-dialog-body {
        padding: 16px;
    }
}
/* Keep the title and close control visible; only the content scrolls. */
dialog.majma1405-city-dialog {
    overflow: hidden;
}

.majma1405-city-dialog .majma1405-dialog-inner {
    display: flex;
    flex-direction: column;
    max-height: calc(85vh - 2px);
    max-height: min(calc(85vh - 2px), calc(100dvh - 34px));
    min-height: 0;
}

.majma1405-city-dialog .majma1405-dialog-header {
    flex: 0 0 auto;
    background: #fff;
}

.majma1405-city-dialog .majma1405-dialog-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #94b9ac #f2f7f4;
    scrollbar-gutter: stable;
}

.majma1405-dialog-body::-webkit-scrollbar {
    width: 6px;
}

.majma1405-dialog-body::-webkit-scrollbar-track {
    background: #f2f7f4;
}

.majma1405-dialog-body::-webkit-scrollbar-thumb {
    background: #94b9ac;
    border-radius: 8px;
}

.majma1405-dialog-body .majma1405-province-summary {
    margin-bottom: 24px;
    padding: 22px;
    border-color: #a9d3c4;
    background: #ecf7f1;
}

.majma1405-province-summary h3 {
    font-size: 19px;
}

.majma1405-province-summary .majma1405-branch-stats > div {
    background: #fff;
}

.majma1405-dialog-body .majma1405-branches-heading {
    margin: 0 0 10px;
    color: #163e38;
    font-size: 17px;
}

/* Generic nested sub-tabs (used by the financial-reports tab and the technology tab). */
.majma1405-finance,
.majma1405-subtabs {
    margin-top: 12px;
}

.majma1405-subtabs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

    .majma1405-subtabs-tabs button {
        padding: 10px 18px;
        border: 1px solid #dcebe5;
        border-radius: 999px;
        background: #fff;
        color: #4f4f4f;
        font: inherit;
        font-size: 14px;
        cursor: pointer;
    }

        .majma1405-subtabs-tabs button[aria-selected="true"] {
            background: #007f76;
            border-color: #007f76;
            color: #fff;
        }

        .majma1405-subtabs-tabs button:focus-visible {
            outline: 2px solid #00b1a5;
            outline-offset: 2px;
        }

.majma1405-subtabs-content h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #163e38;
}

.majma1405-subtabs-content p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.9;
    color: #4f4f4f;
}

    .majma1405-subtabs-content p:last-child {
        margin-bottom: 0;
    }

.majma1405-subtabs-image {
    display: block;
    float: inline-start;
    max-width: 260px;
    width: 45%;
    height: auto;
    margin: 0 0 14px 20px;
    border-radius: 12px;
    border: 1px solid #dcebe5;
}

/* Let paragraphs wrap around the floated image instead of leaving it
   surrounded by empty space; clear the float once a section's own
   content ends so later siblings/headings aren't pulled up beside it. */
.majma1405-content section,
.majma1405-subtabs-content section {
    display: flow-root;
}

.majma1405-content h3 {
    clear: both;
}

@media (max-width: 640px) {
    .majma1405-subtabs-image {
        float: none;
        max-width: 320px;
        width: 100%;
        margin: 0 0 16px;
    }
}

.majma1405-finance-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

    .majma1405-finance-tabs button {
        padding: 10px 18px;
        border: 1px solid #dcebe5;
        border-radius: 999px;
        background: #fff;
        color: #4f4f4f;
        font: inherit;
        font-size: 14px;
        cursor: pointer;
    }

        .majma1405-finance-tabs button[aria-selected="true"] {
            background: #007f76;
            border-color: #007f76;
            color: #fff;
        }

        .majma1405-finance-tabs button:focus-visible {
            outline: 2px solid #00b1a5;
            outline-offset: 2px;
        }

.majma1405-finance-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #163e38;
}

.majma1405-finance-content h4 {
    margin: 20px 0 10px;
    font-size: 15px;
    color: #163e38;
}

.majma1405-finance-meta {
    margin: 0 0 14px;
    font-size: 13px;
    color: #63776e;
}

.majma1405-finance-note {
    margin: 14px 0 0;
    font-size: 12px;
    color: #63776e;
}

.majma1405-finance-table-wrap {
    overflow-x: auto;
}

.majma1405-finance-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 14px;
}

    .majma1405-finance-table th,
    .majma1405-finance-table td {
        padding: 10px 12px;
        border-bottom: 1px solid #e5efeb;
        text-align: right;
    }

    .majma1405-finance-table th {
        color: #163e38;
        background: #f5faf7;
        font-weight: 700;
    }

.majma1405-finance-table-numeric td:not(:first-child),
.majma1405-finance-table-numeric th:not(:first-child) {
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.majma1405-finance-subtotal td {
    font-weight: 700;
    background: #f5faf7;
}

.majma1405-finance-total td {
    font-weight: 700;
    color: #007f76;
    background: #ecf7f1;
}

.majma1405-finance-section td {
    padding-top: 16px;
    border-bottom: 1px solid #dcebe5;
    color: #526c63;
    font-size: 13px;
    font-weight: 700;
}

/* "تبدیل به صندوق بزرگ" tab: compliance step cards. */
.majma1405-transform-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.majma1405-transform-card {
    position: relative;
    padding: 20px;
    border: 1px solid #dcebe5;
    border-radius: 14px;
    background: #f5faf7;
}

    .majma1405-transform-card h3 {
        margin: 0 0 10px;
        font-size: 16px;
        color: #163e38;
        line-height: 1.7;
    }

    .majma1405-transform-card p {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
    }

.majma1405-transform-status {
    display: inline-block;
    margin: 0 0 10px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #ecf7f1;
    color: #007f76;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 520px) {
    .majma1405-finance-table {
        font-size: 13px;
    }

        .majma1405-finance-table th,
        .majma1405-finance-table td {
            padding: 8px;
        }
}

/* Technology tab: headline stats + AI spotlight card. */
.majma1405-tech-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 8px 0 24px;
}

.majma1405-tech-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid #dcebe5;
    border-radius: 14px;
    background: #f5faf7;
    text-align: center;
}

.majma1405-tech-stat-value {
    font-size: 30px;
    font-weight: 800;
    color: #007f76;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.majma1405-tech-stat-label {
    font-size: 12.5px;
    color: #526c63;
    line-height: 1.5;
}

.majma1405-tech-spotlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0 0 28px;
    padding: 28px 30px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #00988a 0%, #00695f 65%, #0a3b34 100%);
    color: #fff;
    text-align: right;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0, 60, 52, .28);
}

    .majma1405-tech-spotlight:hover,
    .majma1405-tech-spotlight:focus-visible {
        box-shadow: 0 16px 40px rgba(0, 60, 52, .36);
    }

    .majma1405-tech-spotlight:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }

.majma1405-tech-spotlight-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}

.majma1405-tech-spotlight-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.6;
}

.majma1405-tech-spotlight-desc {
    max-width: 640px;
    font-size: 14.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .92);
}

.majma1405-tech-spotlight-cta {
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.majma1405-tech-spotlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

    .majma1405-tech-spotlights .majma1405-tech-spotlight {
        margin-bottom: 0;
        height: 100%;
    }

.majma1405-tech-spotlight-alt {
    background: linear-gradient(135deg, #0a6ea8 0%, #0b4f7d 65%, #072e49 100%);
    box-shadow: 0 12px 32px rgba(6, 40, 63, .28);
}

    .majma1405-tech-spotlight-alt:hover,
    .majma1405-tech-spotlight-alt:focus-visible {
        box-shadow: 0 16px 40px rgba(6, 40, 63, .36);
    }

.majma1405-tech-spotlight-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
}

.majma1405-tech-spotlight-progress-track {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden;
}

.majma1405-tech-spotlight-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: #fff;
    transition: width 1.1s cubic-bezier(.22, .9, .3, 1);
}

.majma1405-tech-spotlight-progress-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .95);
}

    .majma1405-tech-spotlight-progress-label .majma1405-tech-stat-value {
        display: inline;
        font-size: 15px;
        font-weight: 800;
        color: #fff;
    }

/* Entrance motion: stat tiles and spotlight cards step in one after another. */
[data-majma1405-animate-group] > * {
    opacity: 0;
    transform: translateY(14px);
}

[data-majma1405-animate-group].is-animated > * {
    animation: majma1405FadeUp .55s cubic-bezier(.22, .9, .3, 1) forwards;
}

    [data-majma1405-animate-group].is-animated > *:nth-child(1) { animation-delay: .05s; }
    [data-majma1405-animate-group].is-animated > *:nth-child(2) { animation-delay: .15s; }
    [data-majma1405-animate-group].is-animated > *:nth-child(3) { animation-delay: .25s; }
    [data-majma1405-animate-group].is-animated > *:nth-child(4) { animation-delay: .35s; }

@keyframes majma1405FadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-majma1405-animate-group] > * {
        opacity: 1;
        transform: none;
    }

    [data-majma1405-animate-group].is-animated > * {
        animation: none;
    }

    .majma1405-tech-spotlight-progress-fill {
        transition: none;
    }
}

@media (max-width: 520px) {
    .majma1405-tech-stat-value {
        font-size: 24px;
    }

    .majma1405-tech-spotlight {
        padding: 22px 20px;
    }

    .majma1405-tech-spotlight-title {
        font-size: 19px;
    }
}

/* Member satisfaction survey tab: strengths / challenges cards. */
.majma1405-satisfaction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 8px 0 28px;
}

.majma1405-satisfaction-card {
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid #dcebe5;
}

    .majma1405-satisfaction-card h3 {
        margin: 0 0 12px;
        font-size: 16px;
        color: #163e38;
    }

    .majma1405-satisfaction-card ul {
        margin: 0;
        padding-inline-start: 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
        line-height: 1.8;
        color: #4f4f4f;
    }

.majma1405-satisfaction-good {
    background: #ecf7f1;
    border-color: #a9d3c4;
}

    .majma1405-satisfaction-good h3::before {
        content: "✓ ";
        color: #007f76;
    }

.majma1405-satisfaction-bad {
    background: #fdf3ec;
    border-color: #f0d3b8;
}

    .majma1405-satisfaction-bad h3::before {
        content: "! ";
        color: #b5651d;
    }

/* "هیچ‌کس دست خالی برنمی‌گردد" tab: hero stat + testimonials. */
.majma1405-tech-stat-wide {
    grid-column: 1 / -1;
    padding: 30px 20px;
    background: linear-gradient(135deg, #00988a 0%, #00695f 65%, #0a3b34 100%);
    border-color: transparent;
}

    .majma1405-tech-stat-wide .majma1405-tech-stat-value {
        color: #fff;
        font-size: 48px;
    }

    .majma1405-tech-stat-wide .majma1405-tech-stat-label {
        color: rgba(255, 255, 255, .92);
        font-size: 15px;
        max-width: 420px;
        margin: 0 auto;
    }

.majma1405-testimonials-heading {
    margin: 4px 0 16px;
    font-size: 17px;
    color: #163e38;
}

.majma1405-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.majma1405-testimonial {
    position: relative;
    margin: 0;
    padding: 34px 28px 26px;
    border-radius: 18px;
    background: #fffaf2;
    border: 1px solid #f0dcb8;
    box-shadow: 0 10px 28px rgba(120, 90, 20, .1);
}

.majma1405-testimonial-mark {
    position: absolute;
    top: 4px;
    right: 22px;
    font-size: 64px;
    line-height: 1;
    color: #d9b464;
    font-weight: 800;
    opacity: .85;
    user-select: none;
}

.majma1405-testimonial-text {
    margin: 10px 0 16px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.9;
    color: #4a3a12;
}

.majma1405-testimonial-attribution {
    font-size: 13px;
    color: #8a7238;
}

@media (max-width: 520px) {
    .majma1405-tech-stat-wide .majma1405-tech-stat-value {
        font-size: 36px;
    }

    .majma1405-testimonial {
        padding: 28px 20px 22px;
    }

    .majma1405-testimonial-text {
        font-size: 17px;
    }
}

/* Welcome / opening tab. */
.majma1405-content .majma1405-welcome-bismillah {
    margin: 12px 0 28px;
    font-size: 22px;
    font-weight: 700;
    color: #007f76;
    text-align: center;
}

.majma1405-content .majma1405-welcome-title {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 800;
    color: #163e38;
    text-align: center;
    line-height: 1.6;
}

.majma1405-content .majma1405-welcome-subtitle {
    margin: 0 0 32px;
    font-size: 16px;
    color: #526c63;
    text-align: center;
}

.majma1405-content .majma1405-welcome-desc {
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 2;
    color: #4f4f4f;
    text-align: center;
}

@media (max-width: 520px) {
    .majma1405-content .majma1405-welcome-bismillah {
        font-size: 19px;
    }

    .majma1405-content .majma1405-welcome-title {
        font-size: 22px;
    }
}

/* Final "license granted" announcement banner. */
.majma1405-license-banner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    padding: 26px 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #00988a 0%, #00695f 65%, #0a3b34 100%);
    box-shadow: 0 12px 32px rgba(0, 60, 52, .28);
}

.majma1405-license-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.majma1405-license-banner-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.majma1405-license-banner-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.7;
}

.majma1405-license-banner-desc {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .9);
}

@media (max-width: 520px) {
    .majma1405-license-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px;
    }
}

.majma1405-license-letter-image {
    display: block;
    max-width: 460px;
    width: 100%;
    margin: 18px auto 0;
    border: 1px solid #dfe4e2;
    border-radius: 10px;
    box-shadow: 0 8px 20px -12px rgba(22, 62, 56, 0.35);
}

/* Board-member appointment process: numbered steps with a connecting line. */
.majma1405-board-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0 24px;
    counter-reset: none;
}

.majma1405-board-step {
    position: relative;
    padding: 24px 18px 20px;
    border: 1px solid #dcebe5;
    border-radius: 14px;
    background: #f5faf7;
    text-align: center;
}

    .majma1405-board-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 28px;
        right: -18px;
        width: 18px;
        height: 2px;
        background: #a9d3c4;
    }

    .majma1405-board-step h3 {
        margin: 0 0 8px;
        font-size: 15px;
        color: #163e38;
    }

    .majma1405-board-step p {
        margin: 0;
        font-size: 13px;
        line-height: 1.8;
        color: #4f4f4f;
    }

.majma1405-board-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #007f76;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .majma1405-board-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .majma1405-board-step:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 420px) {
    .majma1405-board-steps {
        grid-template-columns: 1fr;
    }

    .majma1405-board-step::after {
        display: none;
    }
}

/* Map tab: national totals above the map + map title. */
.majma1405-map-totals {
    margin: 0 0 20px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

    .majma1405-map-totals .majma1405-tech-stat-value {
        font-size: 22px;
        overflow-wrap: anywhere;
    }

.majma1405-tech-stat-icon-card {
    position: relative;
    align-items: center;
    padding-top: 22px;
    background: linear-gradient(180deg, #eef8f4 0%, #f5faf7 100%);
    border-color: #cfe9df;
    box-shadow: 0 6px 16px -10px rgba(0, 127, 118, 0.35);
}

.majma1405-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin-bottom: 4px;
}

    .majma1405-stat-icon svg {
        width: 24px;
        height: 24px;
    }

.majma1405-stat-icon-count {
    background: #e4f3ec;
    color: #007f76;
}

.majma1405-stat-icon-amount {
    background: #fdf1de;
    color: #b8790f;
}

.majma1405-map-title {
    margin: 0 0 16px;
    font-size: 18px;
    color: #163e38;
    text-align: center;
}

@media (max-width: 520px) {
    .majma1405-map-totals .majma1405-tech-stat-value {
        font-size: 17px;
    }
}

/* Satisfaction-survey donut chart. */
.majma1405-donut-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 20px 0 28px;
    padding: 20px 24px;
    border: 1px solid #dcebe5;
    border-radius: 14px;
    background: #f5faf7;
}

.majma1405-donut {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
}

.majma1405-donut-track {
    fill: none;
    stroke: #e2eeec;
    stroke-width: 14;
}

.majma1405-donut-value {
    fill: none;
    stroke: #007f76;
    stroke-width: 14;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 60px 60px;
}

.majma1405-donut-number {
    font-size: 22px;
    font-weight: 800;
    fill: #163e38;
    text-anchor: middle;
    font-family: inherit;
}

.majma1405-donut-caption {
    font-size: 11px;
    fill: #526c63;
    text-anchor: middle;
    font-family: inherit;
}

.majma1405-donut-legend {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #4f4f4f;
}

.majma1405-donut-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-inline-end: 6px;
    border-radius: 50%;
    vertical-align: middle;
}

.majma1405-donut-dot-main {
    background: #007f76;
}

.majma1405-donut-dot-rest {
    background: #e2eeec;
}

@media (max-width: 480px) {
    .majma1405-donut-wrap {
        flex-direction: column;
        text-align: center;
    }
}

/* Emphasize a key phrase inline (e.g. the audit opinion's "fair presentation" wording). */
.majma1405-highlight {
    background: #d9f2e6;
    color: #00584f;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* Multi-year facility trend bar chart (distribution tab). */
.majma1405-trend-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    height: 220px;
    margin: 20px 0 24px;
    padding: 20px 24px 0;
    border: 1px solid #dcebe5;
    border-radius: 14px;
    background: #f5faf7;
}

.majma1405-trend-bar-wrap {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
}

.majma1405-trend-bar-value {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #163e38;
    white-space: nowrap;
}

.majma1405-trend-bar {
    width: 100%;
    max-width: 48px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #00988a 0%, #00695f 100%);
}

.majma1405-trend-bar-year {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #526c63;
}

@media (max-width: 520px) {
    .majma1405-trend-chart {
        height: 180px;
        padding: 16px 12px 0;
    }

    .majma1405-trend-bar-value {
        font-size: 9.5px;
    }
}

/* "صندوق خودران" future-vision spotlight + in-panel badge. */
.majma1405-tech-spotlight-future {
    background: linear-gradient(135deg, #7a4fd6 0%, #5a35a8 65%, #2e1a5e 100%);
    box-shadow: 0 12px 32px rgba(45, 20, 70, .28);
}

    .majma1405-tech-spotlight-future:hover,
    .majma1405-tech-spotlight-future:focus-visible {
        box-shadow: 0 16px 40px rgba(45, 20, 70, .36);
    }

.majma1405-future-badge {
    display: inline-block;
    margin-inline-start: 10px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #efe6fb;
    color: #5a35a8;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

/* Closing tab. */
.majma1405-closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 0 8px;
}

.majma1405-closing-image {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 0 28px;
    border-radius: 14px;
}

.majma1405-closing-title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    color: #163e38;
}

.majma1405-closing-text {
    font-size: 17px;
    color: #526c63;
}
