* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('../images/攀枝花背景0205.webp') center/cover no-repeat fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/攀枝花背景0205.webp') center/cover no-repeat;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    border-radius: 0 0 25px 25px;
    overflow: visible;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    z-index: -1;
    border-radius: 0 0 25px 25px;
    pointer-events: none;
}

.header .container {
    max-width: 1640px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

button.nav-link {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
}

.nav-dropdown {
    position: relative;
    flex-shrink: 0;
}

.nav-dropdown-toggle {
    gap: 6px;
}

.nav-dropdown-toggle::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.88);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 3000;
    width: 220px;
    padding: 6px;
    transform: translateX(-50%) translateY(6px);
    border: 1px solid rgba(111, 210, 255, 0.45);
    border-radius: 8px;
    background: rgba(11, 36, 74, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 0 18px rgba(61, 183, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -6px;
    width: 10px;
    height: 10px;
    transform: translateX(-50%) rotate(45deg);
    border-left: 1px solid rgba(111, 210, 255, 0.45);
    border-top: 1px solid rgba(111, 210, 255, 0.45);
    background: rgba(11, 36, 74, 0.96);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #bfefff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-datetime {
    min-width: 150px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.search-input {
    border: none;
    padding: 6px 12px;
    width: 160px;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.search-btn:hover {
    background: #ff5722;
}

.login-btn,
.register-btn {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.login-btn:hover,
.register-btn:hover {
    opacity: 0.8;
}

.divider {
    color: rgba(255,255,255,0.5);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.user-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 180px;
    padding: 4px 10px 4px 4px;
    border-radius: 18px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.user-profile-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #ff6b35;
    color: white;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

.logout-link {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s;
}

.logout-link:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.78);
}

/* Banner 轮播区 */
.banner {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    background: transparent;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-subtitle {
    font-size: 32px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-style: italic;
}

/* 四大核心板块展示区 */
.core-modules {
    padding: 60px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.module-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1), 0 0 20px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    margin-top: 20px;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2), 0 0 30px rgba(255, 107, 53, 0.6);
    border-color: rgba(255, 107, 53, 0.8);
}

.module-card:first-child:hover {
    transform: translateY(10px);
}

.module-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 应用中心 */
.application-center {
    padding: 42px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.application-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 50px;
    margin-bottom: 24px;
}

.application-panel,
.business-entry-card,
.topic-service-card {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.application-panel {
    padding: 22px;
}

.application-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dfe6ef;
}

.application-panel-head h3,
.business-entry-card h3,
.topic-service-card h3 {
    color: #1e3c72;
    font-size: 20px;
}

.application-panel-head span {
    padding: 5px 10px;
    border-radius: 14px;
    background: #eef5fb;
    color: #1f5f99;
    font-size: 13px;
    font-weight: 700;
}

.application-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.application-module-card,
.monitor-entry-grid a {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.application-module-card {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border: 1px solid #d6e0ea;
    border-left: 4px solid #ff6b35;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    color: #223044;
}

.application-module-card strong {
    color: #1e3c72;
    font-size: 18px;
}

.application-module-card span {
    color: #66788f;
    font-size: 13px;
    line-height: 1.5;
}

.application-module-card:hover,
.monitor-entry-grid a:hover,
.business-entry-card a:hover,
.topic-service-card a:hover {
    transform: translateY(-2px);
    border-color: #ff6b35;
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.16);
}

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

.monitor-entry-grid a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #d6e0ea;
    border-radius: 8px;
    background: #f5f7fa;
    color: #1e3c72;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.business-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.business-entry-card {
    min-height: 280px;
    padding: 20px;
    border-top: 4px solid #1e3c72;
}

.business-entry-card p {
    min-height: 44px;
    margin: 8px 0 14px;
    color: #66788f;
    font-size: 13px;
    line-height: 1.6;
}

.business-entry-card div,
.topic-link-grid {
    display: grid;
    gap: 9px;
}

.business-entry-card a,
.topic-service-card a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
    background: #f7f9fc;
    color: #223044;
    text-decoration: none;
    font-size: 14px;
}

.business-entry-card a::before,
.topic-service-card a::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: #ff6b35;
    flex: 0 0 6px;
}

/* 专题服务区 */
.topic-service {
    padding: 40px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

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

.topic-service-card {
    padding: 22px;
}

.topic-service-card h3 {
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 4px solid #ff6b35;
}

.topic-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 政务服务专区 */
.government-service {
    padding: 40px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.service-workbench {
    background: rgba(255,255,255,0.96);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    overflow: hidden;
}

.service-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    background: #f7f9fc;
    border-bottom: 1px solid #dfe6ef;
    color: #223044;
}

.service-summary span {
    font-size: 16px;
    font-weight: 700;
}

.service-summary strong {
    color: #1e3c72;
    font-size: 18px;
}

.service-summary a {
    color: #1f5f99;
    text-decoration: none;
    font-weight: 700;
}

.service-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 520px;
}

.service-tabs {
    background: #eef3f8;
    border-right: 1px solid #dfe6ef;
    padding: 14px;
}

.service-tab {
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid #d6e0ea;
    border-radius: 8px;
    background: white;
    color: #223044;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-tab span {
    font-size: 17px;
    font-weight: 700;
}

.service-tab strong {
    min-width: 44px;
    color: #1f5f99;
    font-size: 20px;
    text-align: right;
}

.service-tab:hover,
.service-tab.active {
    background: #1f5f99;
    border-color: #1f5f99;
    color: white;
}

.service-tab:hover strong,
.service-tab.active strong {
    color: white;
}

.service-panel {
    padding: 20px;
}

.service-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e4e9f0;
}

.service-panel-head h3 {
    color: #1e3c72;
    font-size: 24px;
    margin-bottom: 6px;
}

.service-panel-head p {
    color: #66788f;
    font-size: 14px;
}

.service-search {
    width: min(360px, 42%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #d6e0ea;
    border-radius: 8px;
    background: #fff;
}

.service-search span {
    color: #66788f;
    font-size: 14px;
    white-space: nowrap;
}

.service-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #223044;
    font-size: 14px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-height: 430px;
    overflow-y: auto;
    padding: 16px 4px 4px 0;
}

.service-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 96px;
    padding: 14px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: white;
    color: #223044;
    text-align: left;
}

.service-item h4 {
    color: #223044;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 8px;
}

.service-item p {
    color: #66788f;
    font-size: 13px;
    line-height: 1.5;
}

.service-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.service-action,
.service-form-submit,
.service-guide-download,
.service-apply-link {
    border: 0;
    border-radius: 6px;
    background: #1f5f99;
    color: white;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-action {
    min-width: 86px;
    padding: 10px 14px;
    font-size: 14px;
}

.service-action-secondary {
    border: 1px solid #223044;
    background: white;
    color: #223044;
}

.service-action:hover,
.service-form-submit:hover,
.service-guide-download:hover,
.service-apply-link:hover {
    background: #174b7c;
    transform: translateY(-1px);
}

.service-action-secondary:hover {
    border-color: #174b7c;
    background: #eef5fb;
    color: #174b7c;
}

.service-empty {
    grid-column: 1 / -1;
    padding: 36px;
    color: #66788f;
    text-align: center;
    background: #f7f9fc;
    border: 1px dashed #c9d5e2;
    border-radius: 8px;
}

.service-modal[hidden] {
    display: none;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 24, 38, 0.62);
}

.service-modal-dialog {
    width: min(860px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}

.service-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #eef3f8;
    color: #223044;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.service-modal-dialog h3 {
    color: #1e3c72;
    font-size: 24px;
    margin-bottom: 8px;
}

.service-selected {
    margin-bottom: 18px;
    padding-right: 36px;
    color: #66788f;
    line-height: 1.5;
}

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

.service-form label,
.service-form-wide {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-form span {
    color: #223044;
    font-size: 14px;
    font-weight: 700;
}

.service-form input,
.service-form select,
.service-form textarea {
    width: 100%;
    border: 1px solid #d6e0ea;
    border-radius: 6px;
    padding: 10px 12px;
    color: #223044;
    font: inherit;
    outline: 0;
}

.service-form textarea {
    resize: vertical;
}

.service-form-wide {
    margin-top: 14px;
}

.service-form-message {
    min-height: 22px;
    margin-top: 12px;
    color: #b42318;
    font-size: 14px;
}

.service-form-message.success {
    color: #247247;
}

.service-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 14px;
}

.service-form-cancel,
.service-form-submit {
    min-width: 96px;
    padding: 11px 16px;
}

