:root {
    --ink: #eef3ff;
    --muted: #9caad1;
    --line: rgba(142, 167, 255, .22);
    --paper: #070b27;
    --cyan: #22d6ff;
    --violet: #8262ff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 80% 0, #161563 0, #070b27 38%, #05071d 100%);
    color: var(--ink);
    font-family: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif
}

.dg-header {
    height: 76px;
    padding: 0 max(32px, calc((100vw - 1240px)/2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 8, 32, .86);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(18px)
}

.dg-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700
}

.dg-mark {
    display: flex;
    gap: 6px;
    align-items: center;
    place-items: center;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;

    span {
        font-size: 22px;
    }
}

.dg-nav {
    display: flex;
    gap: 34px
}

.dg-nav a {
    color: #b6c1e5;
    text-decoration: none;
    font-size: 14px;
    padding: 28px 0 24px;
    border-bottom: 3px solid transparent
}

.dg-nav a:hover {
    color: #fff;
    border-color: var(--cyan)
}

.dg-date {
    font: 14px monospace;
    color: #889ac8;
    font-weight: bold;
}

.dg-hero {
    min-height: 430px;
    padding: 88px max(32px, calc((100vw - 1240px)/2));
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #07092b 5%, #161267 54%, #09215c)
}

.dg-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 7, 30, .15), rgba(8, 7, 36, .72)), repeating-linear-gradient(90deg, transparent 0 99px, rgba(159, 183, 255, .055) 100px);
    pointer-events: none
}

.dg-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 840px
}

.eyebrow {
    margin: 0 0 14px;
    font: 11px monospace;
    letter-spacing: .12em;
    color: #72dfff
}

.dg-hero h1 {
    font-size: 52px;
    line-height: 1.25;
    margin: 0 0 18px
}

.dg-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #2f63d1, #ffa4a4);
    color: transparent;
    background-clip: text;
}

.dg-hero p {
    max-width: 650px;
    color: #c0caef;
    line-height: 1.9;
    font-size: 15px
}

.dg-hero-actions {
    display: flex;
    gap: 24px;
    margin-top: 28px
}

.dg-btn {
    padding: 13px 20px;
    text-decoration: none;
    font-size: 14px
}

.dg-btn.primary {
    background: linear-gradient(90deg, #22cfff, #7360ff);
    color: #fff;
    box-shadow: 0 10px 25px rgba(45, 125, 255, .3);
}

.dg-btn.secondary {
    color: #dbe2ff;
    border-bottom: 1px solid #8f9fe5
}

.dg-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 22px 80px
}

.dg-section {
    padding: 45px 0;
    border-top: 1px solid var(--line)
}

.dg-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px
}

.dg-section h2 {
    font-size: 31px;
    margin: 0
}

.dg-section-note {
    color: #a9b6da;
    font-size: 13px;
    line-height: 1.8
}

.dg-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.dg-stat {
    padding: 15px 24px;
    min-width: 160px;
    background: linear-gradient(145deg, rgba(24, 35, 91, .76), rgba(10, 14, 51, .83));
    border: 1px solid rgba(125, 154, 255, .3)
}

.dg-stat strong {
    display: block;
    font: 30px monospace;
    color: #57dcff
}

.dg-stat span {
    font-size: 12px;
    color: #aab8dd
}

.dg-search {
    display: flex;
    gap: 10px;
    margin: 16px 0
}

.dg-search input {
    flex: 1;
    border: 1px solid #5068b4;
    background: #090e36;
    padding: 12px 14px;
    color: #eef3ff;
    font-size: 14px
}

