.visa-issuance-page {
    --vis-ink: var(--text-primary);
    --vis-muted: var(--text-secondary);
    --vis-soft: var(--bg-muted);
    --vis-line: var(--border);
    --vis-accent: var(--brand-cta);
    --vis-accent-text: var(--brand-cta-dark);
    --vis-previous: #8daac3;
    --vis-fiscal: #346596;
    color: var(--vis-ink);
    background: var(--bg-page);
}

.visa-issuance-page [id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.visa-issuance-page .vis-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 36px var(--page-gutter) 60px;
}

.vis-container {
    max-width: 1120px;
    margin: 0 auto;
    font-variant-numeric: tabular-nums;
}

.vis-container [hidden] { display: none !important; }
.vis-container :focus-visible { outline: 2px solid var(--vis-accent-text); outline-offset: 3px; }
.vis-container p { margin: 0; }
.vis-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--vis-muted); font-size: 14px; }
.vis-breadcrumb a:hover { text-decoration: underline; }
.vis-breadcrumb [aria-current] { color: var(--vis-ink); font-weight: 650; }
.vis-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px 24px;
    margin: 18px 0 34px;
}
.vis-source-label { color: var(--vis-accent-text); font-size: 13px; font-weight: 750; letter-spacing: .09em; }
.vis-hero h1, .vis-section-heading h2, .vis-card h3, .vis-overview h3, .vis-method h2 { margin: 0; line-height: 1.26; }
.vis-hero h1 { margin-top: 7px; font-size: clamp(29px, 4vw, 44px); letter-spacing: -.04em; font-weight: 800; }
.vis-hero .vis-hero-description { max-width: 670px; margin-top: 10px; color: var(--vis-muted); font-size: 15px; line-height: 1.65; }
.vis-hero-actions, .vis-section-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vis-section-links { grid-column: 1 / -1; gap: 8px 16px; }
.vis-section-links a { color: var(--vis-accent-text); font-size: 13px; font-weight: 700; }
.vis-section-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vis-date, .vis-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    min-height: 34px;
    color: var(--vis-ink);
    background: var(--bg-surface);
    border: 1px solid var(--vis-line);
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.vis-share { position: relative; width: 36px; min-height: 36px; padding: 0; flex: 0 0 auto; cursor: pointer; }
.vis-share:hover, .vis-share[data-copied] { color: var(--vis-accent-text); border-color: var(--vis-accent-text); }
.vis-share[data-copied]::after {
    position: absolute;
    z-index: 2;
    top: calc(100% + 5px);
    right: 0;
    padding: 4px 8px;
    color: #fff;
    background: var(--vis-ink);
    border-radius: 6px;
    content: '链接已复制';
}
.vis-share-text { width: auto; padding: 0 12px; }
.vis-share svg { width: 16px; height: 16px; }
.vis-section + .vis-section { margin-top: 44px; }
.vis-section-heading { margin-bottom: 16px; padding-left: 13px; border-left: 3px solid var(--vis-accent); }
.vis-section-heading h2 { font-size: clamp(23px, 3vw, 30px); letter-spacing: -.025em; font-weight: 800; }
.vis-section-heading p { margin-top: 5px; color: var(--vis-muted); font-size: 14px; }

.vis-overview {
    display: grid;
    grid-template-columns: minmax(250px, 1.25fr) minmax(0, 2.75fr);
    gap: 12px;
}

.vis-overview-copy {
    min-width: 0;
    padding: 17px 21px;
    color: var(--text-on-dark);
    background: var(--brand-gradient);
    border-radius: var(--radius-xl);
}

.vis-overview-copy .vis-share { color: var(--text-on-dark); background: #ffffff14; border-color: #ffffff40; }
.vis-overview-copy .vis-share:hover, .vis-overview-copy .vis-share[data-copied] { color: var(--brand-accent); border-color: var(--brand-accent); }
.vis-overview-copy :focus-visible { outline-color: var(--brand-accent); }
.vis-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vis-overview h3 { color: var(--text-on-dark); font-size: 14px; font-weight: 650; }
.vis-overview .vis-card-heading p { margin-top: 4px; color: var(--text-on-dark-muted); font-size: 11px; }
.vis-overview .vis-total {
    margin-top: 8px;
    font-size: clamp(38px, 4.8vw, 53px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.05em;
}

.vis-overview .vis-total-comparison { margin-top: 8px; color: var(--text-on-dark-muted); font-size: 12px; }
.vis-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--vis-muted);
    background: var(--vis-soft);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
    line-height: 1.45;
}

