.profile-smart-page {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.profile-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 24px;
    align-items: stretch;
    padding: 26px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(236, 254, 255, .92) 55%, rgba(219, 234, 254, .78));
    border: 1px solid rgba(148, 163, 184, .26);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative
}



.profile-hero-card:after {
    content: "";
    position: absolute;
    right: -110px;
    top: -130px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(45, 212, 191, .25), rgba(37, 99, 235, .12))
}

.profile-hero-copy {
    position: relative;
    z-index: 1
}

.profile-eyebrow {
    margin: 0 0 8px;
    color: var(--teal);
    font-weight: 900;
    letter-spacing: .02em
}

.profile-hero-card h1 {
    margin: 0;
    color: #082f49;
    font-size: 38px;
    line-height: 1.16
}

.profile-hero-card p {
    color: #475569;
    font-size: 17px
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px
}

.profile-badges span {
    padding: 9px 13px;
    border-radius: 999px;
    background: #ecfeff;
    border: 1px solid rgba(20, 184, 166, .28);
    color: #0f766e;
    font-weight: 900;
    font-size: 13px
}

.profile-hero-media {
    position: relative;
    z-index: 1;
    min-height: 260px;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .08)
}

.profile-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.profile-image-fallback,
.map-fallback {
    height: 100%;
    min-height: 260px;
    place-items: center;
    text-align: center;
    background: linear-gradient(135deg, #ccfbf1, #dbeafe);
    color: #0f766e
}

.profile-image-fallback strong {
    font-size: 54px
}

.profile-image-fallback span,
.map-fallback span {
    display: block;
    font-weight: 900
}

.profile-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px
}

.profile-kpi-card,
.profile-card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px)
}

.profile-kpi-card {
    min-height: 130px;
    border-radius: 26px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: space-between
}

.profile-kpi-card:before {
    content: "";
    position: absolute;
    right: -35px;
    top: -35px;
    width: 125px;
    height: 125px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20, 184, 166, .16), rgba(37, 99, 235, .12))
}

.profile-kpi-card span {
    font-weight: 900;
    color: #0f172a;
    position: relative
}

.profile-kpi-card strong {
    text-align: right;
    font-size: 36px;
    color: var(--teal);
    position: relative
}

.profile-kpi-card small {
    text-align: right;
    color: #475569;
    font-weight: 900;
    position: relative
}

.profile-section-grid {
    display: grid;
    gap: 18px
}

.profile-section-grid.two {
    grid-template-columns: 1fr 1fr
}

.profile-section-grid.three {
    grid-template-columns: repeat(3, 1fr)
}

.profile-card {
    border-radius: 28px;
    padding: 24px;
    min-width: 0
}

.section-heading h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 24px
}

.org-main {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ecfeff, #f8fafc);
    border: 1px solid rgba(20, 184, 166, .2);
    margin-bottom: 16px
}

.org-logo {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    flex: 0 0 auto
}

.org-main h3 {
    margin: 0;
    color: #082f49;
    font-size: 24px
}

.org-main p {
    margin: 4px 0 0;
    color: #475569
}

.profile-dl {
    display: grid;
    gap: 10px;
    margin: 0
}

.profile-dl div {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .18)
}

.profile-dl dt {
    font-weight: 900;
    color: #0f766e
}

.profile-dl dd {
    margin: 4px 0 0;
    color: #334155
}

.vision-text {
    font-size: 19px;
    line-height: 1.7;
    color: #0f172a;
    margin-top: 0
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.value-card {
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .2)
}

.value-card strong {
    color: var(--teal);
    font-size: 22px
}

.value-card span {
    font-weight: 900;
    color: #0f172a
}

.value-card p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px
}

.subdistrict-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px
}

.subdistrict-card,
.border-card,
.risk-item,
.service-item,
.strategy-item,
.network-pill {
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .18)
}

.subdistrict-card {
    padding: 14px;
    font-weight: 900;
    color: #082f49
}

.border-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 14px
}

.border-card {
    padding: 12px 14px
}

.border-card strong {
    color: var(--teal)
}

.border-card span {
    display: block;
    color: #475569;
    margin-top: 3px
}

.profile-muted {
    color: #475569;
    line-height: 1.7
}

.map-card {
    padding: 14px
}

.map-placeholder {
    height: 704px;
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .22)
}

.map-placeholder img {
    width: 783px;
    height: 704px;
    object-fit: cover
}

.chart-profile-card {
    min-height: 360px
}

.chart-profile-card canvas {
    width: 100% !important;
    max-height: 270px
}

.network-layout {
    display: grid;
    grid-template-columns: .9fr 1fr 1fr;
    gap: 16px;
    align-items: stretch
}

.network-center {
    border-radius: 26px;
    padding: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    color: #fff;
    min-height: 220px
}

.network-center span,
.network-center small {
    font-weight: 800;
    opacity: .9
}

.network-center strong {
    font-size: 26px
}

.network-list {
    padding: 18px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .18)
}

.network-list h3 {
    margin: 0 0 12px;
    color: #082f49
}

.network-list>div {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.network-pill {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #334155
}

.network-pill strong {
    color: var(--teal)
}

.risk-list {
    display: grid;
    gap: 10px
}

.risk-item {
    padding: 13px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.risk-item:before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    margin-top: 7px;
    flex: 0 0 auto
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.strategy-item {
    padding: 18px;
    min-height: 145px
}

.strategy-item span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: #ccfbf1;
    color: #0f766e;
    font-weight: 900;
    margin-bottom: 12px
}

.strategy-item p {
    margin: 0;
    color: #334155;
    line-height: 1.55;
    font-weight: 700
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.service-item {
    padding: 16px;
    line-height: 1.6;
    color: #334155;
    font-weight: 700
}

@media(max-width:1400px) {
    .profile-kpi-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .profile-section-grid.three {
        grid-template-columns: 1fr
    }

    .strategy-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:1000px) {

    .profile-hero-card,
    .profile-section-grid.two,
    .network-layout,
    .service-grid {
        grid-template-columns: 1fr
    }

    .profile-kpi-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:640px) {

    .profile-kpi-grid,
    .subdistrict-grid,
    .value-grid,
    .strategy-grid {
        grid-template-columns: 1fr
    }

    .profile-hero-card h1 {
        font-size: 28px
    }
}