.dg-search button {
    border: 0;
    background: linear-gradient(90deg, #b484bb, #7360ff);
    color: #fff;
    padding: 0 24px;
    cursor: pointer
}

.dg-map-card {
    padding: 18px 24px;
    background: linear-gradient(145deg, rgba(24, 35, 91, .76), rgba(10, 14, 51, .83));
    border: 1px solid rgba(125, 154, 255, .3);
    box-shadow: inset 0 1px rgba(198, 220, 255, .09), 0 20px 55px rgba(0, 0, 0, .17)
}

.dg-map-toolbar {
    display: flex;
    justify-content: space-between;
    color: #a9b6da;
    font-size: 12px
}

.dg-map {
    width: 100%;
    margin-top: 12px;
    min-height: 480px
}

.dg-map svg {
    width: 100%;
    height: auto
}

.province-shape {
    fill: #26397e;
    stroke: #232f72;
    stroke-width: 2;
    cursor: pointer;
    transition: .25s
}

.province-shape:hover {
    fill: #23bfe7;
    stroke: #64efff;
    filter: drop-shadow(0 0 6px #36dfff)
}

.province-label {
    fill: #dce7ff;
    font-size: 11px;
    text-anchor: middle;
    pointer-events: none
}

.dg-results {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px
}

.dg-result {
    border: 1px solid #35467e;
    background: #0b1040;
    color: #dce7ff;
    padding: 8px 12px;
    cursor: pointer
}

.dg-result:hover {
    border-color: var(--cyan);
    color: var(--cyan)
}

.dg-hotwords {
    min-height: 240px;
    padding: 35px 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 21px 35px;
    flex-wrap: wrap;
    background: #0b1040;
    background-image: linear-gradient(rgba(92, 121, 238, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 121, 238, .13) 1px, transparent 1px), radial-gradient(circle at 50% 50%, rgba(83, 62, 203, .35), transparent 58%);
    background-size: 25px 25px, 25px 25px, auto
}

.dg-hotword {
    color: #bfc8ed;
    text-decoration: none;
    text-shadow: 0 0 16px rgba(69, 173, 255, .32);
    transition: .2s
}

.dg-hotword:hover {
    color: #32ddff;
    transform: translateY(-3px)
}

.dg-source {
    color: #9caad1;
    font-size: 12px;
    border-top: 1px solid var(--line);
    padding-top: 17px;
    margin-top: 22px
}

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

.dg-card {
    background: rgba(26, 36, 88, .56);
    border: 1px solid #35467e;
    padding: 20px
}

.dg-card h3 {
    margin: 0 0 12px;
    font-size: 16px
}

.dg-card p,
.dg-card li {
    color: #c2cde9;
    line-height: 1.8;
    font-size: 13px
}

.dg-timeline {
    border-left: 2px solid #35467e;
    padding-left: 20px
}

.dg-timeline article {
    position: relative;
    margin: 0 0 24px
}

.dg-timeline article:before {
    content: "";
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ad9ff
}

.dg-timeline time {
    font: 12px monospace;
    color: #45dfff
}

.dg-tag {
    font-size: 10px;
    padding: 3px 8px;
    background: rgba(54, 217, 255, .2);
    color: #5eeaff;
    margin-left: 8px
}

@media(max-width:760px) {
    .dg-header {
        padding: 0 18px
    }

    .dg-nav,
    .dg-date {
        display: none
    }

    .dg-hero {
        padding: 64px 22px 70px
    }

    .dg-hero h1 {
        font-size: 35px
    }

    .dg-wrap {
        padding: 0 18px 55px
    }

    .dg-section {
        padding: 35px 0
    }

    .dg-section-head {
        display: block
    }

    .dg-section-note {
        margin-top: 12px
    }

    .dg-map-card {
        padding: 14px 10px
    }

    .dg-map {
        min-height: 300px;
        overflow: auto
    }

    .dg-map svg {
        min-width: 700px
    }

    .dg-grid {
        grid-template-columns: 1fr
    }

    .dg-search {
        flex-direction: column
    }

    .dg-search button {
        height: 42px
    }

    .dg-hotwords {
        padding: 25px 15px;
        gap: 16px 20px
    }
}

/* Keep the detail-page back link hidden after all later detail header rules. */
@media(max-width:760px) {
    body .dg-header.dg-detail-header .dg-back {
        display: none !important;
    }
}

/* Mobile map: hide the redundant province shortcut list and allow two-finger zoom. */
@media(max-width:760px) {

    .dg-mobile-results-head,
    .dg-results {
        display: none !important
    }

    .dg-map {
        overflow: hidden !important;
        touch-action: none
    }

    .dg-map svg {
        transform-origin: 50% 50%;
        touch-action: none
    }
}

/* Real province geometry states */
.province-shape {
    fill: #26397e;
    stroke: #15245c;
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
    transition: fill .2s, stroke .2s, filter .2s
}

.province-shape.stage-deployed {
    fill: #1c7899
}

.province-shape.stage-building {
    fill: #514a9f
}

.province-shape.stage-pending {
    fill: #29366e
}

.province-shape:hover,
.province-shape:focus {
    fill: #23bfe7;
    stroke: #b6f7ff;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px #36dfff);
    outline: none
}

.dg-map-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b8c6ef
}

.dg-map-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 10px
}