.service-form-cancel {
    border: 1px solid #c9d5e2;
    border-radius: 6px;
    background: white;
    color: #223044;
    cursor: pointer;
}

.service-page {
    --portal-blue: #1e3c72;
    --portal-blue-light: #2a5298;
    --portal-orange: #86b7e6;
    --portal-orange-dark: #1f5f99;
    --portal-ink: #102a4c;
    background: #f2f5f8;
}

.service-page-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.service-breadcrumb {
    margin-bottom: 14px;
    color: #233b5c;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.service-breadcrumb a {
    color: #123f73;
    text-decoration: none;
}

.service-detail-hero {
    padding: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(30, 60, 114, 0.22);
}

.service-detail-hero p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
}

.service-detail-hero h1 {
    max-width: 1040px;
    font-size: 30px;
    line-height: 1.35;
}

.service-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 18px;
}

.service-hero-meta span {
    padding: 7px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 14px;
}

.service-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-guide-download,
.service-apply-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
}

.service-guide-download {
    background: white;
    color: #1e3c72;
}

.service-guide-download:hover {
    background: #e8f1fb;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.service-detail-nav {
    align-self: start;
    position: sticky;
    top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 16px rgba(20, 37, 63, 0.08);
}

.service-detail-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 700;
}

.service-detail-nav a:hover {
    background: #eef5fb;
    color: #1f5f99;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-info-block {
    padding: 22px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 16px rgba(20, 37, 63, 0.08);
}

.service-info-block h2 {
    margin-bottom: 14px;
    color: #1e3c72;
    font-size: 22px;
}

.service-subtitle {
    margin: 18px 0 8px;
    color: #1e3c72;
    font-size: 17px;
}

.service-info-table {
    width: 100%;
    border-collapse: collapse;
    color: #223044;
}

.service-info-table th,
.service-info-table td {
    padding: 12px;
    border: 1px solid #dfe6ef;
    text-align: left;
    vertical-align: top;
}

.service-info-table th {
    width: 160px;
    background: #f2f5f8;
    font-weight: 700;
}

.service-compact-table {
    margin-top: 8px;
}

.service-material-table {
    table-layout: fixed;
    font-size: 14px;
}

.service-material-table th,
.service-material-table td {
    padding: 10px;
}

.service-material-table th:nth-child(1),
.service-material-table td:nth-child(1) {
    width: 30%;
}

.service-material-table th:nth-child(2),
.service-material-table td:nth-child(2),
.service-material-table th:nth-child(5),
.service-material-table td:nth-child(5) {
    width: 8%;
}

.service-material-table th:nth-child(3),
.service-material-table td:nth-child(3),
.service-material-table th:nth-child(4),
.service-material-table td:nth-child(4) {
    width: 10%;
}

.service-material-table th:nth-child(6),
.service-material-table td:nth-child(6) {
    width: 34%;
}

.service-material-table p {
    margin-top: 4px;
    color: #66788f;
    font-size: 13px;
}

.service-basis-table {
    table-layout: fixed;
}

.service-basis-table th:nth-child(1),
.service-basis-table td:nth-child(1) {
    width: 20%;
}

.service-basis-table th:nth-child(2),
.service-basis-table td:nth-child(2),
.service-basis-table th:nth-child(3),
.service-basis-table td:nth-child(3) {
    width: 12%;
}

.service-basis-table th:nth-child(4),
.service-basis-table td:nth-child(4) {
    width: 56%;
}

.service-inline-link {
    display: block;
    margin: 2px 0;
    color: #1f5f99;
    text-decoration: none;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.service-inline-link:hover {
    text-decoration: underline;
}

.service-empty-note {
    color: #66788f;
}

.service-info-list {
    padding-left: 20px;
    color: #223044;
}

.service-info-list li {
    margin: 8px 0;
}

.service-question {
    padding: 14px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #f7f9fc;
}

.service-question strong {
    display: block;
    margin-bottom: 6px;
    color: #223044;
}

.service-application-panel {
    margin-top: 22px;
    padding: 24px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 16px rgba(20, 37, 63, 0.08);
}

.service-application-panel h2 {
    margin-bottom: 14px;
    color: #1e3c72;
}

.service-application-note {
    margin-bottom: 18px;
    color: #66788f;
}

/* 市场公共服务数据区 */
.market-data {
    padding: 40px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.data-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
}

.data-scroll::-webkit-scrollbar {
    height: 8px;
}

.data-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.data-scroll::-webkit-scrollbar-thumb {
    background: #1e3c72;
    border-radius: 4px;
}

.data-card {
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e3c72;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #1e3c72;
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.data-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #1e3c72;
    font-weight: 600;
}

.data-number {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2a5298;
}

.data-label {
    font-size: 13px;
    opacity: 0.8;
    color: #666;
}

/* 信用信息公示区 */
.credit-info {
    padding: 40px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.credit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.credit-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.subsection-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e3c72;
    border-left: 4px solid #ff6b35;
    padding-left: 15px;
}

.credit-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.credit-link {
    background: #f5f7fa;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.credit-link:hover {
    background: #1e3c72;
    color: white;
    border-color: #ff6b35;
}

.credit-more {
    display: block;
    text-align: right;
    color: #ff6b35;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    padding-right: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.credit-more:hover {
    color: #ff5722;
    transform: translateX(5px);
}

/* 便民互动 & 反馈区 */
.interaction {
    padding: 40px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.interaction-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}

.interaction-left {
    background: rgba(255, 255, 255, 0.95);
    padding: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feedback-container {
    width: 100%;
}

.feedback-title {
    font-size: 18px;
    color: #1e3c72;
    margin-bottom: 4px;
    font-weight: 600;
    text-align: center;
}

.feedback-desc {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

.feedback-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-bottom: 15px;
}

.feedback-btn {
    background: white;
    color: #333;
    padding: 12px 10px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-btn:hover {
    transform: translateY(-2px);
    border-color: #2a5298;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.2);
    background: #f0f5ff;
}

.feedback-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.feedback-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e3c72;
    line-height: 1.2;
}

.feedback-hint {
    font-size: 12px;
    color: #999;
}

.feedback-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 8px;
    margin-top: 6px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

.interaction-right {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.news-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: 500;
}

.news-tab:hover,
.news-tab.active {
    color: #1e3c72;
    border-bottom-color: #2a5298;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.news-item:hover {
    border-left-color: #2a5298;
    background: #f0f5ff;
    transform: translateX(5px);
}

.news-title {
    flex: 1;
    font-size: 15px;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-left: 20px;
    white-space: nowrap;
}

/* 底部页脚 */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px 0 10px;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    z-index: -1;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #fff;
}

.footer-link-item {
    display: inline-block;
    flex-shrink: 0;
}

.footer-link-item img {
    height: 65px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s;
    background: white;
    padding: 4px;
}

.footer-link-item img:hover {
    transform: scale(1.05);
}

.friend-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
}