.vis-up { color: var(--success); background: var(--success-bg); }
.vis-down { color: var(--danger); background: var(--danger-bg); }
.vis-overview-copy .vis-change, #nationality-overview .vis-change { color: var(--text-on-dark-muted); background: #ffffff15; }
.vis-overview-copy .vis-up, #nationality-overview .vis-up { color: #9ce9cd; background: #1264546e; }
.vis-overview-copy .vis-down, #nationality-overview .vis-down { color: #ffc5d3; background: #8b36546e; }
.vis-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.vis-metrics > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--vis-line);
    border-radius: var(--radius-md);
}
#nationality-overview {
    --vis-muted: var(--text-on-dark-muted);
    padding: 17px 21px;
    color: var(--text-on-dark);
    background: var(--brand-gradient);
    border-radius: var(--radius-xl);
}

#nationality-overview .vis-overview-copy {
    padding: 0;
    background: transparent;
}

#nationality-overview .vis-metrics {
    gap: 0;
    border-inline-start: 1px solid #ffffff40;
}

#nationality-overview .vis-metrics > div {
    padding-inline: clamp(8px, 1.8vw, 24px);
    background: transparent;
    border: 0;
}

.vis-metrics dt { color: var(--vis-muted); font-size: 13px; }
.vis-metrics dd { margin: 0; }
.vis-metrics dd:nth-child(2) { margin: 5px 0; font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; }
.vis-metrics dd:nth-child(3) { color: var(--vis-muted); font-size: 11px; }
.vis-metrics .vis-change { font-size: 10px; padding-inline: 5px; }
.vis-trend-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 13px 0 5px; color: var(--vis-muted); font-size: 12px; }
.vis-trend-legend span::before { display: inline-block; width: 9px; height: 9px; margin-right: 5px; background: var(--vis-accent); border-radius: 2px; content: ''; }
.vis-trend-legend .vis-trend-previous::before { background: var(--vis-previous); }
.vis-trend-legend strong { color: var(--vis-ink); margin-left: 2px; }
.vis-interactive { position: relative; min-width: 0; }
.vis-interactive > svg { display: block; width: 100%; height: auto; overflow: visible; }
.vis-chart-line { stroke: var(--vis-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vis-chart-tick { fill: var(--vis-muted); font-size: 12px; }
.vis-chart-value { fill: var(--vis-ink); font-size: 14px; font-weight: 750; }
.vis-bar, .vis-meter-fill { fill: var(--vis-accent); }
.vis-bar-previous { fill: var(--vis-previous); }
.vis-fiscal .vis-bar { fill: var(--vis-fiscal); }
.vis-fiscal .vis-bar-incomplete { fill: url(#vis-fiscal-stripes); }
.vis-stripe-bg { fill: var(--vis-line); }
.vis-stripe-line { stroke: var(--vis-fiscal); }
.vis-hit { fill: transparent; cursor: crosshair; }
.vis-interactive g[data-vis-point]:focus-visible { outline: 0; }
.vis-interactive g[data-vis-point]:is(:hover, :focus-visible) .vis-bar { stroke: var(--vis-ink); stroke-width: 1.5px; }
.vis-tooltip {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    max-width: 100%;
    padding: 6px 9px;
    border-radius: 7px;
    color: #fff;
    background: var(--brand-dark);
    box-shadow: var(--shadow-md);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 7px));
}

.vis-card, .vis-monthly, .vis-related a {
    color: var(--vis-ink);
    background: var(--bg-surface);
    border: 1px solid var(--vis-line);
}

.vis-card { min-width: 0; margin-top: 18px; padding: 20px 22px; border-radius: var(--radius-xl); }
.vis-card h3 { font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.vis-card-heading p { margin-top: 5px; color: var(--vis-muted); font-size: 13px; line-height: 1.55; }
.vis-chart-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.vis-chart-row > .vis-card { display: flex; flex-direction: column; margin-top: 0; }
.vis-chart-row > .vis-card > .vis-insight { margin-top: auto; }
.vis-trend .vis-interactive { margin-bottom: 13px; }
.vis-fiscal .vis-interactive { width: 100%; max-width: 620px; margin: 16px auto 0; }
.vis-container .vis-key { margin: 13px 0 0; color: var(--vis-muted); font-size: 12px; line-height: 1.5; }
.vis-stripes, .vis-current-key, .vis-previous-key { display: inline-block; vertical-align: middle; }
.vis-stripes { width: 15px; height: 9px; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--vis-line) 0 3px, var(--vis-fiscal) 3px 5px); }
.vis-current-key { width: 18px; height: 7px; border-radius: 999px; background: var(--vis-accent); }
.vis-previous-key { width: 2px; height: 12px; margin-left: 10px; background: var(--vis-ink); }
.vis-container .vis-insight { margin-top: 18px; padding: 12px 15px; color: var(--vis-muted); background: var(--vis-soft); border-radius: 13px; font-size: 13px; line-height: 1.65; }

.vis-filters { display: flex; flex-wrap: wrap; gap: 8px; min-inline-size: 0; margin: -2px 0 16px; padding: 0; border: 0; }
.vis-filters label { position: relative; cursor: pointer; }
.vis-filters input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vis-filters label > span {
    display: block;
    padding: 7px 12px;
    border: 1px solid var(--vis-line);
    border-radius: 999px;
    color: var(--vis-ink);
    background: var(--bg-surface);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.vis-filters label:hover > span { border-color: var(--vis-accent-text); }
.vis-filters input:checked + span { color: var(--vis-accent-text); background: var(--brand-light); border-color: var(--brand-cta-border); }
.vis-filters input:focus-visible + span { outline: 2px solid var(--vis-accent-text); outline-offset: 2px; }
.vis-filters small { font-size: 11px; opacity: .82; }
.vis-city-list { display: grid; gap: 7px; list-style: none; margin: 11px -8px 14px; padding: 0; }
.vis-city-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 9px;
    padding: 6px 8px 5px;
    border-radius: 8px;
    font-size: 14px;
}

.vis-city-list a:hover, .vis-city-active a { background: var(--vis-soft); }
.vis-city-name small { margin-left: 4px; color: var(--vis-muted); font-size: 11px; }
.vis-city-value { display: flex; align-items: center; gap: 6px; }
.vis-city-value > span:last-child { color: var(--vis-muted); font-size: 17px; line-height: 1; }
.vis-meter { grid-column: 1 / -1; display: block; width: 100%; height: 17px; overflow: visible; }
.vis-meter-track { fill: var(--vis-line); }
.vis-meter-marker { stroke: var(--vis-ink); stroke-width: 2; }
.vis-city-list .vis-meter-marker { stroke-linecap: round; }

.vis-heat-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 15px; }
.vis-heat-notes { padding: 16px; border: 1px solid var(--vis-line); border-radius: var(--radius-md); background: var(--vis-soft); }
.vis-heat-notes .vis-insight { margin: 10px 0 0; padding: 0; }
.vis-heat-peak { color: var(--vis-muted); font-size: 12px; }
.vis-heat-peak strong { display: block; margin-top: 3px; color: var(--vis-ink); font-size: 17px; }
.vis-heat-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 3px; font-size: 11px; color: var(--vis-muted); }
.vis-heat-table th { font-weight: 650; }
.vis-heat-table th:first-child { width: 38px; text-align: left; }
.vis-heat-table td { padding: 0; }
.vis-heat-table thead th:not(:first-child) { text-align: center; padding-bottom: 3px; white-space: nowrap; }
.vis-heat-cell { display: block; width: 100%; height: clamp(18px, 3vw, 30px); border-radius: 4px; cursor: crosshair; }
.vis-heat-cell:focus-visible { position: relative; z-index: 1; outline-offset: 1px; }
.vis-heat-1 { background: #e3f5f5; }
.vis-heat-2 { background: #bfe9e8; }
.vis-heat-3 { background: #8cd8d5; }
.vis-heat-4 { background: #53bfbe; }
.vis-heat-5 { background: #229b9f; }
.vis-heat-6 { background: var(--vis-accent); }
.vis-heat-7 { background: #094d5a; }
.vis-heat-none { cursor: default; background: repeating-linear-gradient(135deg, var(--vis-line) 0 2px, transparent 2px 5px); }
.vis-heat-table tfoot th, .vis-heat-table tfoot td { border-top: 1px solid var(--vis-line); padding-top: 8px; vertical-align: bottom; }
.vis-typical-bar { display: grid; justify-items: center; }
.vis-typical-bar small { color: var(--vis-ink); font-size: 9px; font-weight: 750; white-space: nowrap; }
.vis-typical-bar svg { display: block; width: 78%; height: 24px; fill: var(--vis-previous); }
.vis-typical-high svg { fill: var(--vis-accent); }
.vis-container .vis-heat-caption { margin-top: 5px; }
.vis-heat-key, .vis-heat-swatches { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.vis-heat-swatches i, .vis-heat-key > .vis-heat-none { width: 11px; height: 8px; border-radius: 3px; }
.vis-heat-key > .vis-heat-none { margin-left: 6px; }

.vis-year-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.vis-year { padding: 15px; background: var(--vis-soft); border-radius: var(--radius-md); }
.vis-year p { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; justify-content: space-between; color: var(--vis-muted); font-size: 13px; }
.vis-year p span { padding: 1px 5px; border: 1px solid var(--vis-line); border-radius: 6px; background: var(--bg-surface); font-size: 10px; }
.vis-year-value { display: block; margin-top: 5px; font-size: 24px; line-height: 1.3; letter-spacing: -.035em; }
.vis-year small { display: block; color: var(--vis-muted); font-size: 11px; line-height: 1.6; }
.vis-year .vis-meter { margin: 7px 0; height: 12px; }

.vis-monthly { margin-top: 18px; border-radius: 15px; }
.vis-monthly summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 19px;
    border-radius: 15px;
    list-style: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.vis-monthly summary::-webkit-details-marker { display: none; }
.vis-monthly summary::after { content: ''; width: 7px; height: 7px; margin: 0 3px 4px 12px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.vis-monthly[open] summary::after { margin-bottom: 0; transform: rotate(225deg); }
.vis-table-scroll { padding: 0 18px 14px; overflow-x: auto; }
.vis-monthly table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vis-monthly th, .vis-monthly td { padding: 9px 10px; border-bottom: 1px solid var(--vis-line); text-align: right; white-space: nowrap; }
.vis-monthly th:first-child { text-align: left; }
.vis-monthly thead { background: var(--vis-soft); }
.vis-container .vis-source { margin-top: 13px; color: var(--vis-muted); font-size: 12px; }
.vis-source a { color: var(--vis-accent-text); text-decoration: underline; text-underline-offset: 2px; }
.vis-method { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--vis-line); }
.vis-method h2 { font-size: 17px; }
.vis-method p { margin-top: 6px; color: var(--vis-muted); font-size: 13px; }
.vis-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.vis-related a { position: relative; display: grid; gap: 3px; padding: 14px 30px 14px 15px; border-radius: 14px; font-size: 14px; }
.vis-related a::after { content: '→'; position: absolute; top: 14px; right: 14px; color: var(--vis-accent-text); }
.vis-related a:hover { border-color: var(--vis-accent-text); }
.vis-related a span { color: var(--vis-muted); font-size: 12px; }

@media (prefers-reduced-motion: no-preference) {
    .is-vis-animated .vis-bar { transform-box: fill-box; transform-origin: center bottom; animation: vis-grow-up .7s cubic-bezier(.22, 1, .36, 1); }
    .is-vis-animated .vis-meter-fill { transform-box: fill-box; transform-origin: left center; animation: vis-grow-right .85s cubic-bezier(.22, 1, .36, 1); }
    .is-vis-animated .vis-heat-cell:not(.vis-heat-none) { animation: vis-heat-reveal .5s ease-out; }
}

@keyframes vis-grow-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes vis-grow-right { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vis-heat-reveal { from { opacity: .3; } to { opacity: 1; } }

@media (max-width: 1100px) {
    .visa-issuance-page [id] { scroll-margin-top: calc(var(--header-h) + 72px); }
}

@media (max-width: 800px) {
    .vis-hero { grid-template-columns: minmax(0, 1fr); }
    .vis-chart-row, .vis-heat-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .vis-card { padding: 18px; }
    .vis-city-value { gap: 4px; }
    .vis-city-name small { margin-left: 1px; }
    .vis-heat-table { border-spacing: 2px; font-size: 10px; }
    .vis-heat-table th:first-child { width: 30px; }
}

@media (max-width: 640px) {
    .visa-issuance-page .vis-main { padding-top: 20px; }
    .vis-hero { gap: 12px; margin: 15px 0 24px; }
    .vis-hero .vis-hero-description { font-size: 14px; }
    .vis-section-heading { margin-bottom: 15px; }
    .vis-section + .vis-section { margin-top: 34px; }
    .vis-overview { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .vis-overview-copy { padding: 16px; }
    .vis-metrics { gap: 7px; }
    .vis-metrics > div { padding: 9px 8px; }
    .vis-metrics dt { font-size: 11px; }
    #nationality-overview { padding: 16px; }
    #nationality-overview .vis-metrics { border-inline-start: 0; border-block-start: 1px solid #ffffff40; }
    #nationality-overview .vis-metrics > div:first-child { padding-inline-start: 0; }
    .vis-trend .vis-chart-tick { font-size: 18px; }
    .vis-month-tick.vis-extra-tick { display: none; }
    .vis-trend-legend { font-size: 10px; }
    .vis-related { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .vis-card { margin-top: 15px; border-radius: 17px; padding: 17px 14px; }
    .vis-card h3 { font-size: 19px; }
    .vis-fiscal .vis-chart-tick { font-size: 16px; }
    .vis-fiscal .vis-chart-value { font-size: 17px; }
    .vis-year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .vis-year { padding: 11px; }
    .vis-year-value { font-size: 21px; }
    .vis-table-scroll { padding-inline: 8px; }
    .vis-monthly th, .vis-monthly td { padding-inline: 7px; font-size: 12px; }
}

@media (max-width: 370px) {
    .vis-month-unit { display: none; }
}