.dg-map-legend i:first-child {
    margin-left: 0
}

.legend-start {
    background: #5269c4
}

.legend-build {
    background: #8075df
}

.legend-live {
    background: #20d5ee
}

.province-label {
    font-size: 10px;
    font-weight: 600;
    paint-order: stroke;
    stroke: #111d50;
    stroke-width: 2px;
    stroke-linejoin: round
}

.dg-results {
    display: none
}

.dg-hotwords {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 34px;
    padding: 42px 8%
}

.dg-hotword {
    display: inline-block;
    white-space: nowrap
}

.dg-hotword.hotword-0 {
    color: #b9c7f5
}

.dg-hotword.hotword-1 {
    color: #9b8ee8
}

.dg-hotword.hotword-2 {
    color: #39d5ef;
    text-shadow: 0 0 14px rgba(57, 213, 239, .55)
}

/* Construction stage overview */
.dg-stage-section {
    padding-bottom: 74px
}

.dg-stage-section .dg-section-head {
    margin-bottom: 26px
}

.dg-stage-section .dg-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0
}

.dg-stage-section .dg-stat {
    position: relative;
    min-width: 0;
    min-height: 300px;
    padding: 26px 26px 24px;
    overflow: hidden;
    background: rgba(17, 24, 66, .78);
    border: 1px solid rgba(125, 154, 255, .3)
}

.dg-stage-section .dg-stat:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--stat-color)
}

.dg-stat-deployed {
    --stat-color: #20d5ae
}

.dg-stat-building {
    --stat-color: #f0b84d
}

.dg-stat-pending {
    --stat-color: #8291ba
}

.dg-stat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(142, 167, 255, .16)
}

.dg-stage-section .dg-stat-index {
    font: 12px monospace;
    color: var(--stat-color)
}

.dg-stage-section .dg-stat strong {
    font: 44px/1 monospace;
    color: #f5f8ff
}

.dg-stage-section .dg-stat strong small {
    display: block;
    margin-top: 8px;
    text-align: right;
    font: 11px/1.2 "Microsoft YaHei", sans-serif;
    color: #92a2ca
}

.dg-stage-section .dg-stat h3 {
    margin: 22px 0 8px;
    font-size: 20px
}

.dg-stage-section .dg-stat p {
    min-height: 40px;
    margin: 0 0 18px;
    color: #9caad1;
    font-size: 12px;
    line-height: 1.7
}

.dg-stat-provinces {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.dg-stat-provinces a {
    padding: 5px 8px;
    border: 1px solid rgba(150, 170, 225, .2);
    color: #c5d0ec;
    text-decoration: none;
    font-size: 11px
}

.dg-stat-provinces a:hover,
.dg-stat-provinces a:focus {
    border-color: var(--stat-color);
    color: #fff;
    outline: none
}

@media(max-width:900px) {
    .dg-stage-section .dg-stats {
        grid-template-columns: 1fr
    }

    .dg-stage-section .dg-stat {
        min-height: 0
    }

    .dg-stage-section .dg-stat p {
        min-height: 0
    }
}

@media(max-width:760px) {
    .dg-stage-section .dg-stat {
        padding: 22px 20px
    }

    .dg-stage-section {
        padding-bottom: 50px
    }
}

/* Detail pages use a full-height heading instead of the sticky site navigation. */
.dg-detail-header {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 164px;
    padding-top: 24px;
    padding-bottom: 24px;
    align-items: flex-start;
    background: #070b27;
    backdrop-filter: none
}

.dg-detail-header>div {
    width: 100%;
    max-width: 1240px
}

.dg-detail-header .dg-back {
    display: inline-block;
    margin-bottom: 14px;
    color: #72dfff;
    text-decoration: none;
    font-size: 13px
}

.dg-detail-header .dg-back:hover {
    color: #fff
}

.dg-detail-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.25
}