.footer-info {
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-info p {
    margin: 3px 0;
}

/* 右侧悬浮工具栏 */
.floating-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-item {
    background: rgba(30, 60, 114, 0.9);
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.floating-item:hover {
    background: rgba(42, 82, 152, 0.95);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.floating-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.floating-text {
    font-size: 11px;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.chatbot-item {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    width: 70px;
    height: 70px;
    animation: pulse 2s infinite;
}

.chatbot-item:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(30, 60, 114, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(30, 60, 114, 0.8);
    }
}

.chatbot-bubble {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: #4A90E2;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.chatbot-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #4A90E2;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.chatbot-item:hover .chatbot-bubble {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-layout {
        grid-template-columns: 1fr;
    }

    .application-module-grid,
    .business-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .header-nav {
        gap: 10px;
    }
    
    .nav-link {
        padding: 6px 6px;
    }
    
    .search-input {
        width: 140px;
    }

    .header-datetime {
        display: none;
    }
    
    .service-layout {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .user-profile-link {
        max-width: 150px;
    }
    
    .feedback-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .feedback-btn {
        padding: 10px 8px;
        font-size: 11px;
    }
    
    .feedback-name {
        font-size: 11px;
    }
    
    .service-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid #dfe6ef;
    }

    .service-panel-head {
        flex-direction: column;
    }

    .service-search {
        width: 100%;
    }

    .service-form-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item-actions {
        flex-direction: row;
    }

    .service-action {
        flex: 1;
    }

    .service-detail-hero h1 {
        font-size: 24px;
    }

    .service-info-table,
    .service-info-table tbody,
    .service-info-table tr,
    .service-info-table th,
    .service-info-table td {
        display: block;
        width: 100%;
    }

    .service-info-table th {
        border-bottom: 0;
    }

    .service-material-table th,
    .service-material-table td,
    .service-basis-table th,
    .service-basis-table td {
        width: 100%;
    }
    
    .modules-grid,
    .credit-grid,
    .application-module-grid,
    .business-entry-grid,
    .topic-service-grid,
    .topic-link-grid {
        grid-template-columns: 1fr;
    }

    .application-panel,
    .business-entry-card,
    .topic-service-card {
        padding: 16px;
    }

    .monitor-entry-grid {
        grid-template-columns: 1fr;
    }
    
    .interaction-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .friend-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .footer-link-item img {
        height: 50px;
    }
}

/* 深度门户化首页 */
.portal-home {
    --portal-navy: #0b2a55;
    --portal-blue: #1557a8;
    --portal-sky: #1e88e5;
    --portal-cyan: #00bcd4;
    --portal-orange: #ff7a30;
    --portal-gold: #f6c766;
    --portal-green: #2eb67d;
    --portal-bg: #f3f7fb;
    --portal-card: #ffffff;
    --portal-border: #dde7f2;
    --portal-text: #172b4d;
    --portal-muted: #66788f;
    background: var(--portal-bg);
}

.portal-home::before,
.portal-home::after {
    display: none;
}

.portal-home .container {
    max-width: 1500px;
}

.portal-header {
    position: sticky;
    top: 0;
    z-index: 3000;
    padding: 0;
    border-radius: 0;
    background: rgba(7, 35, 76, 0.96);
    backdrop-filter: blur(14px);
}

.portal-header::before {
    border-radius: 0;
    background: linear-gradient(135deg, rgba(11, 42, 85, 0.98), rgba(21, 87, 168, 0.96));
}

.portal-status-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 20, 48, 0.62);
    font-size: 13px;
}

.portal-status-bar .container,
.portal-main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.portal-status-bar .container {
    min-height: 34px;
}

.portal-status-left,
.portal-status-right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.portal-status-left {
    flex-wrap: wrap;
}

.portal-status-left span,
.portal-status-left time {
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}

.portal-status-left strong {
    color: #ffffff;
}

.portal-status-right a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    white-space: nowrap;
}

.portal-status-right a:hover {
    color: var(--portal-gold);
}

.portal-main-nav {
    min-height: 68px;
}

.portal-brand {
    color: white;
    text-decoration: none;
}

.portal-brand .site-title {
    font-size: 17px;
}

.portal-home .header-nav {
    flex: 1;
    justify-content: center;
    gap: 4px;
}

.portal-home .nav-link {
    min-height: 42px;
    padding: 8px 9px;
    border-radius: 0;
    font-size: 14px;
    position: relative;
}

.portal-home .nav-link:hover,
.portal-home .nav-link.active {
    background: transparent;
    color: #ffffff;
}

.portal-home .nav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: transparent;
}

.portal-home .nav-link:hover::after,
.portal-home .nav-link.active::after {
    background: var(--portal-orange);
}

.portal-icon-btn {
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
}

.portal-mega .mega-menu {
    width: 260px;
    left: 0;
    transform: translateY(8px);
}

.portal-mega:hover .mega-menu,
.portal-mega.is-open .mega-menu {
    transform: translateY(0);
}

.portal-mega .mega-menu::before {
    left: 24px;
}

.portal-hero {
    min-height: calc(100vh - 102px);
    padding: 86px 0 46px;
    background:
        linear-gradient(180deg, rgba(5, 24, 56, 0.72), rgba(7, 35, 76, 0.54) 48%, rgba(243, 247, 251, 1) 100%),
        url('../images/攀枝花背景0205.webp') center/cover no-repeat;
    color: white;
}

.hero-copy {
    max-width: 960px;
    margin: 0 auto 26px;
    text-align: center;
}

.portal-home .banner-title {
    margin-bottom: 14px;
    font-size: 46px;
    line-height: 1.2;
}

.portal-home .banner-subtitle {
    max-width: 900px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.7;
    font-style: normal;
    color: rgba(255, 255, 255, 0.88);
}

.hero-search {
    width: min(920px, 100%);
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 10px;
    margin: 0 auto 28px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero-search .search-input {
    width: 100%;
    padding: 0 18px;
    border-radius: 8px;
    color: var(--portal-text);
    font-size: 16px;
}

.hero-search .search-btn {
    border-radius: 8px;
    background: linear-gradient(135deg, var(--portal-blue), #0b4f99);
    font-size: 16px;
    font-weight: 700;
}

.hero-search .search-btn:hover {
    background: linear-gradient(135deg, #0d65bd, #083e78);
}

.hero-modules {
    gap: 18px;
    margin-top: 8px;
}

.hero-modules .module-card {
    height: 210px;
    margin-top: 0;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.42);
}

.hero-modules .module-card:hover,
.hero-modules .module-card:first-child:hover {
    transform: translateY(-8px);
}

.hero-modules .module-card img {
    transition: transform 0.35s ease;
}

.hero-modules .module-card:hover img {
    transform: scale(1.05);
}

.module-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(5, 24, 56, 0.06), rgba(4, 20, 48, 0.86));
    color: white;
}

.module-card-overlay strong {
    font-size: 24px;
}

.module-card-overlay em,
.module-card-overlay small {
    font-style: normal;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.45;
}

.module-card-overlay small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
}

.module-card-overlay b {
    width: fit-content;
    margin-top: 4px;
    padding: 5px 12px;
    border-radius: 16px;
    background: rgba(255, 122, 48, 0.92);
    font-size: 13px;
}

.hero-stat-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
    padding: 14px;
    border: 1px solid rgba(0, 216, 255, 0.26);
    border-radius: 12px;
    background: rgba(7, 35, 76, 0.78);
    backdrop-filter: blur(10px);
}

.hero-stat-strip div {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-strip div:last-child {
    border-right: 0;
}

.hero-stat-strip strong {
    color: var(--portal-gold);
    font-size: 26px;
}

.hero-stat-strip em {
    color: rgba(255, 255, 255, 0.72);
    font-style: normal;
    font-size: 12px;
}

.hero-stat-strip span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.portal-section {
    padding: 58px 0;
    position: relative;
    z-index: 1;
    background: var(--portal-bg);
}

.portal-section:nth-of-type(even) {
    background: #ffffff;
}

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

.portal-section-head h2 {
    color: var(--portal-navy);
    font-size: 30px;
    line-height: 1.25;
}

.portal-section-head h2::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 24px;
    margin-right: 10px;
    border-radius: 5px;
    background: var(--portal-orange);
    vertical-align: -4px;
}

