/* =====================================================
   Offer 对比计算器 — 专属样式
   依赖宿主 style.css 中定义的 CSS 变量
   ===================================================== */

:root {
    --salary-card-bg: #ffffff;
    --salary-border: #E2E8F0;
    --salary-text: #1E293B;
    --salary-text-muted: #64748B;
    --salary-success: #10B981;
    --salary-danger: #EF4444;
    --salary-warning: #F59E0B;
    --salary-radius: 12px;
    --salary-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ── 页面容器 ── */
.salary-page { background: var(--bg, #F8FAFC); min-height: 100vh; }

.salary-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ── Topbar ── */
.tool-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--salary-border);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tool-topbar-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.tool-topbar-link {
    color: var(--primary, #2563EB);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.tool-topbar-link:hover { color: var(--primary-dark, #1D4ED8); }

.tool-topbar-text { color: var(--salary-text-muted); font-size: 13px; }

.tool-topbar-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 12px;
    font-weight: 600;
}

/* ── 页面标题（卡片式） ── */
.salary-page-header {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 26px 24px;
    border: 1px solid var(--salary-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    text-align: center;
}
.salary-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary, #2563EB);
    line-height: 1.3;
}
.salary-page-header p {
    max-width: 760px;
    color: var(--salary-text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

/* ── 隐私横幅 ── */
.privacy-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--salary-radius);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--primary, #2563EB);
    font-size: 13px;
    margin-bottom: 20px;
}
.privacy-banner svg { flex-shrink: 0; }

/* ── 模式切换 ── */
.mode-segmented {
    display: inline-flex;
    padding: 4px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--salary-border);
    margin-bottom: 24px;
}

.mode-seg-btn {
    padding: 7px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: var(--salary-text-muted);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    min-height: 36px;
}
.mode-seg-btn--active {
    background: #fff;
    color: var(--salary-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* ─────────────────────────────────────────────────
   主布局
──────────────────────────────────────────────── */
.salary-layout {
    display: grid;
    align-items: start;
    gap: 24px;
}

.salary-layout--single {
    grid-template-columns: 380px 1fr;
}

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

@media (max-width: 768px) {
    .salary-layout--single {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────────
   多Offer横向并列容器
──────────────────────────────────────────────── */
.offer-card-list--horizontal {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--salary-border) transparent;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
}

.offer-card-list--horizontal::-webkit-scrollbar { height: 6px; }
.offer-card-list--horizontal::-webkit-scrollbar-track { background: transparent; }
.offer-card-list--horizontal::-webkit-scrollbar-thumb {
    background: var(--salary-border);
    border-radius: 3px;
}

/* 横向模式下每个offer外层列包装 */
.offer-card-list--horizontal .offer-col {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 340px;
    min-width: 280px;
    position: relative;
}

/* 拖拽调宽把手 */
.offer-col-resize-handle {
    position: absolute;
    right: -8px;
    top: 0;
    bottom: 0;
    width: 16px;
    cursor: col-resize;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-col-resize-handle::after {
    content: '';
    width: 4px;
    height: 40px;
    background: var(--salary-border);
    border-radius: 2px;
    transition: background 0.2s;
}

.offer-col-resize-handle:hover::after {
    background: var(--primary, #2563EB);
}

/* 横向模式下offer-card占满整列宽 */
.offer-card-list--horizontal .offer-card {
    width: 100%;
    margin-bottom: 0;
    flex: 1;
}

/* ── Offer 卡片 ── */
.offer-card {
    background: var(--salary-card-bg);
    border: 1px solid var(--salary-border);
    border-radius: var(--salary-radius);
    box-shadow: var(--salary-shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.offer-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    background: var(--salary-card-bg);
    border-bottom: 1px solid var(--salary-border);
    transition: background 0.2s;
}
.offer-card-header:hover { background: rgba(248, 250, 252, 0.9); }

.offer-card-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.offer-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--primary, #2563EB);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.offer-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--salary-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.offer-card-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.offer-card-arrow {
    color: var(--salary-text-muted);
    font-size: 16px;
    transition: transform 0.2s;
    line-height: 1;
}
.offer-card.is-collapsed .offer-card-arrow { transform: rotate(-90deg); }

.offer-card-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--salary-text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.offer-card-del:hover { background: rgba(239, 68, 68, 0.1); color: var(--salary-danger); }

.offer-card-body {
    padding: 16px;
    overflow: hidden;
    max-height: 3000px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.offer-card.is-collapsed .offer-card-body { max-height: 0; padding-top: 0; padding-bottom: 0; }

/* 表单行 */
.form-row { margin-bottom: 14px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--salary-text);
    margin-bottom: 5px;
}
.form-row input,
.form-row select {
    width: 100%;
    border: 1px solid var(--salary-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--salary-text);
    background: #fff;
    font-variant-numeric: tabular-nums;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-row input:focus,
.form-row select:focus {
    border-color: var(--primary, #2563EB);
    outline: 2px solid rgba(37, 99, 235, 0.15);
}
.form-row input.has-error { border-color: var(--salary-danger); }

.form-error { display: block; font-size: 12px; color: var(--salary-danger); margin-top: 4px; }
.form-help { font-size: 12px; color: var(--salary-text-muted); margin-top: 4px; line-height: 1.5; }

/* 分组标题 */
.offer-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--salary-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 16px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--salary-border);
}
.offer-section-title:first-child { margin-top: 0; }

/* ── 新增 Offer 按钮 ── */
.offer-add-btn {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--salary-border);
    border-radius: var(--salary-radius);
    background: transparent;
    color: var(--primary, #2563EB);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    min-height: 44px;
    margin-bottom: 16px;
}
.offer-add-btn:hover {
    border-color: var(--primary, #2563EB);
    background: rgba(37, 99, 235, 0.04);
}

/* ── 规则配置卡片 ── */
.rule-card {
    background: var(--salary-card-bg);
    border: 1px solid var(--salary-border);
    border-radius: var(--salary-radius);
    box-shadow: var(--salary-shadow);
    margin-bottom: 16px;
    overflow: hidden;
}
.rule-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: var(--salary-card-bg);
    cursor: pointer;
    font-size: 14px;
    color: var(--salary-text);
    transition: background 0.2s;
}
.rule-card-header:hover { background: rgba(248, 250, 252, 0.9); }
.rule-card-title { font-weight: 600; }
.rule-card-arrow {
    color: var(--salary-text-muted);
    font-size: 18px;
    transition: transform 0.25s;
    line-height: 1;
}
.rule-card.is-open .rule-card-arrow { transform: rotate(90deg); }
.rule-card-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.rule-card.is-open .rule-card-body { max-height: 800px; }
.rule-grid { padding: 0 16px 16px; display: grid; gap: 12px; }

/* ── 重置按钮 ── */
.reset-btn {
    width: 100%;
    padding: 9px;
    border: 1px solid var(--salary-border);
    border-radius: 8px;
    background: transparent;
    color: var(--salary-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    min-height: 44px;
}
.reset-btn:hover { border-color: var(--salary-danger); color: var(--salary-danger); }

/* ─────────────────────────────────────────────────
   计算/对比按钮
──────────────────────────────────────────────── */
.result-pending-wrap { margin-bottom: 16px; }

.result-pending-tip {
    font-size: 13px;
    color: var(--salary-warning);
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 10px;
}

.calc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 10px;
    border: none;
    background: var(--primary, #2563EB);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    min-height: 44px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.calc-btn:hover { background: #1D4ED8; box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35); }
.calc-btn:active { transform: scale(0.98); }

.calc-btn--stale {
    animation: pulse-border 1.8s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25); }
    50%       { box-shadow: 0 2px 20px rgba(37, 99, 235, 0.6); }
}

.result-error-card {
    padding: 16px 20px;
    border-radius: var(--salary-radius);
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--salary-danger);
    font-size: 14px;
}

/* ── 结果汇总卡片 ── */
.result-summary-card {
    background: var(--salary-card-bg);
    border: 1px solid var(--salary-border);
    border-radius: var(--salary-radius);
    box-shadow: var(--salary-shadow);
    padding: 20px 24px;
}
.result-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.result-summary-title { font-size: 16px; font-weight: 600; color: var(--salary-text); }
.result-error-tip { font-size: 13px; color: var(--salary-danger); }
.result-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--salary-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.result-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.result-metric {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--salary-border);
    background: rgba(248, 250, 252, 0.6);
}
.result-metric-label { font-size: 12px; color: var(--salary-text-muted); margin-bottom: 4px; line-height: 1.4; }
.result-big-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--salary-text);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}
.result-big-number--primary { color: var(--primary, #2563EB); }
.result-big-number--success { color: var(--salary-success); }
.result-divider { border: none; border-top: 1px solid var(--salary-border); margin: 16px 0; }

/* ── 多 Offer 对比 ── */
.compare-section {
    background: var(--salary-card-bg);
    border: 1px solid var(--salary-border);
    border-radius: var(--salary-radius);
    box-shadow: var(--salary-shadow);
    padding: 20px 24px;
}
.compare-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.compare-section-title { font-size: 15px; font-weight: 600; color: var(--salary-text); }
.compare-basis-tip { font-size: 12px; color: var(--salary-text-muted); }

/* ── 表格通用 ── */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table,
.monthly-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.compare-table th,
.monthly-detail-table th {
    background: rgba(248, 250, 252, 0.9);
    font-weight: 600;
    font-size: 12px;
    color: var(--salary-text-muted);
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid var(--salary-border);
    white-space: nowrap;
}

.compare-table td,
.monthly-detail-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--salary-border);
    color: var(--salary-text);
    vertical-align: middle;
}

.compare-table tr:hover td,
.monthly-detail-table tr:hover td {
    background: rgba(248, 250, 252, 0.8);
}

.num-col { text-align: right !important; }

.best-value { background: rgba(16, 185, 129, 0.08); }
.diff-positive { color: var(--salary-success); }
.diff-negative { color: var(--salary-danger); }
.diff-zero { color: var(--salary-text-muted); }

.table-empty {
    text-align: center;
    color: var(--salary-text-muted);
    padding: 24px;
    font-size: 13px;
}

/* ── 月度明细区 ── */
.monthly-section {
    margin-top: 24px;
    background: var(--salary-card-bg);
    border: 1px solid var(--salary-border);
    border-radius: var(--salary-radius);
    box-shadow: var(--salary-shadow);
    padding: 20px 24px;
}
.monthly-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.monthly-section-title { font-size: 15px; font-weight: 600; color: var(--salary-text); }
.monthly-offer-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.monthly-offer-tab {
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid var(--salary-border);
    background: transparent;
    color: var(--salary-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    min-height: 32px;
}
.monthly-offer-tab.is-active {
    background: var(--primary, #2563EB);
    border-color: var(--primary, #2563EB);
    color: #fff;
}

/* 备注 badge */
.note-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
    white-space: nowrap;
}
.note-badge--probation { background: rgba(37, 99, 235, 0.1); color: #1D4ED8; }
.note-badge--firstmonth { background: rgba(245, 158, 11, 0.12); color: #D97706; }

/* ── 月度明细分段标题行 ── */
.monthly-section-header-row td {
    background: rgba(37, 99, 235, 0.06);
    color: #2563EB;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
    letter-spacing: 0.03em;
    border-top: 2px solid rgba(37, 99, 235, 0.2);
}

/* ── 月度明细合计行 ── */
.monthly-total-row td {
    background: rgba(37, 99, 235, 0.04);
    font-weight: 700;
    font-size: 13px;
    border-top: 1px solid rgba(37, 99, 235, 0.25);
    border-bottom: 2px solid rgba(37, 99, 235, 0.15);
    color: #1E40AF;
}

/* ── 月份列不换行 ── */
.month-cell {
    white-space: nowrap;
    font-size: 13px;
}

/* ─────────────────────────────────────────────────
   其他奖金模块
──────────────────────────────────────────────── */

/* 奖金列表 */
.extra-bonus-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}

/* 单个奖金项 */
.bonus-item {
    border: 1px solid var(--salary-border);
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.5);
    overflow: hidden;
}

/* 奖金项头部 */
.bonus-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--salary-border);
    background: rgba(248, 250, 252, 0.8);
}

.bonus-name-input {
    flex: 1;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--salary-text);
    background: transparent;
    transition: border-color 0.2s, background 0.2s;
    width: auto !important;
}
.bonus-name-input:focus {
    border-color: var(--primary, #2563EB);
    background: #fff;
    outline: 2px solid rgba(37, 99, 235, 0.15);
}

.bonus-del-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--salary-text-muted);
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.bonus-del-btn:hover { background: rgba(239, 68, 68, 0.1); color: var(--salary-danger); }

/* 奖金项内容区 */
.bonus-item-body { padding: 12px; }

/* 两列布局 */
.bonus-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* 月份模式切换 tabs */
.bonus-month-mode-tabs {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.bonus-month-mode-btn {
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid var(--salary-border);
    background: transparent;
    color: var(--salary-text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bonus-month-mode-btn.is-active {
    background: var(--primary, #2563EB);
    border-color: var(--primary, #2563EB);
    color: #fff;
}

/* 均匀分配预览文字 */
.bonus-even-preview {
    font-size: 13px;
    color: var(--salary-text-muted);
    padding: 6px 10px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid var(--salary-border);
    border-radius: 6px;
    line-height: 1.5;
}

/* 自定义月份复选框区域 */
.bonus-custom-months {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--salary-border);
    border-radius: 6px;
    background: #fff;
}

.month-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--salary-text);
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid var(--salary-border);
    background: transparent;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
}
.month-checkbox-label:hover { background: rgba(37, 99, 235, 0.06); border-color: var(--primary, #2563EB); }
.month-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary, #2563EB);
}

/* 添加奖金按钮 */
.bonus-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1px dashed var(--salary-border);
    border-radius: 8px;
    background: transparent;
    color: var(--primary, #2563EB);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-height: 34px;
    margin-top: 4px;
}
.bonus-add-btn:hover {
    border-color: var(--primary, #2563EB);
    background: rgba(37, 99, 235, 0.04);
}

/* 隐藏工具类 */
.hidden { display: none !important; }

/* ── 重要提醒 ── */
.page-alert {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 55%, #ffffff 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
}

.page-alert-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.page-alert-title {
    margin-top: 12px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #9a3412;
}

.page-alert-text {
    margin-top: 10px;
    color: #7c2d12;
    font-size: 0.95rem;
    line-height: 1.75;
}

.page-alert-tip {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    color: #b45309;
    font-size: 0.88rem;
    font-weight: 700;
}

/* ── 免责声明 ── */
.disclaimer-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--salary-border);
    font-size: 13px;
    color: var(--salary-text-muted);
    line-height: 1.8;
}

/* ── 无障碍 ── */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ── 响应式 ── */
@media (max-width: 768px) {
    .salary-wrap { padding: 0 14px 40px; }
    .result-summary-card,
    .compare-section,
    .monthly-section { padding: 16px; }
    .result-metrics-grid { grid-template-columns: 1fr; }
    .result-big-number { font-size: 18px; }
    .salary-page-header h1 { font-size: 1.5rem; }
    .bonus-row-2col { grid-template-columns: 1fr; }
    .offer-card-list--horizontal .offer-col { width: 290px; min-width: 260px; }
}

@media (max-width: 480px) {
    .salary-wrap { padding: 0 12px 32px; }
    .result-big-number { font-size: 16px; }
}