.dg-detail-header p {
    margin: 0;
    color: #9caad1;
    font-size: 13px;
    line-height: 1.6
}

@media(max-width:760px) {
    .dg-detail-header {
        min-height: 144px;
        padding-top: 20px;
        padding-bottom: 20px
    }

    .dg-detail-header h1 {
        font-size: 27px
    }
}

/* Responsive layout */
.dg-mobile-results-head {
    display: none
}

.lead {
    max-width: 100%;
    color: #d6def5;
    line-height: 1.9;
    overflow-wrap: anywhere
}

.dg-card,
.dg-card p,
.dg-card li,
.dg-timeline p {
    overflow-wrap: anywhere
}

.dg-detail-header+.dg-wrap .dg-section>h2 {
    margin-bottom: 26px
}

#stages,
#province,
#topics,
#method {
    scroll-margin-top: 76px
}

@media(max-width:1100px) {
    .dg-header {
        padding-left: 24px;
        padding-right: 24px
    }

    .dg-nav {
        gap: 20px
    }

    .dg-date {
        display: none
    }

    .dg-hero {
        padding-left: 32px;
        padding-right: 32px
    }
}

@media(max-width:900px) {
    .dg-header:not(.dg-detail-header) {
        height: auto;
        min-height: 112px;
        padding: 12px 20px 0;
        flex-wrap: wrap
    }

    .dg-header:not(.dg-detail-header) .dg-brand {
        height: 44px
    }

    .dg-header:not(.dg-detail-header) .dg-nav {
        display: flex;
        order: 3;
        flex-basis: 100%;
        justify-content: space-between;
        gap: 0
    }

    .dg-header:not(.dg-detail-header) .dg-nav a {
        padding: 10px 2px 12px;
        font-size: 13px
    }

    .dg-header:not(.dg-detail-header)+.dg-hero {
        padding-top: 58px
    }

    #stages,
    #province,
    #topics,
    #method {
        scroll-margin-top: 112px
    }

    .dg-section-head {
        align-items: flex-start
    }

    .dg-stage-section .dg-stats {
        grid-template-columns: 1fr
    }

    .dg-stage-section .dg-stat {
        min-height: 0
    }

    .dg-stage-section .dg-stat p {
        min-height: 0
    }
}

@media(max-width:760px) {
    .dg-hero {
        min-height: 0;
        padding: 48px 18px 56px
    }

    .dg-hero h1 {
        font-size: 29px;
        line-height: 1.35
    }

    .dg-hero p {
        font-size: 14px;
        line-height: 1.8
    }

    .dg-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 24px
    }

    .dg-wrap {
        padding: 0 18px 48px
    }

    .dg-section {
        padding: 48px 0
    }

    .dg-section h2 {
        font-size: 27px;
        line-height: 1.3
    }

    .dg-detail-header+.dg-wrap .dg-section>h2 {
        margin-bottom: 20px
    }

    .dg-section-head {
        display: block;
        margin-bottom: 24px
    }

    .dg-section-note {
        margin: 10px 0 0
    }

    .dg-stage-section {
        padding-bottom: 48px
    }

    .dg-stage-section .dg-stat {
        padding: 22px 20px
    }

    .dg-search {
        flex-direction: row
    }

    .dg-search input {
        min-width: 0
    }

    .dg-search button {
        height: auto;
        padding: 0 18px
    }

    .dg-map-card {
        padding: 14px 10px
    }

    .dg-map-toolbar {
        flex-wrap: wrap;
        gap: 10px
    }

    .dg-map-toolbar>span:last-child {
        display: none
    }

    .dg-map-legend {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        line-height: 1.8
    }

    .dg-map {
        min-height: 0;
        overflow: visible
    }

    .dg-map svg {
        display: block;
        min-width: 0;
        width: 100%;
        height: auto
    }

    .province-label {
        font-size: 15px
    }

    .dg-mobile-results-head {
        display: block;
        margin: 22px 0 12px;
        color: #a9b6da;
        font-size: 13px
    }

    .dg-results {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px
    }

    .dg-result {
        min-width: 0;
        padding: 9px 6px;
        font-size: 11px;
        white-space: normal;
        overflow-wrap: anywhere
    }

    .dg-empty {
        grid-column: 1/-1;
        color: #9caad1;
        font-size: 13px
    }

    .dg-hotwords {
        min-height: 210px;
        padding: 28px 16px;
        gap: 16px 20px
    }

    .dg-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .dg-card {
        padding: 18px
    }

    .dg-card ul {
        padding-left: 20px
    }

    .dg-detail-header {
        min-height: 116px;
        padding: 14px 18px
    }

    .dg-detail-header .dg-back {
        margin-bottom: 9px;
        font-size: 12px
    }

    .dg-detail-header h1 {
        margin-bottom: 5px;
        font-size: 24px
    }

    .dg-detail-header p {
        font-size: 12px
    }

    .dg-timeline {
        padding-left: 18px
    }

    .dg-timeline article:before {
        left: -25px
    }
}