.portal-section-head p {
    max-width: 620px;
    color: var(--portal-muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: right;
}

.application-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.application-tab {
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid var(--portal-border);
    border-radius: 20px;
    background: #ffffff;
    color: var(--portal-text);
    cursor: pointer;
    font-weight: 700;
}

.application-tab.active,
.application-tab:hover {
    border-color: var(--portal-blue);
    background: var(--portal-blue);
    color: white;
}

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

.application-app-card {
    min-height: 148px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    padding: 18px;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    background: var(--portal-card);
    color: var(--portal-text);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(21, 87, 168, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.application-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(21, 87, 168, 0.16);
}

.application-app-card[hidden] {
    display: none;
}

.application-app-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(21, 87, 168, 0.1);
    color: var(--portal-blue);
    font-style: normal;
    font-weight: 800;
}

.application-app-card strong {
    font-size: 16px;
}

.application-app-card span {
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.45;
}

.application-app-card em {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(255, 122, 48, 0.12);
    color: var(--portal-orange);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.tone-cyan i { background: rgba(0, 188, 212, 0.12); color: #008da0; }
.tone-gold i { background: rgba(246, 199, 102, 0.2); color: #9a6800; }
.tone-green i { background: rgba(46, 182, 125, 0.12); color: #17734e; }
.tone-orange i { background: rgba(255, 122, 48, 0.12); color: var(--portal-orange); }

.service-layout-portal {
    grid-template-columns: 210px minmax(0, 1fr) 300px;
}

.hot-service-panel {
    padding: 20px;
    border-left: 1px solid var(--portal-border);
    background: #f8fbff;
}

.hot-service-panel h3 {
    margin-bottom: 14px;
    color: var(--portal-navy);
    font-size: 20px;
}

.hot-service-panel a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #e5edf6;
    color: var(--portal-text);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
}

.hot-service-panel a:hover {
    color: var(--portal-blue);
}

.topic-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-service-card {
    min-height: 410px;
    border: 1px solid var(--portal-border);
    overflow: hidden;
}

.topic-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.topic-card-head a {
    color: var(--portal-blue);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.topic-service-card p {
    min-height: 44px;
    margin-bottom: 14px;
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.6;
}

.topic-housing { background: linear-gradient(180deg, #ffffff, #fff7f1); }
.topic-engineering { background: linear-gradient(180deg, #ffffff, #f1fbff); }
.topic-city { background: linear-gradient(180deg, #ffffff, #fffaf0); }
.topic-village { background: linear-gradient(180deg, #ffffff, #f0fbf7); }

.info-credit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 0.9fr);
    gap: 24px;
}

.info-panel,
.credit-info {
    padding: 22px;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    background: var(--portal-card);
    box-shadow: 0 6px 20px rgba(21, 87, 168, 0.08);
}

.portal-home .credit-info {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.portal-home .credit-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.is-hidden {
    display: none !important;
}

.data-monitor-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 216, 255, 0.16), transparent 32%),
        linear-gradient(135deg, #08214a, #0b2a55 48%, #0f3c78);
}

.section-head-dark h2,
.section-head-dark p {
    color: white;
}

.data-monitor-section .data-scroll {
    padding: 4px 0 22px;
}

.data-monitor-section .data-card {
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--portal-gold);
    background: rgba(255, 255, 255, 0.96);
    text-decoration: none;
}

.monitor-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.monitor-overview-card {
    padding: 20px;
    border: 1px solid rgba(0, 216, 255, 0.26);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    box-shadow: inset 0 0 24px rgba(0, 216, 255, 0.08);
}

.monitor-overview-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.monitor-overview-card p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.monitor-overview-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.monitor-overview-card span {
    padding: 5px 9px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
}

.monitor-overview-card a {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--portal-orange);
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.portal-home .interaction {
    background: #ffffff;
}

.portal-home .interaction-left,
.portal-home .interaction-right {
    align-items: stretch;
    border: 1px solid var(--portal-border);
}

.portal-home .feedback-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-home .feedback-btn {
    min-height: 58px;
}

.portal-home .feedback-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 150px));
    justify-content: center;
    gap: 16px;
    margin: 16px 0 0;
}

.portal-home .stat-item {
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--portal-blue), #2a6cc4);
}

.portal-floating-toolbar {
    top: 50%;
    transform: translateY(-50%);
    gap: 8px;
}

.portal-floating-toolbar .floating-item {
    width: 46px;
    height: 46px;
    position: relative;
    border-radius: 23px;
    background: rgba(11, 42, 85, 0.92);
    text-decoration: none;
    transition: width 0.2s ease;
}

.portal-floating-toolbar .floating-item:hover {
    width: 132px;
}

.portal-floating-toolbar .floating-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 216, 255, 0.18);
    font-size: 15px;
    font-weight: 800;
}

.portal-floating-toolbar .floating-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s ease, max-width 0.2s ease;
}

.portal-floating-toolbar .floating-item:hover .floating-text {
    opacity: 1;
    max-width: 82px;
}

.portal-footer {
    padding: 34px 0 18px;
    border-top: 4px solid var(--portal-gold);
    background: linear-gradient(135deg, #061b3d, #0b2a55);
}

.footer-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-intro h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

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

.footer-title-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-title-brand h2 {
    margin-bottom: 0;
}

.footer-intro p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.footer-intro a {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.footer-portal-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.48fr 1fr 1.2fr;
    gap: 28px;
    padding: 24px 0;
}

.footer-portal-grid h3 {
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-portal-grid a {
    display: block;
    margin: 7px 0;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-size: 14px;
}

.footer-portal-grid a:hover {
    color: var(--portal-gold);
}

.footer-portal-grid section:nth-of-type(2) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4px;
    align-content: start;
}

.footer-portal-grid section:nth-of-type(2) h3 {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-portal-grid section:nth-of-type(2) a {
    margin: 5px 0;
    line-height: 1.35;
}

.footer-portal-grid section:nth-of-type(3) {
    padding-left: 38px;
}

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

.footer-qr-grid span {
    display: grid;
    gap: 7px;
    justify-items: center;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.footer-qr-grid i {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background:
        linear-gradient(90deg, #ffffff 8px, transparent 8px) 0 0 / 16px 16px,
        linear-gradient(#ffffff 8px, transparent 8px) 0 0 / 16px 16px,
        rgba(255, 255, 255, 0.24);
}

.portal-footer .footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
}

@media (max-width: 1280px) {
    .portal-home .header-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .application-app-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .topic-service-grid,
    .monitor-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-layout-portal,
    .info-credit-layout {
        grid-template-columns: 1fr;
    }

    .hot-service-panel {
        border-left: 0;
        border-top: 1px solid var(--portal-border);
    }
}

@media (max-width: 900px) {
    .portal-status-bar .container,
    .portal-main-nav .container,
    .portal-section-head,
    .footer-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-section-head p {
        text-align: left;
    }

    .portal-hero {
        padding-top: 54px;
    }

    .portal-home .banner-title {
        font-size: 32px;
    }

    .portal-home .banner-subtitle {
        font-size: 16px;
    }

    .hero-search {
        grid-template-columns: 1fr;
    }

    .hero-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stat-strip div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .application-app-grid,
    .topic-service-grid,
    .monitor-overview-grid,
    .portal-home .feedback-buttons,
    .portal-home .feedback-stats,
    .footer-portal-grid {
        grid-template-columns: 1fr;
    }

    .portal-floating-toolbar {
        display: none;
    }
}

/* 五区压缩版首页优化 */
.portal-header {
    position: relative;
    top: auto;
    z-index: 1000;
}

.portal-status-bar {
    font-size: 14px;
}

.portal-status-bar .container {
    min-height: 38px;
}

.portal-main-nav {
    min-height: 74px;
}

.portal-brand .site-title {
    font-size: 20px;
}

.portal-home .nav-link {
    min-height: 46px;
    padding: 9px 10px;
    font-size: 16px;
    font-weight: 700;
}

.portal-icon-btn,
.portal-home .login-btn,
.portal-home .user-name,
.portal-status-right a {
    font-size: 15px;
}

.portal-hero {
    min-height: calc(100vh - 112px);
    padding: 58px 0 34px;
}

.portal-home .banner-title {
    font-size: 42px;
}

.portal-home .banner-subtitle {
    font-size: 19px;
}

.hero-modules .module-card {
    height: 190px;
}

.hero-stat-strip {
    margin-top: 18px;
}

.portal-section {
    padding: 44px 0;
}

.application-app-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.application-app-card {
    min-height: 126px;
    padding: 15px;
}

.service-topic-section {
    background: #ffffff;
}

.service-topic-section .service-workbench {
    margin-bottom: 22px;
}

.service-layout-portal {
    grid-template-columns: 190px minmax(0, 1fr) 280px;
    min-height: 500px;
}

.service-list {
    max-height: 410px;
    gap: 10px;
}

.hot-service-panel a {
    padding: 8px 0;
}

.compact-topic-block,
.public-data-monitor {
    margin-top: 22px;
}

.compact-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.compact-subhead h3 {
    color: var(--portal-navy);
    font-size: 22px;
}

.compact-subhead h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    margin-right: 9px;
    border-radius: 4px;
    background: var(--portal-orange);
    vertical-align: -3px;
}

.compact-subhead span {
    color: var(--portal-muted);
    font-size: 14px;
    text-align: right;
}

.topic-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.topic-service-card {
    min-height: 320px;
    padding: 18px;
}

.topic-service-card p {
    min-height: 38px;
    margin-bottom: 10px;
}

.topic-link-grid {
    gap: 7px;
}

.topic-service-card a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 13px;
}

.information-data-section {
    background: var(--portal-bg);
}

.info-credit-layout {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.82fr);
}

.public-data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.public-data-grid .data-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--portal-border);
    border-left: 4px solid var(--portal-blue);
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(21, 87, 168, 0.08);
}

.public-data-grid .data-card h3 {
    margin-bottom: 8px;
}

.public-data-grid .data-number {
    font-size: 28px;
}

.public-data-grid .data-card small {
    display: block;
    margin-top: 8px;
    color: var(--portal-muted);
    font-size: 12px;
}

.information-data-section .monitor-overview-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.information-data-section .monitor-overview-card {
    padding: 16px;
    border-color: var(--portal-border);
    background: #ffffff;
    color: var(--portal-text);
    box-shadow: 0 6px 18px rgba(21, 87, 168, 0.08);
}

.information-data-section .monitor-overview-card h3 {
    font-size: 17px;
}

.information-data-section .monitor-overview-card p {
    color: var(--portal-muted);
}

.information-data-section .monitor-overview-card span {
    background: #eef5fb;
    color: var(--portal-blue);
}

.monitor-overview-card label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
}

