/* ==========================================================================
   通用样式 common.css
   政企科技风 / AI合规服务官网
   ========================================================================== */

:root {
    --primary: #175cd3;
    --primary-dark: #123b7a;
    --primary-light: #eaf1fd;
    --navy: #0b1f3a;
    --navy-2: #102a4c;
    --text-main: #1d2939;
    --text-secondary: #667085;
    --text-muted: #98a2b3;
    --border: #e4e7ec;
    --border-strong: #d0d5dd;
    --background: #f8fafc;
    --white: #ffffff;
    --success: #12b76a;
    --warning: #f79009;
    --danger: #f04438;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow: 0 6px 20px rgba(16, 24, 40, .06);
    --shadow-lg: 0 18px 48px rgba(11, 31, 58, .12);
    --container: 1280px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.3; color: var(--text-main); }
p { margin: 0; }

/* ---------- 布局 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 88px 0; }
.section--gray { background: var(--background); }
.section--navy { background: var(--navy); color: #cdd7e5; }
.section--tight { padding: 64px 0; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}
.section--navy .kicker { color: #7aa7ee; }

.section-title { font-size: 32px; letter-spacing: -.01em; }
.section-desc { margin-top: 14px; color: var(--text-secondary); font-size: 16px; }
.section--navy .section-desc { color: #b3c2d6; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(23, 92, 211, .22); }
.btn--primary:hover { background: #124db5; color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-main); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef3fb; color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--navy); }
.logo__mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -.02em;
}
.logo__text small { display: block; font-size: 11px; font-weight: 500; color: var(--text-muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
    position: relative;
    padding: 10px 14px;
    font-size: 15px;
    color: #344054;
    font-weight: 500;
    border-radius: 8px;
}
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; border-radius: 2px; background: var(--primary);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header-phone span { font-size: 11px; color: var(--text-muted); }
.header-phone strong { font-size: 15px; color: var(--navy); }

.nav-toggle {
    display: none; width: 42px; height: 42px; border: 1px solid var(--border);
    border-radius: 9px; background: #fff; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-main); border-radius: 2px; transition: .25s; }

/* ---------- Hero （首页独立设计） ---------- */
.hero {
    position: relative;
    background: radial-gradient(1200px 600px at 78% -10%, #1c3f78 0%, transparent 60%),
                linear-gradient(160deg, #0b1f3a 0%, #0e2647 55%, #0b1f3a 100%);
    color: #fff;
    overflow: hidden;
    padding: 84px 0 96px;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 72%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute; right: -160px; top: -160px; width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(23, 92, 211, .45) 0%, transparent 62%);
    filter: blur(10px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
    font-size: 13px; color: #bcd0ee; background: rgba(255, 255, 255, .05); margin-bottom: 22px;
}
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(18, 183, 106, .2); }
.hero h1 { font-size: 46px; line-height: 1.22; letter-spacing: -.02em; color: #fff; }
.hero h1 em { font-style: normal; color: #7fb0ff; }
.hero__sub { margin-top: 22px; font-size: 17px; color: #c3d0e4; max-width: 560px; }
.hero__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #a7bad6; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta i { width: 6px; height: 6px; border-radius: 50%; background: #4f8bff; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 20px; font-size: 13px; color: #8ba0bf; }

/* Hero 右侧架构图 */
.hero__panel {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 22px;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lg);
}
.hero__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero__panel-head strong { font-size: 14px; color: #e6eefb; font-weight: 600; }
.hero__panel-head span { font-size: 12px; color: #7f95b5; }
.arch { display: flex; flex-direction: column; gap: 8px; }
.arch__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arch__node {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 12px; border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    font-size: 13px; color: #d5e1f2;
}
.arch__node b { display: block; font-weight: 600; color: #fff; font-size: 13px; }
.arch__node small { color: #8ea4c4; font-size: 11px; }
.arch__node i {
    flex: none; width: 26px; height: 26px; border-radius: 7px;
    background: rgba(23, 92, 211, .35); border: 1px solid rgba(120, 165, 240, .4);
    display: flex; align-items: center; justify-content: center; font-size: 13px; color: #cfe0fb;
}
.arch__node--accent { background: linear-gradient(120deg, rgba(23, 92, 211, .4), rgba(23, 92, 211, .12)); border-color: rgba(120, 165, 240, .45); }
.arch__arrow { text-align: center; color: #4f6f9e; font-size: 12px; line-height: 1; }

/* ---------- 统计条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.stats__item { padding: 26px 24px; border-right: 1px solid var(--border); }
.stats__item:last-child { border-right: 0; }
.stats__num { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.stats__num em { font-style: normal; font-size: 16px; color: var(--primary); margin-left: 2px; }
.stats__label { margin-top: 6px; color: var(--text-secondary); font-size: 14px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .25s ease;
    position: relative;
    height: 100%;
}
.card:hover { border-color: #c6d4ea; box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon {
    width: 46px; height: 46px; border-radius: 11px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 14.5px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
    font-size: 12.5px; padding: 4px 10px; border-radius: 999px;
    background: var(--background); color: #475467; border: 1px solid var(--border);
}
.tag--primary { background: var(--primary-light); color: var(--primary-dark); border-color: #cfe0fb; }

/* ---------- 流程步骤 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow__item { position: relative; padding: 24px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.flow__no { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .08em; }
.flow__item h4 { margin: 12px 0 8px; font-size: 16px; }
.flow__item p { font-size: 14px; color: var(--text-secondary); }

/* ---------- 技术链路 ---------- */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chain__node {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-radius: 10px; background: #fff;
    border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: #344054;
}
.chain__node i { color: var(--primary); }
.section--navy .chain__node { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #d5e1f2; }
.chain__arrow { color: #98a2b3; font-size: 14px; }
.section--navy .chain__arrow { color: #4f6f9e; }

/* ---------- 案例卡 ---------- */
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .25s; height: 100%; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c6d4ea; }
.case-card__cover { height: 150px; background: linear-gradient(135deg, #12305a, #175cd3); position: relative; overflow: hidden; }
.case-card__cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0, transparent 40%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.12) 0, transparent 45%); }
.case-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.case-card__meta { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.case-card h3 { font-size: 17px; margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--text-secondary); flex: 1; }

/* ---------- 文章列表 ---------- */
.article-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.article-item { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--border); }
.article-item:last-child { border-bottom: 0; }
.article-item:hover { background: #fafcff; }
.article-item__date { flex: none; width: 84px; color: var(--text-muted); font-size: 13px; }
.article-item__main { flex: 1; min-width: 0; }
.article-item__main h3 { font-size: 16px; margin-bottom: 6px; }
.article-item__main p { font-size: 14px; color: var(--text-secondary); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article-item__more { flex: none; color: var(--primary); font-size: 14px; }

/* ---------- 富文本正文 ---------- */
.rich-text { font-size: 16px; color: #344054; line-height: 1.9; word-break: break-word; }
.rich-text h1, .rich-text h2 { font-size: 24px; margin: 36px 0 16px; }
.rich-text h3 { font-size: 20px; margin: 30px 0 14px; }
.rich-text h4 { font-size: 17px; margin: 24px 0 12px; }
.rich-text p { margin: 0 0 18px; }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 24px; }
.rich-text ul li { list-style: disc; margin: 6px 0; }
.rich-text ol li { list-style: decimal; margin: 6px 0; }
.rich-text img { border-radius: 10px; margin: 18px 0; }
.rich-text blockquote { margin: 20px 0; padding: 14px 20px; background: var(--background); border-left: 3px solid var(--primary); color: #475467; border-radius: 0 8px 8px 0; }
.rich-text pre { background: #0b1f3a; color: #d5e1f2; padding: 18px 20px; border-radius: 10px; overflow: auto; font-size: 14px; }
.rich-text code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.rich-text th, .rich-text td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.rich-text th { background: var(--background); }
.rich-text a { color: var(--primary); text-decoration: underline; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0; border-bottom: 1px solid var(--border); background: var(--background); font-size: 14px; color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; color: var(--text-muted); }

/* ---------- 页头（内页） ---------- */
.page-hero { background: linear-gradient(150deg, #0b1f3a, #12335e); color: #fff; padding: 66px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(23,92,211,.5), transparent 65%); pointer-events: none; }
.page-hero .kicker { color: #7fb0ff; }
.page-hero h1 { font-size: 36px; color: #fff; }
.page-hero p { margin-top: 16px; color: #c3d0e4; max-width: 780px; font-size: 16px; }
.page-hero .hero__actions { margin-top: 26px; }

/* ---------- FAQ 折叠 ---------- */
.faq { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq__q:hover { color: var(--primary); }
.faq__q i { transition: transform .25s; color: var(--text-muted); flex: none; }
.faq__item.open .faq__q i { transform: rotate(180deg); color: var(--primary); }
.faq__a { display: none; padding: 0 24px 22px; color: var(--text-secondary); font-size: 14.5px; }
.faq__item.open .faq__a { display: block; }

/* ---------- 表格 ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--background); font-weight: 600; color: #475467; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table--striped tbody tr:nth-child(even) { background: #fbfcfe; }
.rate-bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; width: 120px; display: inline-block; vertical-align: middle; }
.rate-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #4f8bff); }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.form-grid--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: #344054; }
.field label em { color: var(--danger); font-style: normal; margin-left: 2px; }
.field .hint { font-size: 12.5px; color: var(--text-muted); }
.input, .select, .textarea {
    width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm); font-size: 15px; color: var(--text-main);
    background: #fff; transition: .2s; font-family: inherit; outline: none;
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(23, 92, 211, .12); }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chk { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--border-strong); border-radius: 999px; cursor: pointer; font-size: 14px; user-select: none; }
.chk input { accent-color: var(--primary); }
.chk.checked { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }

/* ---------- 咨询组件 ---------- */
.consult-section { background: linear-gradient(160deg, #0b1f3a, #12335e); color: #fff; }
.consult-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.consult-panel__intro h2 { color: #fff; font-size: 30px; }
.consult-panel__intro p { margin-top: 16px; color: #b9c8dd; }
.consult-points { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.consult-points li { display: flex; gap: 12px; align-items: flex-start; color: #cfdcee; font-size: 14.5px; }
.consult-points i { color: #4f8bff; margin-top: 3px; }
.consult-form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); color: var(--text-main); }
.consult-form h3 { font-size: 19px; margin-bottom: 6px; }
.consult-form .form-sub { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 22px; }
.consult-form .field label { color: #344054; }

/* 悬浮侧边咨询 */
.float-consult { position: fixed; right: 22px; bottom: 26px; z-index: 800; display: flex; flex-direction: column; gap: 10px; }
.float-consult a, .float-consult button {
    width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--border);
    background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center;
    font-size: 20px; box-shadow: var(--shadow); cursor: pointer; transition: .2s;
}
.float-consult .primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.float-consult a:hover, .float-consult button:hover { transform: translateY(-2px); }

/* ---------- 弹窗 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(11, 31, 58, .5); backdrop-filter: blur(3px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: var(--radius); width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal__head h3 { font-size: 17px; }
.modal__close { border: 0; background: none; font-size: 22px; color: var(--text-muted); cursor: pointer; line-height: 1; }
.modal__body { padding: 24px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #081627; color: #93a4bd; padding: 62px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .logo { color: #fff; }
.site-footer .logo__text small { color: #7b8ea9; }
.footer-about { margin-top: 18px; color: #8fa2bc; line-height: 1.8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; color: #93a4bd; padding: 5px 0; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { margin-bottom: 10px; color: #93a4bd; }
.footer-contact strong { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; flex-wrap: wrap; color: #7b8ea9; font-size: 13px; }
.footer-bottom a { color: #93a4bd; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 分页（覆盖 Layui 默认观感） ---------- */
.pagination, ul.pagination { display: flex; gap: 6px; justify-content: center; margin: 40px 0 0; flex-wrap: wrap; }
.pagination li { display: inline-block; }
.pagination li a, .pagination li span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
    padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; color: #475467; background: #fff; font-size: 14px;
}
.pagination li.active span, .pagination li span.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination li a:hover { border-color: var(--primary); color: var(--primary); }
.pagination li.disabled span { color: var(--text-muted); }

/* ---------- 通用辅助 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-secondary); }
.badge-soft { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.badge-soft--blue { background: var(--primary-light); color: var(--primary-dark); }
.badge-soft--green { background: #e7f8f0; color: #087443; }
.badge-soft--gray { background: #f2f4f7; color: #475467; }
.badge-soft--orange { background: #fff4e5; color: #b54708; }
.badge-soft--red { background: #fee4e2; color: #b42318; }

/* 场景卡（服务对象） */
.org-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.org-item { display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 14px; color: #344054; transition: .2s; }
.org-item:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ---------- 轻量 Toast ---------- */
.sw-toast {
    position: fixed; left: 50%; top: 88px; transform: translate(-50%, -12px);
    z-index: 2000; padding: 12px 22px; border-radius: 10px; font-size: 14.5px;
    background: #1d2939; color: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; transition: all .3s ease; pointer-events: none; max-width: 84vw; text-align: center;
}
.sw-toast.show { opacity: 1; transform: translate(-50%, 0); }
.sw-toast--success { background: #087443; }
.sw-toast--error { background: #b42318; }

/* 交付物列表 */
.deliver-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.deliver-item { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; color: #344054; }
.deliver-item i { color: var(--success); margin-top: 3px; flex: none; }

/* ---------- 导航栏适配（2026-09-14：菜单增多后防止挤压换行） ---------- */
.nav { flex-wrap: nowrap; min-width: 0; }
.nav a { white-space: nowrap; padding: 10px 11px; font-size: 14.5px; }
.header-actions { flex-shrink: 0; }
.header-link {
    font-size: 14px; color: #344054; text-decoration: none; white-space: nowrap;
    padding: 6px 4px; border-radius: 6px;
}
.header-link:hover { color: var(--primary); }
.header-user {
    display: inline-block; vertical-align: middle; max-width: 110px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--primary); font-weight: 600;
}
@media (max-width: 1500px) { .header-phone { display: none; } }
@media (max-width: 1320px) { .nav a { padding: 10px 9px; font-size: 14px; } }
@media (max-width: 1180px) { .nav a { padding: 9px 7px; font-size: 13.5px; } }

/* 品牌名不折行（2026-09-14） */
.logo { flex-shrink: 0; }
.logo__text small { white-space: nowrap; }