@media(max-width:360px) {
    .dg-header:not(.dg-detail-header) {
        padding-left: 14px;
        padding-right: 14px
    }

    .dg-brand {
        font-size: 14px
    }

    .dg-mark {
        width: 34px;
        height: 34px
    }

    .dg-header:not(.dg-detail-header) .dg-nav a {
        font-size: 12px
    }

    .dg-hero {
        padding-left: 16px;
        padding-right: 16px
    }

    .dg-hero h1 {
        font-size: 27px
    }

    .dg-wrap {
        padding-left: 14px;
        padding-right: 14px
    }

    .dg-section h2 {
        font-size: 25px
    }

    .eyebrow {
        font-size: 10px
    }

    .dg-search button {
        padding: 0 14px
    }

    .dg-map-card {
        padding-left: 6px;
        padding-right: 6px
    }

    .dg-results {
        grid-template-columns: 1fr 1fr
    }
}

/* Light visual theme based on the national data group overview. */
:root {
    --ink: #17165d;
    --muted: #68729b;
    --line: rgba(42, 55, 132, .16);
    --paper: #f4f5fc;
    --cyan: #2877de;
    --violet: #7168c4
}

body {
    background: #f4f5fc;
    color: var(--ink)
}

.dg-header {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: #dce0f0;
    box-shadow: 0 2px 14px rgba(37, 43, 104, .06)
}

.dg-brand {
    color: #17165d
}

.dg-nav a {
    color: #606a91
}

.dg-nav a:hover {
    color: #245cad;
    border-color: #366ed0
}

.dg-date {
    color: #7d85a5
}

.dg-hero {
    background: #dcdcf4;
    background-image: linear-gradient(112deg, rgba(91, 116, 177, .58), rgba(228, 226, 250, .9) 43%, rgba(164, 153, 211, .7)), repeating-linear-gradient(90deg, transparent 0 99px, rgba(255, 255, 255, .15) 100px)
}

.dg-hero:after {
    background: linear-gradient(90deg, rgba(38, 60, 122, .15), rgba(255, 255, 255, .15) 58%, rgba(72, 64, 143, .13));
}

.eyebrow {
    color: #2e61b0
}

.dg-hero h1 {
    color: #17165d
}

.dg-hero p {
    color: #303966
}

.dg-btn.secondary {
    color: #25266c;
    border-bottom-color: #626cac
}

.dg-section {
    border-top-color: #d8dced
}

.dg-section-note {
    color: #6f789d
}

.dg-stage-section .dg-stat {
    background: #fff;
    border-color: #d9ddec;
    box-shadow: 0 8px 24px rgba(39, 46, 112, .07)
}

.dg-stat-deployed {
    --stat-color: #3562ae
}