.monitor-overview-card label em {
    color: var(--portal-orange);
    font-style: normal;
}

.quality-bar {
    display: block;
    height: 7px;
    margin: 8px 0 14px;
    overflow: hidden;
    border-radius: 8px;
    background: #e4edf7;
}

.quality-bar b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--portal-cyan), var(--portal-green));
}

.information-data-section .monitor-overview-card a {
    background: var(--portal-blue);
}

.portal-home .interaction {
    padding-bottom: 28px;
}

.portal-home .feedback-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-home .feedback-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.portal-floating-toolbar {
    right: 18px;
    z-index: 2600;
    gap: 7px;
}

.portal-floating-toolbar .floating-item {
    width: 74px;
    height: 38px;
    justify-content: flex-start;
    gap: 7px;
    padding: 0 8px;
    border: 1px solid rgba(0, 216, 255, 0.26);
    border-radius: 20px;
    background: rgba(9, 43, 90, 0.96);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(6, 27, 61, 0.2);
}

.portal-floating-toolbar .floating-item:hover,
.portal-floating-toolbar .floating-item.is-active {
    width: 112px;
    border-color: var(--portal-gold);
    background: linear-gradient(135deg, var(--portal-blue), #0b3f85);
}

.portal-floating-toolbar .floating-icon {
    width: 34px;
    height: 24px;
    flex: 0 0 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0;
}

.portal-floating-toolbar .floating-text {
    max-width: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.portal-floating-toolbar .floating-item:hover .floating-text,
.portal-floating-toolbar .floating-item.is-active .floating-text {
    max-width: 70px;
    opacity: 1;
}

.portal-footer {
    padding: 16px 0 12px;
    border-top-width: 3px;
}

.footer-intro {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding-bottom: 10px;
}

.footer-intro h2 {
    font-size: 21px;
}

.footer-intro p {
    max-width: 900px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-portal-grid {
    grid-template-columns: 0.72fr 1.52fr 0.9fr 1fr;
    gap: 22px;
    padding: 16px 0;
}

.footer-portal-grid h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.footer-portal-grid a {
    margin: 5px 0;
    font-size: 15px;
    line-height: 1.35;
}

.footer-qr-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.footer-qr-grid span {
    gap: 5px;
    padding: 7px;
    font-size: 12px;
}

.footer-qr-grid i {
    width: 42px;
    height: 42px;
    background:
        linear-gradient(90deg, #ffffff 6px, transparent 6px) 0 0 / 12px 12px,
        linear-gradient(#ffffff 6px, transparent 6px) 0 0 / 12px 12px,
        rgba(255, 255, 255, 0.24);
}

.portal-footer .footer-info {
    padding-top: 10px;
}

.portal-footer .footer-info p {
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1500px) {
    .information-data-section .monitor-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1280px) {
    .public-data-grid,
    .information-data-section .monitor-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-layout-portal,
    .info-credit-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .portal-home .nav-link {
        font-size: 15px;
    }

    .public-data-grid,
    .information-data-section .monitor-overview-grid,
    .portal-home .feedback-stats {
        grid-template-columns: 1fr;
    }

    .footer-qr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 首屏卡片与全页背景修正 */
.portal-home {
    background:
        linear-gradient(180deg, rgba(5, 24, 56, 0.76), rgba(5, 24, 56, 0.24) 35%, rgba(243, 247, 251, 0.72) 58%, rgba(243, 247, 251, 0.86) 100%),
        url('../images/攀枝花背景0205.webp') center/cover fixed no-repeat;
}

.portal-header {
    background: rgba(7, 35, 76, 0.94);
}

.portal-main-nav {
    min-height: 58px;
}

.portal-main-nav .container {
    min-height: 58px;
}

.portal-brand .logo {
    height: 34px;
}

.portal-brand .site-title {
    font-size: 19px;
}

.portal-home .nav-link {
    min-height: 36px;
    padding: 6px 9px;
    font-size: 16px;
}

.portal-icon-btn {
    min-height: 32px;
    padding: 5px 11px;
}

.portal-hero {
    background: linear-gradient(180deg, rgba(5, 24, 56, 0.66), rgba(7, 35, 76, 0.28) 58%, rgba(243, 247, 251, 0.18) 100%);
}

.hero-modules .module-card {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(8, 29, 62, 0.56);
}

.hero-modules .module-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(4, 20, 48, 0.18);
}

.hero-modules .module-card:hover img {
    transform: scale(1.015);
}

.module-card-overlay {
    display: none;
}

.portal-section,
.portal-section:nth-of-type(even),
.service-topic-section,
.information-data-section,
.portal-home .interaction {
    background: transparent;
}

.application-app-card,
.service-workbench,
.topic-service-card,
.info-panel,
.credit-info,
.public-data-grid .data-card,
.information-data-section .monitor-overview-card,
.portal-home .interaction-left,
.portal-home .interaction-right {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
}

.portal-section-head h2 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(4, 20, 48, 0.4);
}

.portal-section-head p,
.compact-subhead span {
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 5px rgba(4, 20, 48, 0.35);
}

.compact-subhead h3 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(4, 20, 48, 0.36);
}

@media (max-width: 900px) {
    .portal-main-nav,
    .portal-main-nav .container {
        min-height: 0;
    }

    .hero-modules .module-card {
        height: 170px;
    }
}

/* 去除背景渐变遮罩、模块图按原比例展示、公共数据两行 */
.portal-home {
    background: url('../images/攀枝花背景0205.webp') center/cover fixed no-repeat;
}

.portal-hero {
    background: transparent;
}

.hero-modules {
    align-items: center;
}

.hero-modules .module-card {
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-modules .module-card:hover,
.hero-modules .module-card:first-child:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.hero-modules .module-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 8px 20px rgba(4, 20, 48, 0.22);
}

.public-data-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.public-data-grid .data-card {
    min-height: 142px;
}

@media (max-width: 1280px) {
    .public-data-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-modules .module-card {
        height: auto;
    }

    .public-data-grid {
        grid-template-columns: 1fr;
    }
}

/* 当前版首页精细化：层级、首屏、卡片、数据与底部优化 */
.portal-home {
    background: url('../images/攀枝花背景0205.webp') center/cover fixed no-repeat;
    color: #12345c;
}

.portal-status-bar {
    min-height: 32px;
    font-size: 14px;
}

.portal-header {
    position: relative;
    top: auto;
}

.portal-main-nav,
.portal-main-nav .container {
    min-height: 60px;
}

.portal-brand .logo {
    height: 34px;
}

.portal-brand .site-title {
    font-size: 20px;
}

.portal-home .header-nav {
    gap: 8px;
}

.portal-home .nav-link {
    position: relative;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 17px;
    line-height: 1.2;
}

.portal-home .nav-link::after {
    left: 50%;
    right: auto;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    opacity: 0;
    transform: translateX(-50%);
    background: rgba(255, 122, 48, 0.72);
}

.portal-home .nav-link.active::after {
    opacity: 1;
    background: #ff7a30;
}

.portal-home .nav-link:hover::after {
    opacity: 1;
}

.portal-home .nav-dropdown-toggle::after {
    display: none;
}

.portal-hero {
    position: relative;
    min-height: calc(100vh - 92px);
    padding-top: 92px;
    padding-bottom: 74px;
    overflow: hidden;
    background: transparent;
}

.portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(5, 22, 52, 0.42), rgba(5, 22, 52, 0.34));
    pointer-events: none;
}

.portal-hero::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 16%;
    height: 240px;
    border-radius: 50%;
    background: rgba(3, 18, 44, 0.28);
    filter: blur(42px);
    pointer-events: none;
}

.portal-hero .container {
    position: relative;
    z-index: 1;
}

.portal-home .banner-title {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 24px rgba(20, 74, 130, 0.36);
}

