:root {
    --ur-navy: #092c46;
    --ur-navy-deep: #061f33;
    --ur-blue: #0c5476;
    --ur-cyan: #20a5bd;
    --ur-orange: #ed6b2d;
    --ur-gold: #f2b84b;
    --ur-paper: #f4f7f8;
    --ur-white: #ffffff;
    --ur-ink: #18303f;
    --ur-muted: #657985;
    --ur-line: #dce5e9;
    --ur-success: #16866c;
    --ur-warning: #c77b16;
    --ur-danger: #bc4a45;
    --ur-shadow: 0 18px 50px rgba(7, 37, 57, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.urban-renewal-page,
body.ur-control-page {
    margin: 0;
    color: var(--ur-ink);
    background: var(--ur-paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.55;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.ur-shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }
.ur-skip-link { position: fixed; left: 18px; top: -60px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--ur-orange); border-radius: 6px; }
.ur-skip-link:focus { top: 12px; }

.ur-header { position: relative; z-index: 50; height: 72px; color: #fff; background: rgba(5, 30, 49, 0.98); border-bottom: 1px solid rgba(255,255,255,.11); }
.ur-header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.ur-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 240px; }
.ur-brand img { width: 44px; height: 44px; object-fit: contain; }
.ur-brand span { display: grid; line-height: 1.15; }
.ur-brand small { font-size: 13px; letter-spacing: 1.2px; color: #bcd1dd; }
.ur-brand strong { margin-top: 5px; font-size: 21px; letter-spacing: 2px; }
.ur-global-nav { display: flex; align-items: stretch; height: 100%; gap: 6px; }
.ur-global-nav a { position: relative; display: flex; align-items: center; padding: 0 17px; color: #dce9ef; text-decoration: none; font-size: 15px; }
.ur-global-nav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: transparent; }
.ur-global-nav a:hover, .ur-global-nav a.active { color: #fff; background: rgba(255,255,255,.06); }
.ur-global-nav a.active::after { background: var(--ur-orange); }
.ur-user { margin-left: auto; display: flex; align-items: center; gap: 12px; color: #c9dbe4; font-size: 14px; }
.ur-user span { color: #fff; font-weight: 700; }
.ur-user a { color: #c9dbe4; text-decoration: none; }
.ur-user a:hover { color: #fff; }

.ur-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(128deg, #072c47 0%, #0a4462 58%, #0a5c70 100%); }
.ur-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, #000, transparent 82%); }
.ur-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: 8%; bottom: -255px; border: 80px solid rgba(242,184,75,.09); border-radius: 50%; }
.ur-hero-glow { position: absolute; width: 620px; height: 620px; left: -340px; top: -360px; border-radius: 50%; background: rgba(32,165,189,.15); filter: blur(2px); }
.ur-hero-grid { position: relative; z-index: 2; min-height: 470px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; padding: 46px 0; }
.ur-eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; color: #cae8ef; font-size: 15px; letter-spacing: 1px; }
.ur-eyebrow span { padding: 4px 10px; color: #fff; font-weight: 800; background: var(--ur-orange); border-radius: 3px; }
.ur-hero h1 { margin: 0; font-size: clamp(38px, 4.2vw, 66px); line-height: 1.18; letter-spacing: -.8px; }
.ur-hero h1 em { color: #f6c96d; font-style: normal; }
.ur-hero-intro { max-width: 680px; margin: 18px 0 0; color: #d4e6ed; font-size: 17px; line-height: 1.72; }
.ur-hero-actions { display: flex; gap: 14px; margin-top: 22px; }
.ur-primary-button, .ur-secondary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.ur-primary-button { color: #fff; background: var(--ur-orange); box-shadow: 0 9px 25px rgba(237,107,45,.26); }
.ur-secondary-button { color: #fff; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.ur-hero-panel { padding: 21px; background: rgba(5,29,47,.58); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 28px 65px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.ur-hero-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ur-hero-panel-head span { font-size: 17px; font-weight: 800; }
.ur-hero-panel-head strong { padding: 4px 9px; color: #f7d795; font-size: 13px; background: rgba(242,184,75,.12); border: 1px solid rgba(242,184,75,.24); }
.ur-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ur-kpi-grid article { position: relative; min-height: 98px; padding: 17px 12px 13px; border-right: 1px solid rgba(255,255,255,.10); border-bottom: 1px solid rgba(255,255,255,.10); }
.ur-kpi-grid small { font-size: 13px; }
.ur-kpi-grid article:nth-child(3n) { border-right: 0; }
.ur-kpi-grid article:nth-child(n+4) { border-bottom: 0; }
.ur-kpi-grid small { display: block; margin-bottom: 5px; color: #a9c8d5; }
.ur-kpi-grid strong { font-family: "Arial Narrow", Arial, sans-serif; font-size: 31px; letter-spacing: -.5px; }
.ur-kpi-grid span { margin-left: 4px; color: #b9d1dc; font-size: 13px; }
.ur-progress-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding-top: 14px; color: #c6dce5; font-size: 13px; }
.ur-progress-line > div { height: 6px; overflow: hidden; background: rgba(255,255,255,.13); border-radius: 5px; }
.ur-progress-line i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--ur-orange), var(--ur-gold)); transition: width .7s ease; }
.ur-progress-line strong { color: #fff; font-size: 15px; }

.ur-section-nav { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--ur-line); box-shadow: 0 5px 18px rgba(9,44,70,.06); }
.ur-section-nav .ur-shell { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 6px; overflow-x: auto; }
.ur-section-nav a { flex: 0 0 auto; padding: 9px 18px; color: #46606e; text-decoration: none; font-size: 15px; border-radius: 4px; }
.ur-section-nav a:hover { color: var(--ur-orange); background: #fff5ef; }
.ur-system-message { width: min(1440px, calc(100% - 48px)); margin: 18px auto 0; padding: 12px 16px; color: #7c3418; background: #fff1e8; border: 1px solid #f3c4aa; border-radius: 5px; }

.ur-section { padding: 54px 0; scroll-margin-top: 52px; }
.ur-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 22px; }
.ur-section-heading > div:first-child { flex: 0 0 auto; }
.ur-section-heading p { max-width: 660px; margin: 0; color: var(--ur-muted); font-size: 15px; line-height: 1.68; }
.ur-section-heading > div:first-child p { margin-bottom: 4px; color: var(--ur-orange); font-size: 13px; font-weight: 800; letter-spacing: 2px; }
.ur-section-heading h2 { margin: 0; color: var(--ur-navy); font-size: 31px; letter-spacing: .2px; }
.ur-section-heading.light h2 { color: #fff; }
.ur-section-heading.light > p { color: #b9ced8; }
.ur-overview { background: #f5f8f9; }
.ur-overview-grid { display: grid; grid-template-columns: 1.05fr 1.15fr .8fr; gap: 16px; }
.ur-overview-card { min-height: 250px; padding: 21px; background: #fff; border: 1px solid #e0e7ea; box-shadow: 0 12px 34px rgba(9,44,70,.06); }
.ur-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.ur-card-heading h3 { margin: 0; color: var(--ur-navy); font-size: 19px; }
.ur-card-heading > span { color: #7f929c; font-size: 13px; }
.ur-status-visual { display: flex; align-items: center; gap: 22px; }
.ur-donut { --started: 63%; --completed: 5%; position: relative; width: 142px; aspect-ratio: 1; display: grid; flex: 0 0 auto; place-content: center; text-align: center; border-radius: 50%; background: conic-gradient(var(--ur-cyan) 0 var(--started), var(--ur-success) var(--started) calc(var(--started) + var(--completed)), #e9eef0 calc(var(--started) + var(--completed)) 100%); }
.ur-donut::after { content: ""; position: absolute; inset: 17px; background: #fff; border-radius: 50%; }
.ur-donut strong, .ur-donut span { position: relative; z-index: 1; }
.ur-donut strong { color: var(--ur-navy); font-size: 27px; line-height: 1; }
.ur-donut span { margin-top: 3px; color: var(--ur-muted); font-size: 13px; }
.ur-status-visual ul { flex: 1; display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ur-status-visual li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; color: #667985; font-size: 14px; }
.ur-status-visual li i { width: 8px; height: 8px; border-radius: 50%; }
.ur-status-visual li strong { color: var(--ur-ink); }
.ur-card-note { margin: 16px 0 0; padding-top: 12px; color: #71858f; font-size: 13px; border-top: 1px solid #edf1f3; }
.ur-funding-total { display: flex; align-items: baseline; justify-content: space-between; margin: 9px 0 19px; }
.ur-funding-total span { color: var(--ur-muted); }
.ur-funding-total strong { color: var(--ur-orange); font-size: 35px; }
.ur-funding-total strong::after { content: " 亿元"; color: #899aa3; font-size: 13px; font-weight: 400; }
.ur-funding-bars { display: grid; gap: 10px; }
.ur-funding-row { display: grid; grid-template-columns: 124px 1fr 48px; align-items: center; gap: 12px; font-size: 13px; color: #60747f; }
.ur-funding-row > div { height: 7px; overflow: hidden; border-radius: 5px; background: #edf1f2; }
.ur-funding-row i { display: block; height: 100%; background: linear-gradient(90deg, #14819b, #21a7bc); border-radius: 5px; }
.ur-funding-row strong { text-align: right; color: var(--ur-ink); }
.ur-area-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ur-area-summary article { padding: 13px 8px; text-align: center; background: #f5f8f9; border-top: 3px solid var(--ur-cyan); }
.ur-area-summary article:nth-child(2) { border-color: var(--ur-orange); }
.ur-area-summary article:nth-child(3) { border-color: var(--ur-success); }
.ur-area-summary strong { display: block; color: var(--ur-navy); font-size: 25px; }
.ur-area-summary span { color: var(--ur-muted); font-size: 13px; }
.ur-data-rule { display: flex; align-items: flex-start; gap: 13px; margin-top: 14px; padding: 13px 17px; color: #536b78; background: #eaf3f6; border-left: 4px solid var(--ur-cyan); }
.ur-data-rule > span { width: 22px; height: 22px; display: grid; flex: 0 0 auto; place-content: center; color: #fff; background: var(--ur-cyan); border-radius: 50%; font-weight: 800; font-family: Georgia, serif; }
.ur-data-rule strong { color: var(--ur-navy); }
.ur-data-rule p { margin: 2px 0 0; font-size: 14px; }

.ur-actions-section { background: #fff; }
.ur-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ur-action-card { position: relative; min-height: 270px; overflow: hidden; padding: 22px; color: var(--ur-ink); background: #f8fafb; border: 1px solid #e2e9ec; transition: transform .2s ease, box-shadow .2s ease; }
.ur-action-card:hover { transform: translateY(-3px); box-shadow: var(--ur-shadow); }
.ur-action-card::after { content: attr(data-code); position: absolute; right: 17px; top: 2px; color: rgba(9,44,70,.055); font: 800 72px/1 Arial, sans-serif; }
.ur-action-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.ur-action-icon { width: 42px; height: 42px; display: grid; place-content: center; color: #fff; background: var(--ur-navy); border-radius: 50%; font-weight: 800; }
.ur-action-head h3 { margin: 0; color: var(--ur-navy); font-size: 19px; }
.ur-action-head span { color: #7d909a; font-size: 13px; }
.ur-action-progress { margin: 15px 0 13px; }
.ur-action-progress > div { height: 7px; overflow: hidden; background: #e6ecef; border-radius: 5px; }
.ur-action-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--ur-orange), var(--ur-gold)); }
.ur-action-progress p { display: flex; justify-content: space-between; margin: 6px 0 0; color: #70838d; font-size: 13px; }
.ur-action-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.ur-action-card dl div { padding: 8px 10px; background: #fff; border: 1px solid #e8edef; }
.ur-action-card dt { color: #788c96; font-size: 13px; }
.ur-action-card dd { margin: 3px 0 0; color: var(--ur-navy); font-weight: 800; }
.ur-action-card > p { margin: 0; color: #627681; font-size: 13px; line-height: 1.62; }
.ur-action-card button { margin-top: 13px; padding: 0; color: var(--ur-orange); background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 700; }

.ur-map-section { background: linear-gradient(135deg, var(--ur-navy-deep), #0b405b); }
.ur-map-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, .5fr); gap: 18px; }
.ur-map-card, .ur-district-panel { background: rgba(255,255,255,.96); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.ur-map-head { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--ur-line); }
.ur-map-head div { display: grid; }
.ur-map-head strong { color: var(--ur-navy); font-size: 18px; }
.ur-map-head span { color: var(--ur-muted); font-size: 13px; }
.ur-map-head button { padding: 6px 12px; color: var(--ur-blue); background: #eef6f8; border: 1px solid #cfe1e6; cursor: pointer; font-size: 14px; }
.ur-map-canvas { position: relative; height: 480px; min-height: 480px; padding: 0; overflow: hidden; background: radial-gradient(circle at 45% 45%, #f7fbfc, #eaf1f4); }
.ur-map-canvas .ol-viewport { position: absolute !important; inset: 0; width: auto !important; height: auto !important; filter: saturate(.9) brightness(.94) contrast(1.03) hue-rotate(-3deg); }
.ur-map-canvas .ol-scale-line { left: 11px; bottom: 10px; background: rgba(5,31,51,.68); }
.ur-map-canvas .ol-scale-line-inner { color: #fff; border-color: #fff; font-size: 11px; }
.ur-map-loading { position: absolute; z-index: 8; inset: 0; display: grid; place-content: center; padding: 24px; color: var(--ur-muted); text-align: center; background: rgba(238,245,247,.88); font-size: 14px; pointer-events: none; }
.ur-map-loading[hidden] { display: none; }
.ur-map-loading.is-error { color: #8a4b22; }
.ur-district-shape { fill: #c8e0e6; stroke: #fff; stroke-width: 2; cursor: pointer; transition: fill .18s ease, filter .18s ease; }
.ur-district-shape:hover, .ur-district-shape:focus, .ur-district-shape.active { fill: #e98a52; outline: none; filter: drop-shadow(0 6px 8px rgba(7,46,69,.22)); }
.ur-map-label { pointer-events: none; text-anchor: middle; fill: var(--ur-navy); font-size: 12px; font-weight: 800; }
.ur-map-count { pointer-events: none; text-anchor: middle; fill: #fff; font-size: 10px; font-weight: 800; }
.ur-map-count-bg { pointer-events: none; fill: var(--ur-orange); stroke: #fff; stroke-width: 2; }
.ur-district-panel { padding: 19px; }
.ur-district-list { display: grid; gap: 6px; }
.ur-district-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 15px; padding: 10px 12px; color: inherit; text-align: left; background: #f5f8f9; border: 1px solid transparent; cursor: pointer; }
.ur-district-item:hover, .ur-district-item.active { background: #fff5ef; border-color: #efc2a9; }
.ur-district-item strong { justify-self: start; color: var(--ur-navy); font-size: 16px; }
.ur-district-item > span { justify-self: end; color: var(--ur-orange); font-size: 15px; font-weight: 800; }
.ur-district-item small { grid-column: 1 / -1; justify-self: start; color: #687f8a; font-size: 13px; }

.ur-projects-section { background: #f5f8f9; }
.ur-filter-panel { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr) auto; gap: 10px; align-items: end; padding: 16px; background: #fff; border: 1px solid var(--ur-line); box-shadow: 0 10px 28px rgba(9,44,70,.05); }
.ur-filter-panel label { display: grid; gap: 6px; }
.ur-filter-panel label span { color: #607782; font-size: 13px; }
.ur-filter-panel input, .ur-filter-panel select { width: 100%; height: 40px; padding: 0 10px; color: var(--ur-ink); background: #fafcfc; border: 1px solid #ccd9de; border-radius: 3px; font-size: 14px; }
.ur-filter-panel input:focus, .ur-filter-panel select:focus { outline: 2px solid rgba(32,165,189,.25); border-color: var(--ur-cyan); }
.ur-filter-actions { display: flex; gap: 7px; }
.ur-filter-actions button { height: 40px; padding: 0 15px; border: 1px solid #cbd9de; background: #fff; cursor: pointer; font-size: 14px; }
.ur-filter-actions button:first-child { color: #fff; background: var(--ur-navy); border-color: var(--ur-navy); }
.ur-project-rollup { display: flex; align-items: center; gap: 22px; min-height: 44px; padding: 0 6px; color: #667a85; font-size: 14px; }
.ur-project-rollup strong { color: var(--ur-navy); }
.ur-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--ur-line); }
.ur-project-table { width: 100%; min-width: 1080px; border-collapse: collapse; }
.ur-project-table th { height: 44px; padding: 0 14px; color: #5b707b; background: #edf3f5; text-align: left; font-size: 13px; font-weight: 700; }
.ur-project-table td { padding: 12px 14px; border-top: 1px solid #e8edef; vertical-align: top; font-size: 14px; }
.ur-project-table tr:hover td { background: #fbfdfd; }
.ur-project-name { max-width: 330px; color: var(--ur-navy); font-weight: 700; }
.ur-project-meta { color: #718790; font-size: 13px; }
.ur-status-badge { display: inline-flex; padding: 3px 8px; font-size: 13px; border-radius: 10px; background: #edf1f2; }
.ur-status-badge.started { color: #087892; background: #e4f4f7; }
.ur-status-badge.completed { color: #147660; background: #e6f5ef; }
.ur-project-table button { padding: 5px 10px; color: var(--ur-blue); background: #edf6f8; border: 1px solid #c9e0e5; cursor: pointer; }
.ur-empty { padding: 36px !important; color: #81929a; text-align: center; }
.ur-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.ur-pagination button { min-width: 86px; height: 36px; color: var(--ur-navy); background: #fff; border: 1px solid #cbd8dd; cursor: pointer; }
.ur-pagination button:disabled { color: #aab6bc; cursor: not-allowed; }
.ur-pagination span { color: #667a85; font-size: 13px; }

.ur-areas-section { background: #fff; }
.ur-segmented { display: flex; gap: 5px; }
.ur-segmented button { padding: 8px 13px; color: #5e737e; background: #f1f5f6; border: 1px solid transparent; cursor: pointer; }
.ur-segmented button.active { color: #fff; background: var(--ur-navy); }
.ur-area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.ur-area-card { position: relative; min-height: 175px; padding: 18px; overflow: hidden; background: #f7f9fa; border: 1px solid #e1e8eb; }
.ur-area-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ur-cyan); }
.ur-area-card[data-type="续建"]::before { background: var(--ur-orange); }
.ur-area-card[data-type="计划验收"]::before { background: var(--ur-success); }
.ur-area-card-head { display: flex; justify-content: space-between; gap: 12px; }
.ur-area-card-head span { color: #a0aeb4; font: 800 25px/1 Arial, sans-serif; }
.ur-area-card-head em { height: fit-content; padding: 3px 7px; color: var(--ur-blue); background: #e7f3f5; font-size: 13px; font-style: normal; }
.ur-area-card h3 { margin: 12px 0 4px; color: var(--ur-navy); font-size: 18px; }
.ur-area-card > p { margin: 0; color: #6f838d; font-size: 13px; }
.ur-area-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; }
.ur-area-card dt { color: #7d919a; font-size: 13px; }
.ur-area-card dd { margin: 1px 0 0; color: var(--ur-ink); font-weight: 700; }
.ur-area-card button { margin-top: 12px; padding: 0; color: var(--ur-orange); background: none; border: 0; cursor: pointer; font-size: 14px; }

.ur-results-section { background: #f5f8f9; }
.ur-gallery-filter-panel { display: grid; grid-template-columns: minmax(240px, 360px) 1fr auto; gap: 14px; align-items: end; margin: 0 0 20px; padding: 14px 16px; background: #fff; border: 1px solid var(--ur-line); box-shadow: 0 10px 28px rgba(9,44,70,.05); }
.ur-gallery-filter-panel label { display: grid; gap: 6px; }
.ur-gallery-filter-panel label span { color: #607782; font-size: 13px; }
.ur-gallery-filter-panel select { width: 100%; height: 40px; padding: 0 10px; color: var(--ur-ink); background: #fafcfc; border: 1px solid #ccd9de; border-radius: 3px; font-size: 14px; }
.ur-gallery-filter-panel select:focus { outline: 2px solid rgba(32,165,189,.25); border-color: var(--ur-cyan); }
.ur-gallery-filter-summary { align-self: center; color: #607782; font-size: 14px; }
.ur-gallery-empty { grid-column: 1 / -1; padding: 48px 20px; color: #71858e; text-align: center; background: #fff; border: 1px dashed #ccd9de; }
.ur-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ur-gallery-card { overflow: hidden; background: #fff; border: 1px solid #dfe7ea; box-shadow: 0 14px 36px rgba(9,44,70,.07); }
.ur-gallery-media { --position: 50%; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe7e9; }
.ur-gallery-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ur-gallery-after { clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.ur-gallery-divider { position: absolute; z-index: 3; left: var(--position); top: 0; bottom: 0; width: 2px; transform: translateX(-1px); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none; }
.ur-gallery-divider::after { content: "↔"; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; display: grid; place-content: center; transform: translate(-50%, -50%); color: var(--ur-navy); background: #fff; border-radius: 50%; font-weight: 800; }
.ur-gallery-media input { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ur-gallery-label { position: absolute; z-index: 4; top: 15px; padding: 4px 8px; color: #fff; background: rgba(5,31,51,.76); font-size: 13px; pointer-events: none; }
.ur-gallery-label.before { left: 15px; }
.ur-gallery-label.after { right: 15px; }
.ur-gallery-copy { padding: 16px 18px 18px; }
.ur-gallery-copy span { color: var(--ur-orange); font-size: 13px; font-weight: 700; }
.ur-gallery-copy h3 { margin: 4px 0 7px; color: var(--ur-navy); }
.ur-gallery-copy p { margin: 0; color: #687d87; font-size: 14px; }

.ur-policy-section { background: var(--ur-navy-deep); }
.ur-policy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ur-policy-card { display: grid; grid-template-columns: 105px 1fr auto; align-items: center; gap: 18px; min-height: 112px; padding: 17px 20px; color: #dbe8ee; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.ur-policy-card:hover { background: rgba(255,255,255,.11); border-color: rgba(242,184,75,.45); }
.ur-policy-date { text-align: center; color: #f4ca76; font-size: 13px; }
.ur-policy-date strong { display: block; font: 800 24px/1 Arial, sans-serif; }
.ur-policy-copy span { color: #a0bdca; font-size: 13px; }
.ur-policy-copy h3 { margin: 3px 0 6px; color: #fff; font-size: 16px; }
.ur-policy-copy p { margin: 0; color: #b4c9d2; font-size: 13px; }
.ur-policy-arrow { color: #f4ca76; font-size: 22px; }

.ur-project-dialog { width: min(820px, calc(100% - 32px)); max-height: 88vh; padding: 0; border: 0; box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.ur-project-dialog::backdrop { background: rgba(3,25,40,.68); backdrop-filter: blur(3px); }
.ur-dialog-shell { margin: 0; }
.ur-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 28px; color: #fff; background: var(--ur-navy); }
.ur-dialog-head span { color: #a8c5d2; font-size: 13px; }
.ur-dialog-head h2 { margin: 4px 0 0; font-size: 22px; }
.ur-dialog-head button { width: 36px; height: 36px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); cursor: pointer; font-size: 25px; }
.ur-dialog-body { max-height: calc(88vh - 104px); overflow-y: auto; padding: 25px 28px 30px; }
.ur-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ur-detail-grid div { padding: 13px; background: #f4f7f8; }
.ur-detail-grid dt { color: #718690; font-size: 13px; }
.ur-detail-grid dd { margin: 4px 0 0; color: var(--ur-navy); font-weight: 700; }
.ur-detail-content { margin-top: 18px; padding: 18px; background: #fff; border: 1px solid var(--ur-line); }
.ur-detail-content h3 { margin: 0 0 8px; color: var(--ur-navy); font-size: 15px; }
.ur-detail-content p { margin: 0; color: #5f7480; font-size: 14px; line-height: 1.72; }

.ur-footer { color: #a9bdc7; background: #051b2b; }
.ur-footer .ur-shell { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.ur-footer span { color: #fff; font-weight: 700; }
.ur-footer p { margin: 0; font-size: 13px; }

/* 综合管控基础版 */
.ur-control-page { min-width: 1180px; color: #dceaf0 !important; background: #061d2d !important; }
.ur-control-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 13px 32px; background: #082b42; border-bottom: 1px solid rgba(255,255,255,.12); }
.ur-control-header span { color: #86a8b8; font-size: 12px; }
.ur-control-header h1 { margin: 2px 0 0; color: #fff; font-size: 24px; letter-spacing: 1px; }
.ur-control-header nav { display: flex; gap: 8px; }
.ur-control-header a { padding: 8px 13px; color: #c8dce5; text-decoration: none; border: 1px solid rgba(255,255,255,.14); }
.ur-control-main { padding: 22px 28px 36px; }
.ur-control-notice { display: flex; align-items: center; gap: 14px; padding: 11px 15px; color: #a8c2cd; background: rgba(255,255,255,.05); border-left: 4px solid var(--ur-orange); }
.ur-control-notice strong { color: #fff; }
.ur-control-notice time { margin-left: auto; color: #f0c572; }
.ur-control-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 15px 0; }
.ur-control-kpis article { min-height: 110px; padding: 20px; background: linear-gradient(135deg, rgba(14,76,101,.86), rgba(7,49,72,.86)); border: 1px solid rgba(94,171,193,.24); }
.ur-control-kpis span { color: #9fbac6; font-size: 12px; }
.ur-control-kpis strong { display: block; margin-top: 10px; color: #fff; font: 800 30px/1 Arial, sans-serif; }
.ur-control-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; }
.ur-control-panel { min-height: 520px; padding: 20px; background: rgba(8,47,68,.74); border: 1px solid rgba(116,178,196,.18); }
.ur-control-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.11); }
.ur-control-panel-head span { color: #65bfd2; font-size: 10px; letter-spacing: 1.5px; }
.ur-control-panel-head h2 { margin: 2px 0 0; color: #fff; font-size: 18px; }
.ur-control-panel-head > strong { color: #f2c675; font-size: 23px; }
.ur-quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ur-quality-grid article { padding: 14px; background: rgba(255,255,255,.045); }
.ur-quality-grid span { color: #93afbb; font-size: 10px; }
.ur-quality-grid strong { display: block; margin-top: 5px; color: #fff; font-size: 21px; }
.ur-conflict-list { display: grid; gap: 8px; margin-top: 16px; }
.ur-conflict-item { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 12px; background: rgba(255,255,255,.04); border-left: 3px solid #ca8428; }
.ur-conflict-item strong { color: #e8f1f4; font-size: 12px; }
.ur-conflict-item span { color: #f1c777; font-size: 12px; }
.ur-conflict-item small { grid-column: 1 / -1; color: #8faab6; }
.ur-control-table-wrap { overflow: auto; max-height: 430px; }
.ur-control-panel table { width: 100%; border-collapse: collapse; }
.ur-control-panel th { position: sticky; top: 0; padding: 10px; color: #99b6c2; background: #0a344c; text-align: left; font-size: 11px; }
.ur-control-panel td { padding: 11px 10px; color: #d5e4ea; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.ur-control-panel td:first-child { max-width: 280px; color: #fff; font-weight: 700; }
.ur-control-message { min-height: 24px; margin-top: 12px; color: #f0be70; }

/* 公开页只保留已发布成效与总体口径，避免管理台账与调度数据在游客端露出。 */
.ur-public-notice { color: #17485c; background: #eaf6f8; border-top: 1px solid #c8e6ea; border-bottom: 1px solid #c8e6ea; }
.ur-public-notice .ur-shell { display: flex; align-items: center; gap: 16px; min-height: 58px; }
.ur-public-notice strong { flex: 0 0 auto; color: #04748b; font-size: 15px; }
.ur-public-notice span { color: #54717c; font-size: 13px; line-height: 1.7; }
.ur-public-overview { background: #f7fbfc; }
.ur-public-kpis { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: #fff; border: 1px solid #dcebed; box-shadow: 0 12px 28px rgba(9, 64, 81, .07); }
.ur-public-kpis article { min-height: 138px; padding: 24px; border-right: 1px solid #e4eff0; }
.ur-public-kpis article:last-child { border-right: 0; }
.ur-public-kpis small { display: block; color: #65808a; font-size: 13px; }
.ur-public-kpis strong { display: inline-block; margin-top: 14px; color: #0d5c75; font: 800 32px/1.1 Arial, sans-serif; }
.ur-public-kpis span { margin-left: 4px; color: #78919a; font-size: 13px; }

@media (max-width: 1200px) {
    .ur-global-nav a { padding-inline: 10px; }
    .ur-user span { display: none; }
    .ur-hero-grid { gap: 36px; }
    .ur-overview-grid { grid-template-columns: 1fr 1fr; }
    .ur-area-summary-card { grid-column: 1 / -1; min-height: auto; }
    .ur-action-grid { grid-template-columns: repeat(2, 1fr); }
    .ur-filter-panel { grid-template-columns: repeat(3, 1fr); }
    .ur-search-field { grid-column: span 2; }
    .ur-area-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .ur-shell { width: min(100% - 28px, 720px); }
    .ur-header { height: auto; }
    .ur-header-inner { min-height: 70px; flex-wrap: wrap; gap: 10px 18px; padding: 9px 0; }
    .ur-brand { min-width: auto; }
    .ur-global-nav { order: 3; width: 100%; height: 42px; overflow-x: auto; }
    .ur-global-nav a { flex: 0 0 auto; }
    .ur-user { margin-left: auto; }
    .ur-hero-grid { grid-template-columns: 1fr; padding: 54px 0; }
    .ur-hero-panel { max-width: 650px; }
    .ur-section { padding: 46px 0; }
    .ur-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .ur-overview-grid { grid-template-columns: 1fr; }
    .ur-area-summary-card { grid-column: auto; }
    .ur-map-layout { grid-template-columns: 1fr; }
    .ur-map-canvas { height: 410px; min-height: 410px; }
    .ur-filter-panel { grid-template-columns: repeat(2, 1fr); }
    .ur-search-field { grid-column: span 2; }
    .ur-area-grid { grid-template-columns: repeat(2, 1fr); }
    .ur-gallery-grid, .ur-policy-list { grid-template-columns: 1fr; }
    .ur-public-kpis { grid-template-columns: repeat(2, 1fr); }
    .ur-public-kpis article:nth-child(2) { border-right: 0; }
    .ur-public-kpis article:nth-child(-n+2) { border-bottom: 1px solid #e4eff0; }
}

@media (max-width: 600px) {
    .ur-brand small { display: none; }
    .ur-brand strong { font-size: 18px; }
    .ur-brand img { width: 38px; height: 38px; }
    .ur-user a:first-of-type { display: none; }
    .ur-hero-grid { min-height: auto; padding: 42px 0; }
    .ur-hero h1 { font-size: 37px; }
    .ur-hero-intro { font-size: 15px; }
    .ur-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .ur-kpi-grid article:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.10); }
    .ur-kpi-grid article:nth-child(2n) { border-right: 0; }
    .ur-kpi-grid article:nth-child(n+4) { border-bottom: 1px solid rgba(255,255,255,.10); }
    .ur-kpi-grid article:nth-child(n+5) { border-bottom: 0; }
    .ur-section-nav .ur-shell { justify-content: flex-start; }
    .ur-action-grid, .ur-area-grid { grid-template-columns: 1fr; }
    .ur-filter-panel { grid-template-columns: 1fr; }
    .ur-gallery-filter-panel { grid-template-columns: 1fr; align-items: stretch; }
    .ur-gallery-filter-summary { align-self: auto; }
    .ur-search-field { grid-column: auto; }
    .ur-segmented { width: 100%; overflow-x: auto; }
    .ur-map-canvas { height: 340px; min-height: 340px; padding: 0; }
    .ur-status-visual { align-items: flex-start; }
    .ur-donut { width: 120px; }
    .ur-policy-card { grid-template-columns: 78px 1fr; }
    .ur-policy-arrow { display: none; }
    .ur-detail-grid { grid-template-columns: 1fr 1fr; }
    .ur-public-notice .ur-shell { align-items: flex-start; flex-direction: column; gap: 2px; padding: 13px 0; }
    .ur-public-kpis article { min-height: 112px; padding: 19px; }
    .ur-footer .ur-shell { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