.dg-stat-building {
    --stat-color: #cf5c63
}

.dg-stat-pending {
    --stat-color: #676580
}

.dg-stage-section .dg-stat strong {
    color: #25256d
}

.dg-stage-section .dg-stat strong small {
    color: #7a82a2
}

.dg-stage-section .dg-stat p {
    color: #747c9b
}

.dg-stat-provinces a {
    border-color: #d8ddeb;
    background: #f7f8fc;
    color: #39436f
}

.dg-stat-provinces a:hover,
.dg-stat-provinces a:focus {
    color: var(--stat-color);
    background: #fff
}

.dg-search input {
    border-color: #cbd1e5;
    background: #fff;
    color: #222758
}

.dg-search input::placeholder {
    color: #9299b3
}

.dg-map-card {
    background: #fff;
    border-color: #d6daea;
    box-shadow: 0 14px 36px rgba(36, 44, 108, .08)
}

.dg-map-toolbar,
.dg-map-legend {
    color: #667096
}

.province-shape {
    fill: #e8e8f3;
    stroke: #9ba7cf
}

.province-shape.stage-deployed {
    fill: #cbdcf5
}

.province-shape.stage-building {
    fill: #f1d5db
}

.province-shape.stage-pending {
    fill: #e4e2ed
}

.province-shape:hover,
.province-shape:focus {
    fill: #b9d7fa;
    stroke: #315eae;
    filter: drop-shadow(0 0 4px rgba(49, 94, 174, .32))
}

.province-label {
    fill: #283366;
    stroke: #f7f8fc
}

.legend-start {
    background: #e8e8f3
}

.legend-build {
    background: #f1d5db
}

.legend-live {
    background: #9ba7cf
}

.dg-result {
    border-color: #cbd3e8;
    background: #fff;
    color: #303967
}

.dg-result:hover {
    border-color: #315eae;
    color: #315eae
}

.dg-mobile-results-head {
    color: #626c93
}

.dg-hotwords {
    background-color: #fff;
    background-image: linear-gradient(rgba(72, 89, 160, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(72, 89, 160, .08) 1px, transparent 1px), radial-gradient(circle at 50% 50%, rgba(112, 101, 191, .14), transparent 58%)
}

.dg-hotword {
    color: #53618e;
    text-shadow: none
}

.dg-hotword:hover {
    color: #245cad
}

.dg-hotword.hotword-0 {
    color: #4e5d91
}

.dg-hotword.hotword-1 {
    color: #7168a9
}

.dg-hotword.hotword-2 {
    color: #286aba;
    text-shadow: none
}

.dg-source {
    color: #737c9e;
    border-top-color: #d9ddec
}

.dg-card {
    background: #fff;
    border-color: #d6daea;
    box-shadow: 0 6px 18px rgba(37, 43, 104, .05)
}

.dg-card p,
.dg-card li,
.dg-timeline p,
.lead {
    color: #424b75
}

.dg-timeline {
    border-left-color: #aeb9d8
}

.dg-timeline article:before {
    background: #356bc3
}

.dg-timeline time {
    color: #2864b9
}

.dg-tag {
    background: #e2eafb;
    color: #285ba5
}

.dg-detail-header {
    background: #fff;
    border-bottom-color: #d7dced;
    box-shadow: 0 3px 18px rgba(37, 43, 104, .08)
}

.dg-detail-header .dg-back {
    color: #2864b9
}

.dg-detail-header .dg-back:hover {
    color: #17165d
}

.dg-detail-header h1 {
    color: #17165d
}

.dg-detail-header p {
    color: #6b7499
}

@media(max-width:900px) {
    .dg-header:not(.dg-detail-header) {
        background: #fff
    }
}

/* Data methodology and footer */
.dg-method {
    padding: 108px 0 104px;
    text-align: center
}

.dg-method-copy {
    max-width: 680px;
    margin: 0 auto
}

.dg-method-copy .eyebrow {
    margin-bottom: 18px
}

.dg-method-copy h2 {
    margin-bottom: 20px
}

.dg-method-copy .dg-section-note {
    margin: 0;
    line-height: 2
}

.dg-method-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 680px;
    margin: 40px auto 0;
    border-top: 1px solid #cbd2e6;
    border-bottom: 1px solid #cbd2e6
}