.portal-home .banner-subtitle {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-search {
    margin-top: 34px;
}

.hero-modules {
    margin-top: 34px;
    align-items: start;
}

.hero-modules .module-card {
    height: auto;
    min-height: 0;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 10px;
    background: rgba(6, 28, 62, 0.22);
    box-shadow:
        0 0 16px rgba(255, 255, 255, 0.34),
        inset 0 0 18px rgba(255, 255, 255, 0.12);
}

.hero-modules .module-card:hover,
.hero-modules .module-card:first-child:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 26px rgba(255, 255, 255, 0.62),
        0 0 38px rgba(0, 216, 255, 0.25),
        inset 0 0 22px rgba(255, 255, 255, 0.18);
}

.hero-modules .module-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
    transition: transform 0.24s ease;
}

.hero-modules .module-card:hover img {
    transform: scale(1.03);
}

.hero-stat-strip {
    position: relative;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    background: rgba(6, 32, 68, 0.72);
    backdrop-filter: blur(10px);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.26),
        inset 0 0 18px rgba(255, 255, 255, 0.08);
}

.hero-stat-strip::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 255, 0.9), transparent);
    box-shadow: 0 0 16px rgba(64, 224, 255, 0.62);
}

.hero-stat-strip strong {
    color: #ffd36f;
}

.hero-stat-strip span {
    color: rgba(255, 255, 255, 0.9);
}

.app-section-panel {
    padding: 30px;
    border: 1px solid rgba(210, 224, 240, 0.96);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 42px rgba(4, 24, 56, 0.18);
    backdrop-filter: blur(8px);
}

.app-section-panel .portal-section-head h2,
.information-data-section .portal-section-head h2,
.interaction .portal-section-head h2 {
    color: #0b2f5e;
    text-shadow: none;
}

.app-section-panel .portal-section-head p,
.information-data-section .portal-section-head p,
.interaction .portal-section-head p {
    color: #526880;
    text-shadow: none;
}

.application-app-card strong {
    color: #0b2f5e;
    font-weight: 800;
}

.application-app-card span {
    color: #5d6f86;
}

.application-app-card em {
    border-radius: 999px;
    background: rgba(255, 122, 48, 0.12);
    color: #d95d1b;
}

.application-app-card.tone-cyan em,
.application-app-card.tone-blue em {
    background: rgba(0, 137, 210, 0.12);
    color: #0876b1;
}

.application-app-card.tone-green em {
    background: rgba(27, 153, 102, 0.12);
    color: #18835a;
}

.service-workbench {
    border-left: 4px solid var(--portal-blue);
}

.hot-service-panel a {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: start;
    gap: 10px;
}

.hot-service-panel a b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7a30, #f0a13a);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(255, 122, 48, 0.22);
}

.topic-card-head {
    align-items: center;
}

.topic-card-head > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20, 91, 165, 0.12), rgba(255, 122, 48, 0.16));
    color: #0f4b8d;
    font-weight: 800;
}

.topic-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topic-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0;
}

.topic-stat-row span {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(11, 72, 132, 0.08);
    color: #17446d;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.information-data-section .container {
    padding: 28px;
    border-radius: 24px;
    background: rgba(245, 249, 253, 0.86);
    box-shadow: 0 16px 44px rgba(6, 31, 65, 0.16);
    backdrop-filter: blur(8px);
}

.news-item {
    grid-template-columns: minmax(116px, auto) 1fr auto;
    gap: 12px;
}

.news-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-meta em,
.news-meta i {
    font-style: normal;
    white-space: nowrap;
}

.news-meta em {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 122, 48, 0.12);
    color: #c85418;
    font-size: 12px;
    font-weight: 800;
}

.news-meta i {
    color: #6b7d92;
    font-size: 12px;
}

.credit-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.credit-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(16, 92, 169, 0.12);
    color: #0d579d;
    font-style: normal;
    font-weight: 800;
}

.public-data-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.public-data-grid .data-card {
    position: relative;
    min-height: 154px;
}

.data-category {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(16, 92, 169, 0.09);
    color: #0d579d;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.portal-home .feedback-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-home .feedback-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.portal-home .feedback-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: rgba(255, 122, 48, 0.14);
    color: #df621d;
    font-style: normal;
    font-weight: 800;
}

.portal-home .feedback-stats {
    grid-template-columns: repeat(5, minmax(0, 150px));
    justify-content: center;
    gap: 16px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.portal-home .stat-item {
    min-height: 92px;
    border: 1px solid rgba(200, 216, 234, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(5, 30, 62, 0.1);
}

.portal-floating-toolbar {
    gap: 8px;
    padding: 8px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(6, 35, 78, 0.76);
    box-shadow: 0 14px 28px rgba(3, 20, 48, 0.24);
    backdrop-filter: blur(10px);
}

.portal-floating-toolbar .floating-item {
    grid-template-columns: 26px auto;
    gap: 8px;
    width: 104px;
    min-height: 38px;
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
}

.portal-floating-toolbar .floating-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #dff5ff;
    font-size: 13px;
}

.portal-floating-toolbar .floating-text {
    display: block;
    opacity: 1;
    max-width: none;
    font-size: 13px;
}

.portal-floating-toolbar .floating-item:hover,
.portal-floating-toolbar .floating-item.is-active {
    border-color: rgba(255, 190, 92, 0.78);
    background: rgba(255, 122, 48, 0.88);
    color: #ffffff;
}

.portal-footer {
    border-top: 2px solid rgba(238, 176, 76, 0.78);
}

.footer-qr-grid span {
    align-items: center;
}

.footer-qr-grid b {
    font-size: 12px;
    font-weight: 700;
}

.footer-qr-grid small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

.portal-footer .footer-info p {
    margin: 4px 0;
}

.portal-footer .footer-info a {
    color: inherit;
}

@media (max-width: 1280px) {
    .public-data-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-home .feedback-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .portal-hero {
        padding-top: 54px;
        min-height: auto;
    }

    .app-section-panel,
    .information-data-section .container {
        padding: 18px;
        border-radius: 18px;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .topic-stat-row,
    .public-data-grid,
    .portal-home .feedback-buttons,
    .portal-home .feedback-stats {
        grid-template-columns: 1fr;
    }

    .portal-floating-toolbar {
        display: none;
    }
}

/* 用户反馈修正：首屏不压暗、应用标题外置、专题与互动细节 */
.portal-hero::before,
.portal-hero::after {
    display: none;
    content: none;
}

.portal-home .banner-title {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.32);
}

.application-center .portal-section-head h2,
.application-center .portal-section-head p,
.portal-home .interaction .portal-section-head h2,
.portal-home .interaction .portal-section-head p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(4, 20, 48, 0.42);
}

.application-center .portal-section-head {
    margin-bottom: 18px;
}

.app-section-panel {
    padding-top: 24px;
}

#topic-service .compact-subhead h3 {
    font-size: 32px;
    line-height: 1.22;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(4, 20, 48, 0.42);
}

.topic-card-head h3 {
    font-size: 22px;
    line-height: 1.35;
}

.portal-home .stat-item {
    justify-content: center;
}

