﻿/* 在线支付公共弹窗（Content/js/pay/elane.pay.js）
   视觉按原型「卫星落地页-个人版在线支付-v2」「IHS-船舶档案在线购买-v5」的支付弹窗，类名统一 xpay- 前缀，不影响站内其他样式 */
.xpay-mask { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 19891000; display: flex; align-items: center; justify-content: center; background: rgba(10, 26, 49, .45); font-family: "微软雅黑", "Microsoft YaHei", -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
.xpay-md { position: relative; width: 720px; max-width: calc(100% - 32px); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 12px; box-shadow: 0 24px 64px rgba(10, 26, 49, .24); color: rgba(0, 0, 0, .85); font-size: 14px; line-height: 1.5; text-align: left; }
.xpay-md * { box-sizing: border-box; }
.xpay-md a { text-decoration: none; }
.xpay-md p { margin: 0; }

/* 头部 */
.xpay-h { flex: none; position: relative; padding: 16px 56px 12px 24px; border-bottom: 1px solid #EEF1F6; }
.xpay-h h4 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: .5px; color: rgba(0, 0, 0, .85); }
.xpay-h .xpay-detail { margin-left: 12px; font-size: 13px; font-weight: 400; color: #2770D4; }
.xpay-h .xpay-sub { margin-top: 4px; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, .45); }
.xpay-x { position: absolute; top: 12px; right: 16px; width: 32px; height: 32px; border-radius: 8px; font-size: 20px; line-height: 32px; text-align: center; color: rgba(0, 0, 0, .35) !important; cursor: pointer; }
.xpay-x:hover { background: #F5F7FA; color: rgba(0, 0, 0, .65) !important; }

/* 主体：左「权益」/ 右「开通与支付」 */
.xpay-b { flex: 1; min-height: 0; display: flex; padding: 16px 24px 16px; overflow: auto; }
.xpay-col { display: flex; flex-direction: column; min-width: 0; }
/* 栏内各块不随弹窗高度收缩：否则带 overflow:hidden 的支付卡片（.xpay-payp）会被压扁、订单摘要被裁掉，
   内容超高时改由 .xpay-b 出滚动条（待支付提示、等待支付说明等额外信息出现时最明显） */
.xpay-col > * { flex-shrink: 0; }
.xpay-col-l { flex: 0 0 280px; margin-right: 20px; }
.xpay-col-r { flex: 1 1 auto; }

/* 左栏 · 权益 */
.xpay-perks { background: linear-gradient(180deg, #F7FAFF 0%, #EEF5FF 100%); border: 1px solid #DCE9FB; border-radius: 10px; padding: 14px; }
.xpay-perks-t { margin-bottom: 8px !important; font-size: 14px; font-weight: 700; line-height: 22px; color: #2770D4; }
.xpay-pk { display: flex; font-size: 13px; line-height: 22px; color: rgba(0, 0, 0, .55); }
.xpay-pk + .xpay-pk { margin-top: 6px; }
.xpay-pk .xpay-ico { flex: none; width: 16px; height: 16px; margin: 3px 8px 0 0; border-radius: 50%; background: #fff; color: #2770D4; font-size: 11px; line-height: 16px; text-align: center; font-weight: 700; }
.xpay-pk b { color: rgba(0, 0, 0, .85); font-weight: 500; }
.xpay-perks-note { margin-top: 12px !important; padding-top: 10px; border-top: 1px dashed #DCE9FB; font-size: 12px; line-height: 20px; color: rgba(0, 0, 0, .55); }
.xpay-src { margin-top: 12px !important; font-size: 12px; line-height: 20px; color: rgba(0, 0, 0, .35); }

/* 右栏 · 待支付订单提示 */
.xpay-notice { margin-bottom: 12px; padding: 8px 12px; border-radius: 8px; background: #FFF7E6; font-size: 12px; line-height: 20px; color: #AD6800; }
.xpay-notice a { margin-left: 6px; color: #2770D4; cursor: pointer; }

/* 右栏 · 购买条件（选项卡片） */
.xpay-lb { margin: 0 0 8px !important; font-size: 12px; font-weight: 500; color: rgba(0, 0, 0, .45); }
.xpay-opts { margin-bottom: 12px; }
.xpay-chips { display: flex; margin: 0 -4px; }
.xpay-chip { flex: 1 1 0; margin: 0 4px; padding: 6px 8px; border: 1px solid #E4E9F0; border-radius: 8px; text-align: center; cursor: pointer; background: #fff; user-select: none; }
.xpay-chip:hover { border-color: #9FBEE8; }
.xpay-chip .xpay-n { display: block; font-size: 13px; font-weight: 500; line-height: 20px; color: rgba(0, 0, 0, .65); }
.xpay-chip .xpay-p { display: block; margin-top: 2px; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, .35); }
/* 轨迹导出的自定义时段（06 文档第三节） */
.xpay-trk-range { display: flex; align-items: center; margin-top: 10px; }
.xpay-trk-range > b { margin: 0 8px; font-weight: 400; font-size: 12px; color: rgba(0, 0, 0, .45); }
.xpay-trk-dt { flex: 1 1 0; width: 100%; height: 32px; padding: 0 8px; border: 1px solid #E4E9F0; border-radius: 8px; font-size: 13px; color: rgba(0, 0, 0, .65); background: #fff; cursor: pointer; }
.xpay-chip.xpay-on { border-color: #2770D4; background: #F4F8FF; box-shadow: inset 0 0 0 1px #2770D4; }
.xpay-chip.xpay-on .xpay-n { color: #2770D4; font-weight: 700; }
.xpay-chip.xpay-on .xpay-p { color: #2770D4; }
.xpay-locked .xpay-chip { cursor: not-allowed; opacity: .6; }
.xpay-locked .xpay-chip:hover { border-color: #E4E9F0; }
.xpay-locked .xpay-chip.xpay-on:hover { border-color: #2770D4; }
.xpay-loading { font-size: 12px; color: rgba(0, 0, 0, .35); }

/* 右栏 · 支付面板 */
.xpay-payp { border: 1px solid #EEF1F6; border-radius: 10px; background: #fff; overflow: hidden; }
.xpay-pp { padding: 12px 14px; }
.xpay-pp + .xpay-pp { border-top: 1px solid #F4F6FA; }
.xpay-chg { display: flex; margin: 0 -5px; }
.xpay-pm { flex: 1 1 0; height: 38px; margin: 0 5px; border: 1px solid #E4E9F0; border-radius: 8px; background: #fff; font-size: 13px; color: rgba(0, 0, 0, .65) !important; display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; }
.xpay-pm:hover { border-color: #9FBEE8; }
.xpay-pm .xpay-logo { width: 20px; height: 20px; margin-right: 8px; flex: none; border: 0; vertical-align: middle; }
.xpay-pm.xpay-on { border-color: #2770D4; background: #F4F8FF; box-shadow: inset 0 0 0 1px #2770D4; color: #2770D4 !important; font-weight: 500; }
.xpay-orow { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; line-height: 24px; }
.xpay-orow > span:first-child { flex: none; margin-right: 16px; color: rgba(0, 0, 0, .45); }
.xpay-orow b { font-weight: 400; color: rgba(0, 0, 0, .85); text-align: right; word-break: break-all; }
.xpay-otot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #F4F6FA; }
.xpay-otot > span { font-size: 13px; color: rgba(0, 0, 0, .45); }
.xpay-otot .xpay-v { font-size: 24px; line-height: 30px; font-weight: 700; color: #2770D4; font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.xpay-otot .xpay-v i { font-style: normal; font-size: 15px; font-weight: 500; margin-right: 2px; }
.xpay-otot .xpay-v.xpay-v-pending { font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, .35); }

/* 右栏 · 等待条 */
.xpay-wait { display: none; margin-top: 12px; background: #F4F8FF; border: 1px solid #DCE9FB; border-radius: 8px; padding: 10px 12px; }
.xpay-stage-wait .xpay-wait { display: block; }
.xpay-wait .xpay-wt { font-size: 13px; font-weight: 500; line-height: 20px; color: rgba(0, 0, 0, .85); }
.xpay-wait .xpay-wd { margin-top: 4px !important; font-size: 12px; line-height: 20px; color: rgba(0, 0, 0, .45); }
.xpay-wait b { color: #2770D4; }

/* 右栏 · 说明 / 协议（贴底） */
.xpay-meta { margin-top: auto; padding-top: 12px; }
.xpay-tip { font-size: 12px; line-height: 20px; color: rgba(0, 0, 0, .45); }
.xpay-agree { display: flex; align-items: center; margin-top: 8px; font-size: 12px; color: rgba(0, 0, 0, .55); cursor: pointer; user-select: none; }
.xpay-agree .xpay-box { flex: none; width: 16px; height: 16px; margin-right: 8px; border: 1px solid #C9D3DF; border-radius: 4px; background: #fff; color: #fff; font-size: 11px; line-height: 14px; text-align: center; }
.xpay-agree.xpay-on .xpay-box { background: #2770D4; border-color: #2770D4; }
.xpay-agree a { color: #2770D4; }
.xpay-err { min-height: 20px; margin-top: 4px !important; font-size: 12px; line-height: 20px; color: #E6352B; }

/* 底部操作区 */
.xpay-f { flex: none; display: flex; align-items: center; justify-content: flex-end; padding: 12px 24px; border-top: 1px solid #EEF1F6; background: #fff; }
.xpay-f > * + * { margin-left: 20px; }
.xpay-cancel { font-size: 14px; color: rgba(0, 0, 0, .5) !important; cursor: pointer; }
.xpay-cancel:hover { color: rgba(0, 0, 0, .85) !important; }
.xpay-ok { display: inline-block; height: 38px; line-height: 38px; padding: 0 28px; border-radius: 8px; color: #fff !important; font-size: 15px; font-weight: 500; cursor: pointer; background: linear-gradient(90deg, #79B2FF -28.41%, #2770D4 110.23%); }
.xpay-ok:hover { opacity: .9; }
.xpay-ok.xpay-disabled { opacity: .45; cursor: not-allowed; }
.xpay-ghost { display: inline-block; height: 38px; line-height: 36px; padding: 0 20px; border: 1px solid #C9DDFA; border-radius: 8px; color: #2770D4 !important; font-size: 14px; background: #fff; cursor: pointer; }
.xpay-ghost:hover { background: #F4F8FF; }

/* 成功态（通栏） */
.xpay-done { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.xpay-stage-success .xpay-done { display: flex; }
.xpay-stage-success .xpay-b, .xpay-stage-success .xpay-f { display: none; }
.xpay-done .xpay-ck { width: 52px; height: 52px; border-radius: 50%; background: #EAF8EF; color: #28C445; font-size: 26px; line-height: 52px; text-align: center; font-weight: 700; }
.xpay-done h4 { margin: 14px 0 0; font-size: 18px; font-weight: 700; color: rgba(0, 0, 0, .85); }
.xpay-done .xpay-ds { margin-top: 8px !important; font-size: 13px; color: rgba(0, 0, 0, .45); }
.xpay-done .xpay-kvs { margin-top: 18px; width: 100%; background: #F8FAFD; border-radius: 10px; padding: 12px 16px; }
.xpay-done .xpay-amt b { color: #2770D4; font-weight: 700; }
.xpay-done .xpay-acts { margin-top: 20px; display: flex; align-items: center; justify-content: flex-end; width: 100%; }
.xpay-done .xpay-acts > * + * { margin-left: 20px; }

.xpay-toast { position: fixed; left: 50%; bottom: 40px; z-index: 19891002; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 10px 20px; border-radius: 8px; background: rgba(10, 26, 49, .9); color: #fff; font-size: 13px; line-height: 20px; font-family: "微软雅黑", "Microsoft YaHei", sans-serif; }

@media (max-width: 760px) {
    .xpay-md { min-height: 0; }
    .xpay-b { display: block; padding: 16px; }
    .xpay-col-l { margin: 0 0 16px; }
    .xpay-h { padding: 16px 56px 12px 16px; }
    .xpay-f { padding: 12px 16px; }
    .xpay-ok { padding: 0 20px; }
}

/* ===== 续费紧凑版（FR-COM-11，原型 520px 单栏）：我的服务里点「续费」时使用 ===== */
.xpay-md.xpay-renew { width: 520px; }
.xpay-renew .xpay-col-l { display: none; }
.xpay-renew .xpay-col-r { flex: 1 1 auto; }

/* ===== 成功回执的发票入口（FR-COM-08 / Q21） ===== */
.xpay-inv { width: 100%; margin-top: 12px; text-align: left; }
.xpay-inv-t { font-size: 13px; line-height: 20px; color: rgba(0, 0, 0, .55); }
.xpay-inv-link { margin-left: 8px; color: #2770D4 !important; cursor: pointer; }
.xpay-inv-form { margin-top: 8px; padding: 12px; border: 1px solid #EEF1F6; border-radius: 8px; background: #F8FAFD; }
.xpay-inv-seg { display: flex; margin-bottom: 8px; }
.xpay-inv-seg a { height: 28px; line-height: 26px; padding: 0 14px; margin-right: 8px; border: 1px solid #D9D9D9; border-radius: 4px; font-size: 13px; color: #666 !important; background: #fff; cursor: pointer; }
.xpay-inv-seg a.xpay-on { border-color: #2770D4; color: #2770D4 !important; background: #F4F8FF; }
.xpay-inv-ipt { display: block; width: 100%; height: 32px; margin-bottom: 8px; padding: 0 10px; border: 1px solid #D9D9D9; border-radius: 4px; font-size: 13px; color: #333; background: #fff; outline: none; font-family: inherit; }
.xpay-inv-ipt:focus { border-color: #2770D4; }
.xpay-inv-tip { font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, .35); }
.xpay-inv-btn { display: inline-block; margin-top: 8px; height: 30px; line-height: 30px; padding: 0 16px; border-radius: 4px; background: #2770D4; color: #fff !important; font-size: 13px; cursor: pointer; }
.xpay-inv-err { min-height: 18px; margin-top: 4px !important; font-size: 12px; line-height: 18px; color: #E6352B; }

/* ===== 个人中心「我的服务」（Content/js/pay/elane.myservice.js；原型 个人中心-我的服务-v4）=====
   站点 .usercenter_tabinfo 对 span / b 有通用规则（span 宽 86px 右对齐、b 红字），新元素一律用自有类并把属性写全 */
.usercenter_myservice .xpay-ms-tag { display: inline-block; width: auto; margin: 0; text-align: center; height: 22px; line-height: 22px; padding: 0 8px; border-radius: 2px; font-size: 12px; color: #2770d4; background: #F6F8FB; white-space: nowrap; }
.usercenter_myservice .xpay-ms-tag.xpay-ms-expiring { color: #E67E00; background: #FFF7E6; }
.usercenter_myservice .xpay-ms-tag.xpay-ms-gray { color: #999; background: #F6F8FB; }
.usercenter_myservice .xpay-ms-tag.xpay-ms-done { color: #2cb36b; background: #EFFAF4; }
.usercenter_myservice .xpay-ms-tel { display: inline; width: auto; margin: 0; text-align: left; font-size: inherit; line-height: inherit; color: #2770d4; }
.usercenter_myservice .xpay-ms-need { padding-top: 15px; border-top: 1px solid #ddd; }
.usercenter_myservice .xpay-ms-btn { width: auto; padding: 0 16px; height: auto; line-height: 30px; border-radius: 2px; font-size: 14px; font-weight: 400; margin-top: 10px; text-decoration: none; white-space: nowrap; text-align: center; }
.usercenter_myservice .xpay-ms-btn:hover { opacity: .8; color: #fff; }
.usercenter_myservice .xpay-ms-btn.xpay-ms-off { background: #ccc; color: #fff; cursor: not-allowed; opacity: .6; }
.usercenter_myservice .xpay-ms-act { color: #2770d4; cursor: pointer; }
.usercenter_myservice .xpay-ms-act.xpay-ms-hl { font-weight: 700; color: #E67E00; }
.usercenter_myservice .xpay-ms-empty td { padding: 40px 0; text-align: center; color: #999; line-height: 24px; }
.usercenter_myservice .xpay-ms-more { text-align: center; }
.usercenter_myservice .xpay-ms-link { color: #2770d4; cursor: pointer; font-size: 14px; }

/* —— 我的服务弹层（形态照站点 .dialog_box） —— */
.xpay-ms-mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, .45); z-index: 19890000; }
.xpay-ms-dlg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; width: 520px; max-width: calc(100% - 32px); border-radius: 2px; box-shadow: 0 12px 40px rgba(10, 26, 49, .24); display: flex; flex-direction: column; max-height: 84vh; overflow: hidden; text-align: left; font-family: "Microsoft YaHei", Arial, sans-serif; }
.xpay-ms-dlg * { box-sizing: border-box; }
.xpay-ms-tit { flex: none; height: 56px; line-height: 56px; padding: 0 56px 0 24px; font-size: 16px; color: #666; border-bottom: 1px solid rgba(0, 0, 0, .09); position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xpay-ms-x { position: absolute; right: 0; top: 0; width: 56px; height: 56px; line-height: 54px; text-align: center; font-size: 20px; color: #999 !important; text-decoration: none; cursor: pointer; }
.xpay-ms-x:hover { color: #333 !important; }
.xpay-ms-main { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 24px; font-size: 14px; color: #666; }
.xpay-ms-btns { flex: none; border-top: 1px solid #D9D9D9; padding: 10px 24px; text-align: right; background: #fff; }
.xpay-ms-btns a + a { margin-left: 10px; }
.xpay-ms-row { margin-bottom: 20px; }
.xpay-ms-row:last-child { margin-bottom: 0; }
.xpay-ms-lb { display: block; margin-bottom: 8px; font-size: 14px; line-height: 22px; color: #666; }
.xpay-ms-lb i { font-style: normal; color: #E83D26; margin-left: 2px; }
.xpay-ms-ipt { display: block; width: 100%; height: 36px; line-height: 34px; padding: 0 10px; border: 1px solid #D9D9D9; border-radius: 2px; font-size: 14px; color: #333; background: #fff; outline: none; font-family: inherit; }
.xpay-ms-ipt:focus { border-color: #2770d4; }
.xpay-ms-ipt.xpay-ms-bad { border-color: #E83D26; }
.xpay-ms-e { margin-top: 6px; font-size: 12px; line-height: 18px; color: #E83D26; display: none; }
.xpay-ms-e.xpay-ms-on { display: block; }
.xpay-ms-tip { margin-top: 8px; font-size: 12px; line-height: 18px; color: #999; }
.xpay-ms-seg { display: flex; flex-wrap: wrap; }
.xpay-ms-seg a { height: 32px; line-height: 30px; padding: 0 16px; margin-right: 8px; border: 1px solid #D9D9D9; border-radius: 2px; font-size: 14px; color: #666 !important; background: #fff; text-decoration: none; cursor: pointer; }
.xpay-ms-seg a:hover { border-color: #2770d4; color: #2770d4 !important; }
.xpay-ms-seg a.xpay-ms-on { border-color: #2770d4; color: #2770d4 !important; background: #f6f8fb; }
.xpay-ms-b1, .xpay-ms-b2 { display: inline-block; line-height: 30px; padding: 0 16px; border-radius: 2px; font-size: 14px; text-decoration: none; cursor: pointer; text-align: center; }
.xpay-ms-b1 { background: #2770d4; border: 1px solid #2770d4; color: #fff !important; }
.xpay-ms-b1:hover { opacity: .8; }
.xpay-ms-b1.xpay-ms-off { background: #ccc; border-color: #ccc; cursor: not-allowed; opacity: .6; }
.xpay-ms-b2 { background: #fff; border: 1px solid #D9D9D9; color: rgba(0, 0, 0, .65) !important; }
.xpay-ms-b2:hover { border-color: #2770d4; color: #2770d4 !important; }
.xpay-ms-a { color: #2770d4 !important; text-decoration: none; cursor: pointer; }
.xpay-ms-list { border: 1px solid #ddd; border-radius: 2px; overflow: hidden; }
.xpay-ms-li { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid #ddd; cursor: pointer; margin: 0; }
.xpay-ms-li:last-child { border-bottom: 0; }
.xpay-ms-li.xpay-ms-on { background: #f6f8fb; }
.xpay-ms-li input { flex: none; width: 14px; height: 14px; margin: 0 12px 0 0; cursor: pointer; }
.xpay-ms-li .xpay-ms-m { flex: 1; min-width: 0; }
.xpay-ms-li .xpay-ms-t { display: block; font-size: 14px; line-height: 22px; color: #333; }
.xpay-ms-li .xpay-ms-s { display: block; margin-top: 2px; font-size: 12px; line-height: 18px; color: #999; }
.xpay-ms-li .xpay-ms-amt { flex: none; margin-left: 12px; font-size: 14px; color: #333; }
.xpay-ms-sum { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 15px; border-top: 1px solid #ddd; font-size: 14px; color: #666; }
.xpay-ms-sum strong { font-size: 18px; color: #2770d4; font-weight: 700; }
.xpay-ms-tb { width: 100%; border-collapse: collapse; table-layout: fixed; }
.xpay-ms-tb th { background: #f6f8fb; color: #999; font-weight: 400; font-size: 12px; text-align: left; padding: 10px 12px; border-bottom: 1px solid #ddd; }
.xpay-ms-tb td { font-size: 12px; color: #666; padding: 12px; border-bottom: 1px solid #ddd; word-break: break-all; }
.xpay-ms-tb tr:last-child td { border-bottom: 0; }
.xpay-ms-tb .xpay-ms-r { text-align: right; }
.xpay-ms-blank { padding: 44px 0; text-align: center; color: #999; font-size: 14px; line-height: 24px; }
.xpay-ms-card { border: 1px solid #ddd; border-radius: 2px; background: #f6f8fb; padding: 14px 16px; }
.xpay-ms-card .xpay-ms-r2 { display: flex; align-items: baseline; font-size: 14px; line-height: 24px; }
.xpay-ms-card .xpay-ms-r2 + .xpay-ms-r2 { margin-top: 6px; }
.xpay-ms-card .xpay-ms-k { flex: none; width: 100px; color: #999; white-space: nowrap; }
.xpay-ms-card .xpay-ms-v { flex: 1; color: #333; word-break: break-all; }
.xpay-ms-ok { padding: 16px 0 4px; text-align: center; }
.xpay-ms-ok .xpay-ms-ck { display: inline-block; width: 52px; height: 52px; border-radius: 50%; background: rgba(40, 196, 69, .12); color: #28C445; font-size: 28px; line-height: 52px; font-weight: 700; }
.xpay-ms-ok h4 { margin: 14px 0 0; font-size: 16px; line-height: 24px; color: #333; font-weight: 400; }
.xpay-ms-ok p { margin: 6px 0 0; font-size: 14px; line-height: 24px; color: #666; }
.xpay-ms-red { color: #E83D26; }
.xpay-ms-toast { position: fixed; left: 50%; top: 80px; transform: translateX(-50%); max-width: 560px; padding: 10px 20px; background: rgba(28, 40, 56, .92); color: #fff; font-size: 14px; line-height: 22px; border-radius: 2px; z-index: 19890002; }

/* 数量步进器（关注扩容等可自由输入的规格，Doc/pay/03 三） */
.xpay-qty { display: flex; align-items: center; }
.xpay-step { flex: none; width: 28px; height: 28px; border: 1px solid #E4E9F0; border-radius: 6px; background: #fff; font-size: 16px; line-height: 26px; text-align: center; color: rgba(0, 0, 0, .65); cursor: pointer; user-select: none; }
.xpay-step:hover { border-color: #9FBEE8; color: #2770D4; }
.xpay-qty-ipt { flex: 1; width: 60px; height: 28px; margin: 0 8px; padding: 0 8px; border: 1px solid #E4E9F0; border-radius: 6px; text-align: center; font-size: 14px; line-height: 26px; color: rgba(0, 0, 0, .85); outline: none; }
.xpay-qty-ipt:focus { border-color: #2770D4; }
.xpay-qty-ipt.xpay-qty-over, .xpay-qty-ipt.xpay-qty-over:focus { border-color: #E83D26; color: #E83D26; }
.xpay-qty-unit { flex: none; font-size: 12px; color: rgba(0, 0, 0, .45); }
.xpay-qty-err { margin: 6px 0 0; font-size: 12px; line-height: 18px; color: #E83D26; }
.xpay-qty + .xpay-chips, .xpay-qty-err + .xpay-chips, .xpay-chips + .xpay-lb { margin-top: 8px; }
.xpay-live { margin: 10px 0 0; font-size: 12px; line-height: 20px; color: rgba(0, 0, 0, .45); }

/* 船舶档案 · 单次版（Doc/pay/02）：左栏顶部 IMO 输入卡片，视觉按原型 x17-card / x17-imo */
.xpay-opts:empty { margin-bottom: 0; }
.xpay-slot { margin-bottom: 12px; }
.xpay-imo-card { background: linear-gradient(180deg, #F7FAFF 0%, #EEF5FF 100%); border: 1px solid #DCE9FB; border-radius: 10px; padding: 14px; }
.xpay-imo-t { font-size: 14px; font-weight: 700; line-height: 22px; color: #2770D4; }
.xpay-imo-lb { display: block; margin-top: 10px; font-size: 13px; font-weight: 400; line-height: 20px; color: rgba(0, 0, 0, .55); }
.xpay-imo-ipt { display: block; width: 100%; height: 40px; margin-top: 8px; padding: 0 12px; border: 1px solid #DCE3EE; border-radius: 8px; background: #fff; font-size: 15px; letter-spacing: 1px; color: rgba(0, 0, 0, .85); outline: none; }
.xpay-imo-ipt:focus { border-color: #2770D4; box-shadow: inset 0 0 0 1px #2770D4; }
.xpay-imo-ipt:disabled { background: #F5F7FA; color: rgba(0, 0, 0, .45); cursor: not-allowed; }
.xpay-imo-msg { min-height: 18px; margin-top: 6px !important; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, .45); overflow-wrap: break-word; word-wrap: break-word; }
.xpay-imo-bad .xpay-imo-ipt { border-color: #E6352B; box-shadow: inset 0 0 0 1px #E6352B; }
.xpay-imo-bad .xpay-imo-msg { color: #E6352B; }
.xpay-imo-good .xpay-imo-msg { color: #28C445; }

/* 卫星 AIS 个人版（Doc/pay/01）：左栏顶部岸基 / 卫星对照卡片 + 无标题白底权益框，视觉按原型 x15-cmp / x15-perks */
.xpay-p-satellite_personal .xpay-slot { margin-bottom: 16px; }
.xpay-p-satellite_personal .xpay-slot:empty { margin-bottom: 0; }
.xpay-p-satellite_personal .xpay-perks { background: #fff; border-color: #EEF1F6; border-radius: 12px; padding: 14px 16px; }
.xpay-p-satellite_personal .xpay-pk + .xpay-pk { margin-top: 8px; }
.xpay-p-satellite_personal .xpay-pk .xpay-ico { background: #EAF2FF; }
.xpay-cmp { background: linear-gradient(180deg, #F7FAFF 0%, #EEF5FF 100%); border: 1px solid #DCE9FB; border-radius: 12px; padding: 16px; }
.xpay-cmp-t { font-size: 14px; font-weight: 700; line-height: 22px; color: #2770D4; }
.xpay-cmp-row { margin-top: 10px; padding: 10px 12px; border: 1px solid #E8EEF6; border-radius: 8px; background: #fff; }
.xpay-cmp-sat { border-color: #C9DDFA; box-shadow: inset 3px 0 0 #2770D4; }
.xpay-cmp-hd { display: flex; align-items: baseline; }
.xpay-cmp-tag { flex: none; margin-right: 10px; font-size: 12px; color: rgba(0, 0, 0, .45); }
.xpay-cmp-time { font-size: 14px; font-weight: 700; color: rgba(0, 0, 0, .85); font-variant-numeric: tabular-nums; }
.xpay-cmp-note { display: flex; align-items: center; margin-top: 6px; }
.xpay-cmp-txt { flex: 1; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, .45); }
.xpay-cmp-lead { flex: none; margin-left: 8px; padding: 0 8px; border-radius: 9px; background: #EAF2FF; font-size: 11px; font-weight: 500; line-height: 18px; color: #2770D4; }
/* 尺寸按原型 x15-md（860px 宽、左栏 340px，公共弹窗是 720 / 280px）；续费紧凑版与窄屏仍用公共尺寸 */
@media (min-width: 761px) {
    .xpay-md.xpay-p-satellite_personal:not(.xpay-renew) { width: 860px; min-height: min(620px, 86vh); max-height: min(800px, 90vh); }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-h { padding: 20px 56px 16px 28px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-h h4 { font-size: 20px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-h .xpay-sub { margin-top: 6px; font-size: 13px; line-height: 20px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-x { top: 16px; right: 20px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-b { padding: 20px 28px 24px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-col-l { flex-basis: 340px; margin-right: 28px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-chip { padding: 10px 8px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-opts { margin-bottom: 16px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-payp { border-radius: 12px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-pp { padding: 14px 16px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-pm { height: 44px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-otot { margin-top: 10px; padding-top: 12px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-otot .xpay-v { font-size: 28px; line-height: 34px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-wait { margin-top: 16px; padding: 12px 14px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-meta { padding-top: 16px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-agree { margin-top: 12px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-f { padding: 16px 28px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-ok { height: 44px; line-height: 44px; padding: 0 36px; font-size: 16px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-ghost { height: 44px; line-height: 42px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-done { padding: 32px 28px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-done .xpay-ck { width: 64px; height: 64px; font-size: 32px; line-height: 64px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-done h4 { margin-top: 18px; font-size: 20px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-done .xpay-kvs { margin-top: 24px; border-radius: 12px; padding: 16px 20px; }
    .xpay-p-satellite_personal:not(.xpay-renew) .xpay-done .xpay-acts { margin-top: 32px; }
}

/* 档案落地页 /IHS「版本对比」：单次版 vs 全量版，视觉按原型 x16-cmp */
.xpay-doc-cmp { margin-top: 20px; border: 1px solid #D6E4FA; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, #D8E9FF 0%, #E7F2FF 52%, #EFF7FF 100%); box-shadow: 0 6px 30px 0 rgba(10, 26, 49, .06); text-align: left; }
.xpay-doc-cmp > div { display: flex; }
.xpay-doc-cmp > div > div { box-sizing: border-box; }
.xpay-doc-cmp .xpay-doc-k { flex: 0 0 180px; }
.xpay-doc-cmp .xpay-doc-c { flex: 1 1 0; min-width: 0; }
.xpay-doc-cmp .xpay-doc-c + .xpay-doc-c { border-left: 1px solid rgba(39, 112, 212, .14); }
.xpay-doc-cmp .xpay-doc-one { background: rgba(255, 255, 255, .95); }
.xpay-doc-th { border-bottom: 1px solid #C9DCF6; background: linear-gradient(180deg, rgba(39, 112, 212, .10), rgba(39, 112, 212, .02)); }
.xpay-doc-th .xpay-doc-c { padding: 22px 24px 20px; text-align: center; }
.xpay-doc-th .xpay-doc-t { margin: 0; font-size: 18px; line-height: 28px; font-weight: 500; color: rgba(0, 0, 0, .85); }
.xpay-doc-th .xpay-doc-s { margin: 2px 0 0; font-size: 13px; line-height: 20px; color: rgba(0, 0, 0, .45); }
.xpay-doc-th .xpay-doc-p { margin: 10px 0 0; height: 38px; display: flex; align-items: baseline; justify-content: center; color: #2770D4; }
.xpay-doc-th .xpay-doc-p i { font-style: normal; font-size: 15px; font-weight: 500; }
.xpay-doc-th .xpay-doc-p b { margin: 0 4px 0 2px; font-size: 30px; line-height: 36px; font-weight: 700; font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.xpay-doc-th .xpay-doc-p em { font-style: normal; font-size: 13px; color: rgba(0, 0, 0, .45); }
.xpay-doc-th .xpay-doc-p.xpay-doc-alt { font-size: 16px; font-weight: 500; color: rgba(0, 0, 0, .7); }
.xpay-doc-tr { border-bottom: 1px solid rgba(39, 112, 212, .12); }
.xpay-doc-tr .xpay-doc-k { padding: 16px 24px; font-size: 13px; line-height: 26px; color: rgba(0, 0, 0, .45); }
.xpay-doc-tr .xpay-doc-c { padding: 16px 24px; font-size: 14px; line-height: 26px; color: rgba(0, 0, 0, .7); }
.xpay-doc-tf .xpay-doc-c { padding: 22px 24px 24px; text-align: center; }
.xpay-doc-btn { display: block; box-sizing: border-box; height: 44px; line-height: 44px; border-radius: 8px; font-size: 16px; font-weight: 500; color: #fff !important; background: #2770D4; cursor: pointer; text-decoration: none !important; transition: background .15s; }
.xpay-doc-btn:hover { background: #2064C2; }
.xpay-doc-ghost { display: block; box-sizing: border-box; height: 44px; line-height: 42px; border: 1px solid #B9CDE7; border-radius: 8px; font-size: 16px; font-weight: 500; color: rgba(0, 0, 0, .75) !important; background: #fff; cursor: pointer; text-decoration: none !important; transition: all .15s; }
.xpay-doc-ghost:hover { border-color: #2770D4; color: #2770D4 !important; }
.xpay-doc-note { margin-top: 16px; font-size: 13px; line-height: 24px; color: rgba(0, 0, 0, .45); text-align: left; }
@media (max-width: 760px) {
    .xpay-doc-cmp .xpay-doc-k { flex-basis: 88px; }
    .xpay-doc-tr .xpay-doc-k, .xpay-doc-tr .xpay-doc-c, .xpay-doc-th .xpay-doc-c, .xpay-doc-tf .xpay-doc-c { padding-left: 12px; padding-right: 12px; }
}