.dg-method-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-height: 78px;
    padding: 14px 22px;
    text-align: left
}

.dg-method-item+.dg-method-item {
    border-left: 1px solid #cbd2e6
}

.dg-method-item span {
    font: 14px monospace;
    color: #2b68bc
}

.dg-method-item strong {
    font-size: 13px;
    line-height: 1.55;
    color: #242963
}

.dg-footer {
    background: #fff;
    border-top: 1px solid #d8ddec
}

.dg-footer-inner {
    max-width: 1240px;
    min-height: 96px;
    margin: 0 auto;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.dg-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.dg-footer-brand strong {
    font-size: 15px;
    color: #17165d
}

.dg-footer-brand>span:last-child,
.dg-footer p {
    color: #717b9e;
    font-size: 11px
}

.dg-footer p {
    margin: 0;
    text-align: right
}

@media(max-width:760px) {
    .dg-method {
        padding: 64px 0
    }

    .dg-method-copy .dg-section-note {
        line-height: 1.8
    }

    .dg-method-items {
        margin-top: 30px
    }

    .dg-method-item {
        gap: 8px;
        min-height: 72px;
        padding: 10px 6px
    }

    .dg-method-item span {
        font-size: 11px
    }

    .dg-method-item strong {
        font-size: 11px
    }

    .dg-footer-inner {
        min-height: 0;
        padding: 24px 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 15px
    }

    .dg-footer-brand {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 4px 10px
    }

    .dg-footer-brand .dg-mark {
        grid-row: 1/3
    }

    .dg-footer-brand>span:last-child {
        grid-column: 2
    }

    .dg-footer p {
        text-align: left
    }
}

@media(max-width:360px) {
    .dg-method-item {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-left: 12px
    }

    .dg-footer-brand strong {
        font-size: 14px
    }
}

/* Province profile */
.dg-detail-header h1 {
    font-size: 36px
}

.dg-profile-wrap {
    max-width: 1080px
}

.dg-profile-section {
    padding-top: 54px
}

.dg-profile-intro {
    padding-bottom: 24px;
    border-bottom: 1px solid #ccd3e7
}

.dg-profile-intro .eyebrow {
    margin-bottom: 10px
}

.dg-profile-intro h2 {
    margin: 0 0 10px;
    font-size: 30px
}

.dg-profile-intro>p:last-child {
    margin: 0;
    color: #6c769b;
    font-size: 13px
}

.dg-profile-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px
}

.dg-profile-panel {
    padding: 24px;
    background: #fff;
    border: 1px solid #d4daeb;
    box-shadow: 0 8px 24px rgba(37, 43, 104, .06)
}

.dg-profile-panel h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #202565
}

.dg-profile-list {
    margin: 0
}

.dg-profile-list>div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding: 8px 0
}

.dg-profile-list dt {
    color: #7b84a3;
    font-size: 13px
}

.dg-profile-list dd {
    margin: 0;
    color: #333c69;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere
}

.dg-latest-list {
    display: grid;
    gap: 0;
    max-height: 330px;
    overflow: auto;
    padding-right: 6px
}

.dg-latest-item {
    position: relative;
    padding: 0 0 17px 18px;
    border-left: 2px solid #d8ddec
}

.dg-latest-item:last-child {
    padding-bottom: 4px
}

.dg-latest-item:before {
    content: "";
    position: absolute;
    left: -4px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3567b8
}

.dg-latest-item time {
    display: block;
    margin-bottom: 5px;
    color: #3b6bb5;
    font: 11px monospace
}

.dg-latest-item h4 {
    margin: 0 0 6px;
    color: #252a66;
    font-size: 14px
}

.dg-latest-item p {
    margin: 0;
    color: #5b6488;
    font-size: 12px;
    line-height: 1.7
}

.dg-highlight {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d4daeb
}

.dg-highlight span {
    display: block;
    margin-bottom: 8px;
    color: #2d67b5;
    font-size: 11px
}