.portal-home .stat-number {
    color: #0b4f99;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.portal-home .stat-label {
    color: #526880;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.portal-home .interaction-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* 拆分信息公开与公共数据，并优化右侧悬浮工具条 */
.information-data-section .container,
.public-monitor-section .container {
    padding: 0 20px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.information-data-section .portal-section-head h2,
.information-data-section .portal-section-head p,
.public-monitor-section .portal-section-head h2,
.public-monitor-section .portal-section-head p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(4, 20, 48, 0.42);
}

.information-data-section .portal-section-head,
.public-monitor-section .portal-section-head {
    margin-bottom: 18px;
}

.info-credit-layout,
.public-data-monitor {
    padding: 24px;
    border: 1px solid rgba(214, 226, 240, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(6, 31, 65, 0.14);
    backdrop-filter: blur(8px);
}

.public-data-monitor {
    margin-top: 0;
}

.public-monitor-section .monitor-overview-card {
    background: linear-gradient(180deg, rgba(9, 50, 98, 0.94), rgba(8, 35, 76, 0.96));
}

.portal-floating-toolbar {
    right: 22px;
    width: 86px;
    gap: 0;
    padding: 12px 10px;
    border: 1px solid rgba(216, 226, 238, 0.95);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(4, 20, 48, 0.22);
    backdrop-filter: blur(8px);
}

.portal-floating-toolbar .floating-item {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 62px;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #656f7b;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.portal-floating-toolbar .floating-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 28px;
    height: 1px;
    transform: translateX(-50%);
    background: #e2e7ee;
}

.portal-floating-toolbar .floating-item:hover {
    width: 100%;
    background: #fff3ed;
    color: #1f2f45;
    transform: translateY(-1px);
}

.portal-floating-toolbar .floating-icon {
    position: relative;
    width: 26px;
    height: 26px;
    border: 2px solid #3f4650;
    border-radius: 7px;
    background: #ffffff;
    color: #f06b35;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.portal-floating-toolbar .floating-icon::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -3px;
    width: 10px;
    height: 3px;
    border-radius: 3px;
    background: #f06b35;
    transform: rotate(-35deg);
}

.portal-floating-toolbar .floating-text {
    display: block;
    max-width: none;
    opacity: 1;
    color: inherit;
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
}

.portal-floating-toolbar .floating-item.is-active {
    background: transparent;
    color: #f06b35;
}

.portal-floating-toolbar .floating-item.is-active .floating-icon {
    border-color: #f06b35;
    background: #f06b35;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(240, 107, 53, 0.26);
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon {
    border-radius: 50%;
}

/* 细节调整：首屏模块下移、公共数据横排、监测按钮右上、二维码两行 */
.hero-modules {
    margin-top: 50px;
}

.public-data-grid .data-card {
    min-height: 104px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.data-card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.data-card-head h3 {
    margin: 0;
    color: #103b70;
    font-size: 18px;
    line-height: 1.25;
    white-space: nowrap;
}

.data-card-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.public-data-grid .data-number {
    margin: 0;
    font-size: 30px;
    line-height: 1;
}

.public-data-grid .data-label {
    margin: 0;
    color: #6d7885;
    font-size: 13px;
    white-space: nowrap;
}

.public-data-grid .data-card small {
    display: none;
}

.public-monitor-section .monitor-overview-card {
    position: relative;
    padding-top: 24px;
    padding-right: 112px;
}

.public-monitor-section .monitor-overview-card a {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon {
    font-size: 0;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::before,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::before {
    color: inherit;
    font-size: 16px;
    line-height: 1;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::before {
    content: "⌂";
}

.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::before {
    content: "↑";
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::after,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::after {
    display: none;
}

.footer-qr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.footer-qr-grid span {
    min-height: 78px;
    padding: 8px 6px;
}

.footer-qr-grid i {
    width: 34px;
    height: 34px;
    background:
        linear-gradient(90deg, #ffffff 5px, transparent 5px) 0 0 / 10px 10px,
        linear-gradient(#ffffff 5px, transparent 5px) 0 0 / 10px 10px,
        rgba(255, 255, 255, 0.24);
}

.footer-qr-grid b,
.footer-qr-grid small {
    white-space: nowrap;
    line-height: 1.2;
}

@media (max-width: 1280px) {
    .data-card-head,
    .data-card-main {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .hero-modules {
        margin-top: 32px;
    }

    .data-card-head,
    .data-card-main {
        justify-content: center;
    }

    .public-monitor-section .monitor-overview-card {
        padding-right: 20px;
        padding-top: 58px;
    }

    .footer-qr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 修复悬浮栏首页/顶部图标：不用特殊字符，避免乱码 */
.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon {
    position: relative;
    font-size: 0;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::before,
.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::after,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::before,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::after {
    content: "";
    position: absolute;
    display: block;
    background: transparent;
    border-radius: 0;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::before {
    left: 50%;
    bottom: 6px;
    width: 12px;
    height: 9px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 2px;
    transform: translateX(-50%);
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::after {
    left: 50%;
    top: 5px;
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}

.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::before {
    left: 50%;
    top: 8px;
    width: 2px;
    height: 13px;
    border: 0;
    border-radius: 2px;
    background: currentColor;
    transform: translateX(-50%);
}

.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::after {
    left: 50%;
    top: 6px;
    width: 9px;
    height: 9px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}

/* 2026-06 portal visual refinements */
.app-section-panel,
.service-workbench,
.compact-topic-block,
.info-credit-layout,
.public-data-monitor {
    position: relative;
    overflow: hidden;
}

.app-section-panel::before,
.service-workbench::before,
.compact-topic-block::before,
.info-credit-layout::before,
.public-data-monitor::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 50px;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(205, 235, 255, 0.72), rgba(239, 249, 255, 0.42) 45%, rgba(255, 255, 255, 0)),
        radial-gradient(circle at 28px 12px, rgba(74, 169, 230, 0.16), transparent 32px);
    pointer-events: none;
    z-index: 0;
}

.app-section-panel > *,
.service-workbench > *,
.compact-topic-block > *,
.info-credit-layout > *,
.public-data-monitor > * {
    position: relative;
    z-index: 1;
}

.compact-topic-block {
    padding: 24px;
    border: 1px solid rgba(214, 226, 240, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(6, 31, 65, 0.14);
    backdrop-filter: blur(8px);
}

#topic-service .compact-subhead h3 {
    color: #0b2f5e;
    text-shadow: none;
}

#topic-service .compact-subhead span {
    color: #526880;
    text-shadow: none;
}

.topic-card-head h3 {
    font-size: 24px;
}

.topic-card-head a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    font-size: 14px;
    font-weight: 700;
}

.topic-icon {
    font-size: 15px;
}

.topic-service-card p {
    font-size: 15px;
}

.topic-stat-row span {
    font-size: 14px;
}

.topic-service-card a {
    min-height: 38px;
    font-size: 14px;
}

.public-monitor-section .monitor-overview-card {
    border: 1px solid rgba(191, 214, 238, 0.95);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.96));
    color: #12345c;
    box-shadow: 0 10px 24px rgba(21, 87, 168, 0.1);
}

.public-monitor-section .monitor-overview-card h3 {
    color: #0b2f5e;
}

.public-monitor-section .monitor-overview-card p {
    color: #526880;
}

.public-monitor-section .monitor-overview-card span {
    background: #eaf4fb;
    color: #245783;
}

.public-monitor-section .monitor-overview-card label {
    color: #17446d;
}

.public-monitor-section .monitor-overview-card a {
    background: linear-gradient(135deg, var(--portal-blue), #0b4f99);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(21, 87, 168, 0.24);
}

.public-monitor-section .monitor-overview-card a:hover {
    background: linear-gradient(135deg, #0d65bd, #083e78);
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::before,
.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::after,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::before,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    background: transparent;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::before {
    left: 50%;
    bottom: 6px;
    width: 12px;
    height: 9px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 2px;
    transform: translateX(-50%);
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::after {
    left: 50%;
    top: 5px;
    width: 11px;
    height: 11px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    border-radius: 1px;
    transform: translateX(-50%) rotate(45deg);
}

.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::before {
    left: 50%;
    top: 8px;
    width: 2px;
    height: 13px;
    border-radius: 2px;
    background: currentColor;
    transform: translateX(-50%);
}

.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::after {
    left: 50%;
    top: 6px;
    width: 9px;
    height: 9px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    border-radius: 1px;
    transform: translateX(-50%) rotate(45deg);
}

.portal-floating-toolbar .floating-item.is-active .floating-icon {
    border-color: #f06b35;
    background: #ffffff;
    color: #f06b35;
    box-shadow: 0 6px 14px rgba(240, 107, 53, 0.18);
}

.portal-floating-toolbar .floating-item.is-active .floating-text {
    color: #f06b35;
    font-weight: 800;
}

/* 2026-06 portal visual refinements correction */
.app-section-panel::before,
.service-workbench::before {
    height: 52px;
    background: linear-gradient(180deg, rgba(205, 235, 255, 0.76), rgba(238, 248, 255, 0.36) 72%, rgba(255, 255, 255, 0));
}

.application-tabs {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dfe7f0;
}

.compact-topic-block {
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.compact-topic-block::before,
.info-credit-layout::before,
.public-data-monitor::before {
    display: none;
}

#topic-service .compact-subhead {
    margin-bottom: 18px;
}

#topic-service .compact-subhead h3 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(4, 20, 48, 0.42);
}

#topic-service .compact-subhead span {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 5px rgba(4, 20, 48, 0.35);
}

#topic-service .topic-service-grid {
    padding: 24px;
    border: 1px solid rgba(214, 226, 240, 0.92);
    border-left: 4px solid var(--portal-blue);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(6, 31, 65, 0.14);
    backdrop-filter: blur(8px);
}

.topic-service-card {
    position: relative;
    overflow: hidden;
}

.topic-service-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 130px;
    background: linear-gradient(180deg, rgba(214, 238, 253, 0.82), rgba(242, 249, 253, 0.36) 76%, rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 0;
}

.topic-service-card > * {
    position: relative;
    z-index: 1;
}

.info-panel {
    position: relative;
    overflow: hidden;
}

.info-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 70px;
    background: linear-gradient(180deg, rgba(213, 238, 253, 0.82), rgba(244, 250, 254, 0.38) 78%, rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 0;
}

.info-panel > * {
    position: relative;
    z-index: 1;
}

.public-monitor-section .monitor-overview-card {
    overflow: hidden;
}

.public-monitor-section .monitor-overview-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 92px;
    background: linear-gradient(180deg, rgba(214, 238, 253, 0.82), rgba(244, 250, 254, 0.34) 76%, rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 0;
}

.public-monitor-section .monitor-overview-card > * {
    position: relative;
    z-index: 1;
}

.portal-floating-toolbar {
    overflow: hidden;
}

.portal-floating-toolbar .floating-item {
    overflow: hidden;
    box-sizing: border-box;
}

.portal-floating-toolbar .floating-item.is-active {
    width: 100%;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon,
.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon {
    overflow: hidden;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::before {
    bottom: 7px;
    width: 10px;
    height: 8px;
    border-width: 2px;
}

.portal-floating-toolbar .floating-item[data-tool-key="home"] .floating-icon::after {
    top: 7px;
    width: 8px;
    height: 8px;
    border-width: 2px 0 0 2px;
}

.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::before {
    top: 9px;
    height: 11px;
}

.portal-floating-toolbar .floating-item[data-tool-key="top"] .floating-icon::after {
    top: 7px;
    width: 8px;
    height: 8px;
    border-width: 2px 0 0 2px;
}

.public-monitor-section .public-data-grid .data-number {
    font-size: 24px;
    line-height: 1.05;
}

.portal-brand .logo {
    height: 42px;
}

.portal-brand .site-title {
    font-size: 24px;
}

.portal-home .banner-subtitle {
    font-size: 22px;
}

.hero-search {
    margin-top: 50px;
}

.hero-modules {
    margin-top: 62px;
}

.portal-floating-toolbar {
    background: rgba(255, 255, 255, 0.4);
}

.portal-floating-toolbar .floating-item {
    min-height: 54px;
    gap: 4px;
    padding: 5px 0;
    margin: 3px 0;
}

.portal-floating-toolbar .floating-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.portal-floating-toolbar .floating-text {
    font-size: 13px;
}

.hero-stat-strip strong {
    font-size: 22px;
}

.application-tab {
    font-size: 16px;
}

.portal-floating-toolbar {
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.portal-floating-toolbar.is-collapsed {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(18px, -50%) scale(0.96);
}

.portal-floating-toolbar .floating-collapse-btn {
    cursor: pointer;
    font-family: inherit;
    color: #f06b35;
}

.portal-floating-toolbar .floating-collapse-btn .floating-icon {
    border-color: #f06b35;
    background: #f06b35;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(240, 107, 53, 0.26);
}

.portal-floating-toolbar .floating-collapse-btn .floating-text {
    color: #f06b35;
}

.portal-floating-toolbar .floating-collapse-icon {
    font-size: 0;
}

.portal-floating-toolbar .floating-collapse-icon::before,
.portal-floating-toolbar .floating-collapse-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    display: block;
    border-radius: 2px;
    background: #ffffff;
    transform: translateX(-50%);
}

.portal-floating-toolbar .floating-collapse-icon::before {
    top: 8px;
    width: 12px;
    height: 2px;
}

.portal-floating-toolbar .floating-collapse-icon::after {
    top: 14px;
    width: 12px;
    height: 2px;
}

.floating-reveal-btn {
    position: fixed;
    right: 22px;
    top: 50%;
    z-index: 2600;
    width: 64px;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 0;
    border: 1px solid rgba(216, 226, 238, 0.95);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    color: #f06b35;
    box-shadow: 0 12px 30px rgba(4, 20, 48, 0.2);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(18px, -50%) scale(0.96);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.floating-reveal-btn[hidden] {
    display: none;
}

.floating-reveal-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%);
}

.floating-reveal-icon {
    position: relative;
    width: 24px;
    height: 24px;
    border: 2px solid #3f4650;
    border-radius: 50%;
    background: #ffffff;
    color: #f06b35;
}

.floating-reveal-icon::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

#topic-service {
    margin-top: 54px;
}

.portal-section-head p,
#topic-service .compact-subhead span {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
}

.hot-service-panel a b {
    border: 1px solid #d8e2ee;
    background: #ffffff;
    color: inherit;
    box-shadow: none;
}

#topic-service .topic-card-head h3 {
    font-size: 21px;
}

#topic-service .topic-icon,
#topic-service .topic-card-head a,
#topic-service .topic-stat-row span,
#topic-service .topic-link-grid a {
    font-size: 15px;
}

#topic-service .topic-service-card p {
    font-size: 16px;
}

.public-monitor-section .monitor-overview-grid {
    margin-top: 0;
}

.public-monitor-section .public-data-grid {
    grid-template-columns: repeat(5, minmax(0, 260px));
    justify-content: space-between;
    row-gap: 18px;
    margin-top: 32px;
}

@media (max-width: 1280px) {
    .public-monitor-section .public-data-grid {
        grid-template-columns: repeat(3, minmax(0, 260px));
    }
}

@media (max-width: 900px) {
    .public-monitor-section .public-data-grid {
        grid-template-columns: 1fr;
    }

    .footer-portal-grid {
        grid-template-columns: 1fr;
    }

    .footer-portal-grid section:nth-of-type(3) {
        padding-left: 0;
    }
}

.app-icon-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.application-app-card i svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-item-content {
    min-width: 0;
}

.service-item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
}

.service-item-actions {
    gap: 6px;
}

.service-action {
    min-width: 78px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
}

.service-name-tooltip {
    position: fixed;
    z-index: 5000;
    max-width: 360px;
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(10, 35, 72, 0.94);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(7, 24, 52, 0.22);
    font-size: 13px;
    line-height: 1.45;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.service-name-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-list .service-item {
    min-height: 88px;
    padding: 11px 12px;
}

.service-list .service-item h4 {
    margin-bottom: 6px;
    line-height: 1.35;
}

.service-list .service-item p {
    line-height: 1.35;
}

.portal-home .interaction-right .feedback-stats {
    grid-template-columns: repeat(5, 150px);
    justify-content: center;
    gap: 50px;
    margin-top: auto;
}

.portal-home .interaction-right .stat-item {
    min-height: 70px;
    border-left: 4px solid var(--portal-blue);
}

.portal-home .interaction-left {
    align-self: start;
    padding-bottom: 12px;
}

.portal-home .interaction-left .feedback-buttons {
    margin-bottom: 0;
}

.portal-home .interaction-right {
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.portal-home .interaction-right .news-tabs {
    margin-bottom: 10px;
}

.portal-home .interaction-right .news-list {
    gap: 8px;
}

.portal-home .interaction-right .news-item {
    padding-top: 8px;
    padding-bottom: 8px;
}

.portal-floating-toolbar .floating-collapse-btn {
    color: #f06b35;
}

.portal-floating-toolbar .floating-collapse-btn .floating-icon {
    border: 2px solid #f06b35;
    border-radius: 50%;
    background: #ffffff;
    color: #f06b35;
    box-shadow: none;
}

.portal-floating-toolbar .floating-collapse-btn .floating-text {
    color: #f06b35;
}

.portal-floating-toolbar .floating-collapse-icon::before,
.portal-floating-toolbar .floating-collapse-icon::after {
    background: #f06b35;
}

#topic-service .topic-card-head > div {
    align-items: center;
}

#topic-service .topic-card-head h3 {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin: 0;
    line-height: 1;
    transform: translateY(-1px);
}

#topic-service .topic-card-head a {
    align-self: center;
}

.app-section-panel,
.info-credit-layout,
.public-data-monitor {
    border-left: 4px solid var(--portal-blue);
}

.portal-hero .container {
    padding-top: 54px;
}

.hero-modules {
    margin-top: 54px;
}

.hero-stat-strip {
    margin-top: 34px;
    padding: 8px 14px;
}

.hero-stat-strip div {
    min-height: 58px;
}

.hero-stat-strip strong {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
}

.hero-stat-strip strong em {
    color: #ffd36f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.hero-stat-strip span {
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .portal-hero .container {
        padding-top: 28px;
    }

    .hero-modules {
        margin-top: 34px;
    }

    .hero-stat-strip {
        margin-top: 24px;
        padding: 8px 10px;
    }

    .hero-stat-strip div {
        min-height: 54px;
    }
}