.dg-highlight strong {
    color: #20255f;
    font-size: 15px;
    line-height: 1.7
}

.dg-profile-wide {
    margin-top: 16px
}

.dg-measure-list {
    display: grid;
    gap: 14px
}

.dg-measure {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px
}

.dg-measure>strong {
    color: #2d376c;
    font-size: 13px;
    line-height: 1.7
}

.dg-measure ul {
    margin: 0;
    padding-left: 19px;
    color: #4e587e
}

.dg-measure li {
    padding: 2px 0;
    font-size: 13px;
    line-height: 1.7
}

.dg-profile-section>.dg-source {
    margin-top: 24px
}

.dg-updates-panel {
    min-width: 0
}

@media(max-width:760px) {
    .dg-detail-header h1 {
        font-size: 25px
    }

    .dg-profile-wrap {
        padding-left: 14px;
        padding-right: 14px
    }

    .dg-profile-section {
        padding-top: 34px
    }

    .dg-profile-intro {
        padding-bottom: 20px
    }

    .dg-profile-intro h2 {
        font-size: 24px
    }

    .dg-profile-top {
        grid-template-columns: 1fr;
        margin-top: 18px
    }

    .dg-profile-panel {
        padding: 19px 18px
    }

    .dg-profile-panel h3 {
        margin-bottom: 16px
    }

    .dg-profile-list>div {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px
    }

    .dg-latest-list {
        max-height: none;
        overflow: visible;
        padding-right: 0
    }

    .dg-measure {
        grid-template-columns: 1fr;
        gap: 4px
    }

    .dg-measure ul {
        margin-top: 2px
    }
}

.dg-profile-section {
    padding-top: 32px
}

.dg-profile-top {
    margin-top: 0
}

.dg-highlight-panel strong {
    display: block;
    color: #20255f;
    font-size: 15px;
    line-height: 1.8
}

.dg-detail-header h1 {
    overflow-wrap: anywhere
}

@media(max-width:760px) {
    .dg-profile-section {
        padding-top: 24px
    }

    .dg-detail-header {
        min-height: 122px
    }

    .dg-detail-header h1 {
        font-size: 21px;
        line-height: 1.3
    }
}

/* Keep timeline markers inside the scroll clipping area. */
.dg-updates-panel .dg-latest-list {
    padding-left: 5px
}

@media(max-width:760px) {
    .dg-updates-panel .dg-latest-list {
        padding-left: 5px
    }
}

/* Start and end the timeline rail at the first and last marker centers. */
.dg-updates-panel .dg-latest-item {
    border-left: 0
}

.dg-updates-panel .dg-latest-item:after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d8ddec
}

.dg-updates-panel .dg-latest-item:first-child:after {
    top: 8px
}

.dg-updates-panel .dg-latest-item:last-child:after {
    bottom: calc(100% - 8px)
}

.dg-updates-panel .dg-latest-item:before {
    z-index: 1
}

/* Match the topic practice timeline to the province update timeline. */
.dg-timeline {
    border-left: 0
}

.dg-timeline article:after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -22px;
    top: 0;
    bottom: -24px;
    width: 2px;
    background: #aeb9d8
}

.dg-timeline article:first-child:after {
    top: 10px
}

.dg-timeline article:last-child:after {
    bottom: calc(100% - 10px)
}

.dg-timeline article:before {
    z-index: 1
}

@media(max-width:760px) {
    .dg-timeline article:after {
        left: -20px
    }
}

.dg-group-profile+.dg-group-profile {
    margin-top: 42px;
    padding-top: 42px;
    border-top: 1px solid #ccd3e7
}

.dg-topic-background {
    display: block;
    margin-top: 14px
}

#province .dg-section-note,
#topics .dg-section-note {
    max-width: 520px;
    margin-left: 32px;
    text-align: right;
    overflow-wrap: anywhere
}

.province-shape.province-placeholder {
    cursor: default
}

@media(max-width:760px) {

    #province .dg-section-note,
    #topics .dg-section-note {
        max-width: none;
        margin-left: 0;
        text-align: left
    }
}
