﻿/* 青点授权中心前台 —— 白底高级风（紫罗兰主色，与官网一致） */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #fff; color: #0a2540; line-height: 1.6; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: 26px; letter-spacing: -0.5px; }
h2 { font-size: 18px; margin-bottom: 12px; }
h3 { font-size: 15.5px; margin-bottom: 10px; }
code { background: #eff6ff; color: #1d4ed8; padding: 2px 8px; border-radius: 6px; font-size: 13px; }
small { color: #6b7c93; }

/* 顶栏 */
.topbar { border-bottom: 1px solid #eef1f6; position: sticky; top: 0; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); z-index: 9; }
.topbar .inner { display: flex; align-items: center; height: 60px; gap: 20px; }
.brand { font-weight: 700; font-size: 17px; color: #0a2540; display: flex; align-items: center; gap: 8px; }
.logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14.5px; }
.nav a { color: #425466; }
.admin-link { color: #e8590c !important; font-weight: 600; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; border-radius: 8px; padding: 9px 18px; font-size: 14.5px; background: #eef1f6; color: #0a2540; text-decoration: none !important; }
.btn.primary { background: #2563eb; color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.28); }
.btn.primary:hover { background: #1d4ed8; }
.btn.danger { background: #fee2e2; color: #b91c1c; }
.btn.small { padding: 5px 12px; font-size: 13px; }
.btn.block { width: 100%; }

/* 卡片 */
.card { background: #fff; border: 1px solid #eef1f6; border-radius: 14px; padding: 22px; margin: 16px 0; box-shadow: 0 2px 10px rgba(10,37,64,.04); }

/* 首页 */
.hero { text-align: center; padding: 56px 0 30px; }
.hero h1 { font-size: 34px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #2563eb, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #425466; margin: 10px 0 24px; }
.query-bar { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.query-bar input { flex: 1; padding: 12px 16px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 15px; }
.query-bar input:focus { outline: 2px solid #2563eb33; border-color: #2563eb; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.step b { color: #2563eb; }
.step p { font-size: 13.5px; color: #425466; margin-top: 6px; }

/* 查询结果 */
.result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 14px; }
.result .full { grid-column: 1 / -1; }
.result dt { font-size: 12.5px; color: #6b7c93; }
.result dd { font-size: 15px; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.tag.ok { background: #d1fae5; color: #047857; }
.tag.bad { background: #fee2e2; color: #b91c1c; }
.tag.pending { background: #fef3c7; color: #b45309; }
.row.head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

/* 登录注册 */
.auth-card { max-width: 420px; margin: 48px auto; }
.auth-card .sub { color: #6b7c93; font-size: 13.5px; margin: 4px 0 16px; }
.error { background: #fee2e2; color: #b91c1c; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; margin-bottom: 14px; }
form label { display: block; font-size: 13.5px; color: #425466; margin: 12px 0 6px; }
form input, form textarea, form select { width: 100%; padding: 10px 14px; border: 1px solid #d9e2ec; border-radius: 8px; font-size: 14.5px; }
form input:focus, form textarea:focus { outline: 2px solid #2563eb33; border-color: #2563eb; }
form button[type=submit] { margin-top: 18px; }

/* 提示条 */
.flash { margin: 14px auto 0; padding: 12px 18px; border-radius: 10px; font-size: 14.5px; }
.flash.ok { background: #d1fae5; color: #047857; }
.flash.bad { background: #fee2e2; color: #b91c1c; }
.flash.warn { background: #fef3c7; color: #b45309; }

/* 商城 */
.page-head { text-align: center; padding: 40px 0 8px; }
.page-head p { color: #425466; margin-top: 8px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 28px 0; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid #2563eb; }
.ribbon { position: absolute; top: -12px; right: 18px; background: #2563eb; color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.plan-name { color: #6b7c93; font-size: 13.5px; }
.plan-tier { font-weight: 700; font-size: 17px; margin: 2px 0 10px; }
.plan-price em { font-style: normal; font-size: 16px; }
.plan-price b { font-size: 30px; letter-spacing: -1px; }
.plan-price s { color: #9aa7b8; font-size: 13.5px; margin-left: 8px; }
.plan-feats { list-style: none; margin: 8px 0 16px; flex: 1; }
.plan-feats li { font-size: 13.5px; color: #425466; padding: 4px 0 4px 22px; position: relative; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: #2563eb; font-weight: 700; }
.buy-box summary { list-style: none; }
.buy-box summary::-webkit-details-marker { display: none; }
.buy-form { margin-top: 16px; }
.pay-ways { display: grid; gap: 8px; }
.radio { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.radio input { width: auto; }
.hint { margin-top: 12px; font-size: 13.5px; color: #6b7c93; }
.issued { border: 2px solid #10b981; background: #f0fdf9; }
.key-box { display: flex; gap: 10px; align-items: center; margin: 12px 0; }
.key-box code { font-size: 17px; padding: 8px 16px; }
.key-box button { border: 1px solid #d9e2ec; background: #fff; border-radius: 8px; padding: 8px 14px; cursor: pointer; }

/* 用户中心 */
.account-head { display: flex; justify-content: space-between; align-items: center; }
.balance { text-align: right; }
.balance span { font-size: 12.5px; color: #6b7c93; }
.balance b { font-size: 28px; letter-spacing: -0.5px; color: #2563eb; }
.tabs { display: flex; gap: 8px; margin: 20px 0 6px; }
.tab { padding: 8px 18px; border-radius: 999px; font-size: 14.5px; color: #425466; background: #f4f6fa; text-decoration: none !important; }
.tab.active { background: #2563eb; color: #fff; }
.lic dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; margin: 10px 0; }
.lic dt { font-size: 12.5px; color: #6b7c93; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-title { margin: 24px 0 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; color: #6b7c93; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid #eef1f6; font-size: 12.5px; }
.tbl td { padding: 10px; border-bottom: 1px solid #f4f6fa; vertical-align: top; }
.tbl .in { color: #047857; font-weight: 600; }
.tbl .out { color: #e11d48; font-weight: 600; }
.empty { color: #9aa7b8; padding: 18px 0; }

/* 管理端 */
.manage-tabs { display: flex; gap: 8px; margin: 24px 0 10px; }
.filter-row { display: flex; gap: 8px; margin: 12px 0; }
.chip { padding: 5px 14px; border-radius: 999px; font-size: 13px; background: #f4f6fa; color: #425466; text-decoration: none !important; }
.chip.active { background: #0a2540; color: #fff; }
.grid-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.grid-form .full { grid-column: 1 / -1; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-form input, .inline-form select { width: auto; padding: 6px 10px; }
.switch { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.switch input { width: auto; }
.ops { display: flex; gap: 6px; flex-wrap: wrap; }
details summary { cursor: pointer; color: #2563eb; font-size: 13.5px; }
details .buy-form { max-width: 360px; }

/* 商品编辑卡片 */
.page-title { padding: 8px 0 2px; }
.page-title p { color: #6b7c93; font-size: 13.5px; margin-top: 4px; }
.section-head-left { margin: 28px 0 4px; }
.section-head-left p { color: #6b7c93; font-size: 13px; margin-top: 2px; }
.prod-list { display: grid; gap: 14px; margin: 18px 0 8px; }
.prod-card { background: #fff; border: 1px solid #eef1f6; border-radius: 14px; padding: 18px 20px 20px; box-shadow: 0 2px 10px rgba(10,37,64,.04); }
.prod-card button[type=submit] { margin-top: 0; }
.prod-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed #eef1f6; }
.prod-top .name-input { flex: 0 1 320px; font-weight: 600; font-size: 15px; color: #0a2540; }
.save-btn { margin-left: auto; }
.fields { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.1fr 0.6fr; gap: 12px 14px; align-items: end; }
.fields.single { grid-template-columns: 1fr; margin-top: 12px; }
.fld label { display: block; font-size: 12.5px; color: #6b7c93; margin: 0 0 5px; font-weight: 500; }
.fld label small { margin-left: 6px; font-size: 11.5px; color: #9aa7b8; }
.fld input { padding: 8px 12px; font-size: 14px; border-radius: 8px; }
.fld input:focus { outline: 2px solid #2563eb33; border-color: #2563eb; }
.price-wrap { position: relative; }
.price-wrap::before { content: "¥"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #2563eb; font-weight: 600; font-size: 13.5px; pointer-events: none; }
.price-wrap input { padding-left: 28px; font-weight: 600; color: #0a2540; }
/* 开关 */
.switch-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7c93; cursor: pointer; user-select: none; }
.switch-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-pill .track { width: 38px; height: 22px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .2s; flex: none; }
.switch-pill .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch-pill input:checked + .track { background: #10b981; }
.switch-pill input:checked + .track::after { left: 18px; }
.switch-pill.on { color: #047857; font-weight: 600; }
/* 新增表单 */
.add-form button[type=submit] { margin-top: 0; }
.add-foot { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #eef1f6; }
/* 危险操作 */
.danger-zone { margin: 28px 0 16px; border: 1px solid #fee2e2; background: #fffafa; border-radius: 14px; padding: 16px 20px; }
.dz-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.dz-head b { color: #b91c1c; font-size: 14.5px; }
.dz-head span { font-size: 12.5px; color: #9aa7b8; }
.danger-zone .inline-form select { min-width: 320px; }

@media (max-width: 900px) {
    .fields { grid-template-columns: repeat(2, 1fr); }
    .fields .narrow { max-width: 120px; }
    .prod-top { flex-wrap: wrap; }
    .prod-top .name-input { flex: 1 1 100%; }
}
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ========== 分体式登录 / 注册（品牌侧栏 + 表单面板） ========== */
.auth-split { max-width: 960px; margin: 44px auto 30px; display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(10,37,64,.12); border: 1px solid #eef1f6; background: #fff; min-height: 540px; }
.brand-panel { background: linear-gradient(160deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%); color: #fff; padding: 40px 36px; display: flex; flex-direction: column; }
.bp-logo { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin-bottom: 26px; }
.brand-panel h2 { color: #fff; font-size: 24px; letter-spacing: -0.5px; }
.bp-sub { color: rgba(255,255,255,.85); font-size: 13.5px; margin: 8px 0 26px; }
.bp-steps { list-style: none; display: grid; gap: 12px; }
.bp-steps li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.95); }
.bp-steps .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.bp-desc { margin-top: auto; font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.72); padding-top: 26px; }
.auth-form-panel { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-form-panel h1 { font-size: 24px; }
.auth-form-panel .sub { color: #6b7c93; font-size: 13.5px; margin: 6px 0 20px; }
.ipt { position: relative; margin-bottom: 14px; }
.ipt svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #9aa7b8; }
.ipt input { width: 100%; padding: 11px 14px 11px 40px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 14.5px; background: #f8f9fc; }
.ipt input:focus { outline: 2px solid #2563eb33; border-color: #2563eb; background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.btn.grad { background: linear-gradient(90deg, #2563eb, #3b82f6); color: #fff; padding: 12px 18px; font-size: 15px; box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.btn.grad:hover { filter: brightness(1.06); }
.ipt-foot { margin-top: 18px; font-size: 12.5px; color: #9aa7b8; text-align: center; }
@media (max-width: 840px) { .auth-split { grid-template-columns: 1fr; } .brand-panel { display: none; } }

/* ========== 管理控制台（白底 · 侧边栏布局） ========== */
.admin-body { display: flex; min-height: 100vh; background: #f6f7fb; }
.admin-side { width: 216px; flex: none; background: #fff; border-right: 1px solid #eef1f6; padding: 18px 12px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.as-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; border-bottom: 1px solid #f4f6fa; margin-bottom: 10px; }
.as-brand b { font-size: 15px; display: block; line-height: 1.25; }
.as-brand small { color: #6b7c93; font-size: 11px; letter-spacing: .3px; }
.as-sec { font-size: 11.5px; color: #9aa7b8; padding: 12px 12px 6px; letter-spacing: .5px; }
.as-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: #425466; font-size: 14px; margin-bottom: 2px; text-decoration: none !important; }
.as-item svg { width: 16px; height: 16px; flex: none; }
.as-item:hover { background: #f4f6fa; color: #0a2540; }
.as-item.active { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
.as-foot { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid #f4f6fa; font-size: 12.5px; }
.as-foot p { margin-top: 8px; font-size: 11px; color: #b3bccb; line-height: 1.7; }
.admin-main { flex: 1; padding: 26px 30px 40px; min-width: 0; }
.admin-main h1 { font-size: 22px; }
.admin-main .card { margin: 14px 0; }
.page-sub { color: #6b7c93; font-size: 13px; margin: 3px 0 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 6px 0 20px; }
.scard { background: #fff; border: 1px solid #eef1f6; border-radius: 14px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(10,37,64,.04); }
.scard span { font-size: 12.5px; color: #6b7c93; display: flex; align-items: center; gap: 6px; }
.scard b { display: block; font-size: 26px; letter-spacing: -0.5px; margin-top: 5px; }
.scard small { color: #9aa7b8; font-size: 12px; }
.sc-violet b { color: #1d4ed8; } .sc-cyan b { color: #00a5bd; } .sc-green b { color: #047857; }
.sc-orange b { color: #b45309; } .sc-red b { color: #b91c1c; }
.dash-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.dash-cols .card { margin: 0; }
.rev-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #eef1f6; }
.rev-sum span { font-size: 13px; color: #6b7c93; }
.rev-sum b { font-size: 22px; color: #1d4ed8; letter-spacing: -0.5px; }
.search-bar { display: flex; gap: 10px; margin: 4px 0 14px; }
.search-bar input { flex: 1; max-width: 420px; padding: 10px 14px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 14px; }
.search-bar input:focus { outline: 2px solid #2563eb33; border-color: #2563eb; }
.search-bar button[type=submit] { margin-top: 0; }
@media (max-width: 960px) { .dash-cols { grid-template-columns: 1fr; } .admin-side { width: 64px; padding: 14px 8px; } .as-brand div, .as-item span, .as-sec, .as-foot p, .as-item { font-size: 0; } .as-brand { justify-content: center; } .as-item { justify-content: center; padding: 10px; } }

/* ========== 用户中心头部（白底升级） ========== */
.uc-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin: 24px 0 4px; }
.uc-user { display: flex; align-items: center; gap: 16px; margin: 0; }
.uc-user h1 { font-size: 22px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; flex: none; }
.uc-bal { background: linear-gradient(135deg, #2563eb, #3b82f6); border-radius: 14px; color: #fff; padding: 18px 22px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; box-shadow: 0 8px 22px rgba(37,99,235,.28); }
.uc-bal span { font-size: 12.5px; color: rgba(255,255,255,.82); }
.uc-bal b { font-size: 30px; letter-spacing: -0.5px; color: #fff; line-height: 1.2; }
.bal-btn { display: inline-block; margin-top: 8px; padding: 4px 16px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); color: #fff !important; font-size: 12.5px; text-decoration: none !important; }
.bal-btn:hover { background: rgba(255,255,255,.3); }
.uc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 4px; }
.uc-stat { background: #fff; border: 1px solid #eef1f6; border-radius: 14px; padding: 13px 18px; }
.uc-stat b { display: block; font-size: 22px; letter-spacing: -0.5px; color: #1d4ed8; }
.uc-stat span { font-size: 12.5px; color: #6b7c93; }
@media (max-width: 760px) { .uc-head, .uc-stats { grid-template-columns: 1fr; } .uc-bal { align-items: flex-start; } }

/* ========== 首页（蓝色系原创改版） ========== */
.hero-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 56px 20px 40px; }
.hero-copy h1 { font-size: 42px; line-height: 1.2; margin: 18px 0 0; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, #2563eb, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { color: #425466; font-size: 15.5px; margin: 14px 0 24px; max-width: 480px; }
.hero-split .query-bar { margin: 0; max-width: 480px; }
.hero-stats { display: flex; gap: 44px; margin-top: 28px; }
.hero-stats b { display: block; font-size: 24px; letter-spacing: -0.5px; background: linear-gradient(90deg, #1d4ed8, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 12.5px; color: #6b7c93; }
/* 授权卡视觉 */
.hero-visual { position: relative; min-height: 320px; }
.hero-visual::before { content: ""; position: absolute; inset: -10% -6%; background: radial-gradient(circle at 70% 20%, rgba(37,99,235,.12), transparent 55%), radial-gradient(circle at 20% 85%, rgba(14,165,233,.12), transparent 50%); border-radius: 30px; }
.lic-mock { position: relative; background: linear-gradient(150deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%); border-radius: 18px; padding: 24px 26px; color: #fff; box-shadow: 0 24px 48px rgba(30,58,138,.35); transform: rotate(2deg); }
.lm-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.22); }
.lm-logo { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: none; }
.lm-top b { display: block; font-size: 15.5px; line-height: 1.3; }
.lm-top small { color: rgba(255,255,255,.72); font-size: 12px; }
.lm-top .tag { margin-left: auto; background: rgba(255,255,255,.18); color: #d1fae5; }
.lm-key { margin: 18px 0 14px; font-family: ui-monospace, Consolas, monospace; font-size: 19px; letter-spacing: 1.5px; text-align: center; background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.35); border-radius: 10px; padding: 12px; }
.lm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lm-grid small { display: block; font-size: 11px; color: rgba(255,255,255,.65); }
.lm-grid span { font-size: 13.5px; }
.lm-chip { position: absolute; background: #fff; border: 1px solid #eef1f6; border-radius: 999px; padding: 8px 16px; font-size: 12.5px; color: #0a2540; box-shadow: 0 10px 24px rgba(10,37,64,.12); font-weight: 600; }
.lm-chip.c1 { bottom: 6px; left: -14px; transform: rotate(-3deg); }
.lm-chip.c2 { top: 2px; right: -6px; transform: rotate(2deg); }
/* 热销档位 */
.prod-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.hprod { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; }
.hp-head { border-bottom: 1px dashed #eef1f6; padding-bottom: 10px; margin-bottom: 4px; }
.hp-tier { font-size: 15px; }
.plan-price { margin: 4px 0 14px; }
.hprod .btn { margin-top: auto; }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }
/* 三步流程 */
.steps-line { display: flex; align-items: flex-start; gap: 14px; margin: 24px 0; }
.step-node { flex: 1; background: #fff; border: 1px solid #eef1f6; border-radius: 14px; padding: 20px; box-shadow: 0 2px 10px rgba(10,37,64,.04); }
.step-node i { font-style: normal; display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.step-node b { display: block; font-size: 15px; margin-bottom: 6px; }
.step-node p { font-size: 13px; color: #425466; }
.step-line { flex: none; width: 34px; height: 2px; margin-top: 34px; background: repeating-linear-gradient(90deg, #bfdbfe 0 6px, transparent 6px 12px); }
/* CTA */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #1e3a8a, #2563eb); border-radius: 18px; padding: 30px 34px; margin: 30px 0 10px; color: #fff; box-shadow: 0 16px 40px rgba(30,58,138,.3); }
.cta-band h2 { color: #fff; font-size: 21px; margin: 0; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 13.5px; margin-top: 6px; }
.cta-btns { display: flex; gap: 12px; flex: none; }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn.ghost:hover { background: rgba(255,255,255,.24); }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; padding-top: 36px; } .hero-visual { min-height: 280px; max-width: 420px; } .prod-strip { grid-template-columns: 1fr; } .steps-line { flex-direction: column; } .step-line { display: none; } .cta-band { flex-direction: column; text-align: center; } }

/* 品牌 logo 图片 */
.logo-img { width: 28px; height: 28px; object-fit: contain; display: inline-block; }
.bp-logo { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(0,0,0,.18); object-fit: contain; margin-bottom: 26px; display: block; }
.lm-logo { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.92); object-fit: contain; flex: none; }
.as-brand .logo-img { width: 30px; height: 30px; }

/* 顶栏精致化 */
.nav a { text-decoration: none !important; font-weight: 500; padding: 6px 2px; position: relative; }
.nav a:not(.btn):not(.nav-chip):not(.admin-link):hover { color: #2563eb; }
.nav a:not(.btn):not(.nav-chip):not(.admin-link)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px; background: #2563eb; transition: right .2s; }
.nav a:not(.btn):not(.nav-chip):not(.admin-link):hover::after { right: 0; }
.nav-strong { color: #0a2540 !important; font-weight: 600 !important; }
.nav-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e0e7f1; border-radius: 999px; padding: 5px 14px !important; color: #425466; font-size: 13px; background: #fff; }
.nav-chip:hover { border-color: #fca5a5; color: #b91c1c; }
.nav-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.topbar .btn.sm { padding: 7px 16px; font-size: 13.5px; }

/* 用户中心（控制台布局） */
.uc-main .uc-head { margin: 0 0 4px; }
.uc-main .uc-stats { margin: 16px 0 4px; }
.uc-main .issued { margin: 16px 0; }
.uc-main .lic { margin: 12px 0; }
.uc-main .two-col { margin: 12px 0; }
.uc-main .sec-title { margin: 20px 0 8px; }

/* 页脚 */
.footer { margin-top: 60px; border-top: 1px solid #eef1f6; padding: 34px 0 30px; color: #6b7c93; font-size: 13px; background: #fbfcfe; }
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.foot-info { text-align: left; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15.5px; color: #0a2540; margin: 0 0 8px; }
.foot-desc { margin: 0 0 10px; color: #6b7c93; }
.foot-links { margin: 0 0 8px; }
.foot-links a { color: #2563eb; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-icp { margin: 0; font-size: 12px; color: #94a3b8; }
.foot-icp a { color: #94a3b8; }
.foot-qr { flex: 0 0 auto; text-align: center; background: #fff; border: 1px solid #e8eef7; border-radius: 14px; padding: 12px 16px 10px; box-shadow: 0 4px 14px rgba(10,37,64,.06); }
.foot-qr img { width: 108px; height: 108px; display: block; margin: 0 auto; border-radius: 8px; }
.foot-qr b { display: block; margin-top: 8px; font-size: 12.5px; color: #0a2540; }
.foot-qr small { display: block; margin-top: 3px; font-size: 11px; color: #94a3b8; }
@media (max-width: 720px) { .foot-grid { flex-direction: column; align-items: center; } .foot-info { text-align: center; } .foot-brand { justify-content: center; } }

@media (max-width: 720px) {
    .grid3, .two-col, .result dl, .grid-form { grid-template-columns: 1fr; }
    .lic dl { grid-template-columns: 1fr; }
    .nav { gap: 12px; font-size: 13px; }
}

/* ========== 门户首页（参考授权中枢风格 · 原创实现） ========== */
.hero-tag { display: inline-block; font-size: 13px; color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 5px 16px; margin-bottom: 18px; }
.stats { display: flex; justify-content: center; gap: 56px; margin-top: 34px; }
.stats b { display: block; font-size: 30px; letter-spacing: -1px; background: linear-gradient(90deg, #2563eb, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 12.5px; color: #6b7c93; }
.section-head { text-align: center; margin: 54px 0 8px; }
.section-head h2 { font-size: 24px; letter-spacing: -0.5px; }
.sec-sub { color: #6b7c93; font-size: 14px; margin-top: 6px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.feat-icon { font-size: 24px; }
.feat h3 { font-size: 15.5px; margin: 10px 0 6px; }
.feat p { font-size: 13px; color: #425466; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.svc h3 { font-size: 18px; }
.svc-desc { color: #425466; font-size: 13.5px; margin: 4px 0 14px; }
.svc ul { list-style: none; margin-bottom: 18px; flex: 1; }
.svc li { font-size: 13.5px; color: #425466; padding: 4px 0 4px 22px; position: relative; }
.svc li::before { content: "✓"; position: absolute; left: 0; color: #2563eb; font-weight: 700; }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.role h3 { font-size: 15.5px; color: #2563eb; }
.role p { font-size: 13px; color: #425466; margin-top: 6px; }
@media (max-width: 900px) { .feature-grid, .role-grid { grid-template-columns: repeat(2, 1fr); } .svc-grid { grid-template-columns: 1fr; } .stats { gap: 28px; } }
@media (max-width: 560px) { .feature-grid, .role-grid { grid-template-columns: 1fr; } .stats { flex-direction: column; gap: 16px; } }

/* ===== 首页中段增强：色带 / 彩色图标块 / 悬停动效 ===== */
.sec-overline { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }

.steps-band { margin: 64px calc(50% - 50vw) 0; padding: 44px calc(50vw - 50% + 24px) 48px; background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%); }
.steps-band .section-head { margin: 0 0 8px; }
.steps-line { display: flex; align-items: stretch; gap: 14px; margin: 28px auto 0 !important; }
.steps-band .step-node { position: relative; border: 1px solid #dbeafe; box-shadow: 0 6px 18px rgba(37,99,235,.07); transition: transform .18s ease, box-shadow .18s ease; }
.steps-band .step-node:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(37,99,235,.14); }
.steps-band .step-node i { width: 34px; height: 34px; font-size: 15px; box-shadow: 0 4px 10px rgba(37,99,235,.35); }
.step-line { align-self: center; color: #93c5fd; font-size: 20px; font-weight: 700; flex: 0 0 auto; padding: 0 2px; }

.feature-grid .feat { position: relative; overflow: hidden; border-top: 3px solid transparent; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feature-grid .feat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,37,64,.10); }
.feat-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; font-size: 22px; box-shadow: 0 6px 14px rgba(10,37,64,.12); }
.feature-grid .feat h3 { font-size: 15.5px; margin: 14px 0 6px; }
.feat.f1 { border-top-color: #2563eb; } .feat.f1 .feat-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.feat.f2 { border-top-color: #0ea5e9; } .feat.f2 .feat-icon { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.feat.f3 { border-top-color: #1d4ed8; } .feat.f3 .feat-icon { background: linear-gradient(135deg, #1e3a8a, #1d4ed8); }
.feat.f4 { border-top-color: #10b981; } .feat.f4 .feat-icon { background: linear-gradient(135deg, #10b981, #34d399); }
.feat.f5 { border-top-color: #f59e0b; } .feat.f5 .feat-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.feat.f6 { border-top-color: #8b5cf6; } .feat.f6 .feat-icon { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }

/* 后台用户表：重置密码列 */
.tbl input[type="password"] { width: 110px; padding: 5px 8px; border: 1px solid #d9e2ec; border-radius: 8px; font-size: 12.5px; }
body { overflow-x: hidden; }

/* ===== 扩展功能 v2 组件样式 ===== */
.btn.danger { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.btn.danger:hover { background: #fee2e2; }
.btn.ghost { color: #2563eb; border: 1px dashed #93c5fd; background: #f8fafc; }
.btn.ghost:hover { background: #eff6ff; }
.chip-row { display: flex; align-items: center; gap: 8px; }
.filter-row { display: flex; align-items: center; gap: 8px; }

/* 优惠码 */
.cp-create { margin-bottom: 18px; }
.cp-create h3 { margin-bottom: 14px; }
.cp-form, .ag-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.cp-form .field, .ag-form .field { display: flex; flex-direction: column; gap: 5px; }
.cp-form .field label, .ag-form .field label { font-size: 12px; color: #64748b; font-weight: 600; }
.cp-form input, .ag-form input, .ag-form select { padding: 8px 12px; border: 1px solid #d9e2ec; border-radius: 10px; font-size: 13.5px; min-width: 130px; }
.cp-code { font-weight: 700; color: #1e40af; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 2px 10px; }
.cp-dis { color: #059669; }

/* 登录/注册验证码 + 推荐人 */
.captcha-row { display: flex; align-items: center; gap: 8px; }
.captcha-row .captcha-chip { white-space: nowrap; background: #eff6ff; color: #1d4ed8; font-weight: 700; font-size: 13.5px; border: 1px solid #bfdbfe; border-radius: 10px; padding: 9px 12px; user-select: none; letter-spacing: 1px; }
.ref-line { display: block; font-size: 12px; color: #64748b; font-weight: 600; margin: 12px 0 6px; }
form input[name="referrer"] { width: 100%; padding: 10px 14px; border: 1.5px solid #dbe2ee; border-radius: 12px; font-size: 14px; }

/* 支付页 */
.pay-panel { display: flex; justify-content: center; padding: 48px 0; }
.pay-card { width: 420px; max-width: 100%; padding: 28px; text-align: center; }
.pay-head { display: flex; justify-content: space-between; align-items: center; }
.pay-badge { font-size: 12px; font-weight: 700; color: #059669; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 999px; padding: 4px 12px; }
.pay-amount { font-size: 40px; font-weight: 800; color: #0a2540; margin: 18px 0 4px; letter-spacing: -1px; }
.pay-amount b::before { content: ""; }
.pay-desc { color: #425466; font-size: 14px; }
.pay-no { font-size: 12px; color: #6b7c93; margin: 6px 0 18px; }
.pay-qr { background: #f8fafc; border: 1px solid #eef1f6; border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.pay-qr img { background: #fff; border-radius: 10px; }
.pay-qr p { font-size: 12.5px; color: #64748b; margin-top: 10px; }
.pay-mock { margin-bottom: 12px; }
.pay-alt { display: flex; gap: 10px; justify-content: center; }

/* 提示 */
.hint { font-size: 12px; color: #6b7c93; margin-top: 8px; }
.hint b { color: #2563eb; }

/* ===== 首页内容充实：数据带 / 控制台分栏 / 评价 / FAQ ===== */

/* 真实数据统计带 */
.stat-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 34px 0 8px; padding: 30px 44px; background: linear-gradient(120deg, #0f2a5e 0%, #1e3a8a 45%, #2563eb 100%); border-radius: 20px; box-shadow: 0 16px 40px rgba(30,58,138,.28); }
.sb-item { text-align: center; flex: 1; }
.sb-item b { display: block; font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1.1; }
.sb-item b::after { content: "+"; font-size: 20px; font-weight: 700; color: #93c5fd; margin-left: 2px; }
.sb-item span { display: block; margin-top: 6px; font-size: 13px; color: #bfdbfe; }
.sb-div { width: 1px; height: 44px; background: rgba(255,255,255,.18); flex: 0 0 auto; }

/* 授权中枢控制台分栏 */
.console-band { margin: 72px calc(50% - 50vw) 0; padding: 56px calc(50vw - 50% + 24px) 60px; background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); }
.console-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.cs-copy h2 { font-size: 30px; margin: 8px 0 10px; color: #0a2540; letter-spacing: -.5px; }
.cs-copy .sec-sub { margin-bottom: 22px; }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.check-list li i { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; font-style: normal; font-weight: 800; font-size: 15px; box-shadow: 0 6px 14px rgba(37,99,235,.3); }
.check-list li b { font-size: 15px; color: #0a2540; }
.check-list li span { font-size: 13px; color: #5a6b85; margin-top: 2px; }
.cs-btns { display: flex; gap: 12px; }
.btn.ghost-dark { color: #1e3a8a; border: 1px solid #c7d7f5; background: #fff; }
.btn.ghost-dark:hover { background: #eff6ff; }

/* 模拟管理窗口 */
.cs-mock { position: relative; }
.mock-bar { display: flex; align-items: center; gap: 6px; background: #1e293b; border-radius: 14px 14px 0 0; padding: 11px 16px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: #cbd5e1; letter-spacing: .5px; }
.mock-body { display: grid; grid-template-columns: 108px 1fr; background: #fff; border: 1px solid #e2e8f0; border-top: none; border-radius: 0 0 14px 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(10,37,64,.14); }
.mock-side { display: flex; flex-direction: column; gap: 2px; background: #f8fafc; border-right: 1px solid #eef1f6; padding: 12px 8px; }
.mock-side span { font-size: 12.5px; color: #64748b; padding: 7px 12px; border-radius: 8px; }
.mock-side span.on { background: #eff6ff; color: #1d4ed8; font-weight: 700; }
.mock-main { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.mock-row { display: grid; grid-template-columns: 1.5fr .9fr .9fr .8fr; align-items: center; gap: 8px; font-size: 12.5px; color: #334155; background: #f8fafc; border: 1px solid #eef1f6; border-radius: 9px; padding: 9px 12px; }
.mock-row.head { background: transparent; border: none; color: #94a3b8; font-weight: 600; padding-bottom: 0; font-size: 11.5px; }
.mock-row b { font-weight: 700; font-size: 11.5px; border-radius: 999px; padding: 2px 10px; text-align: center; }
.mock-row b.g { color: #059669; background: #ecfdf5; }
.mock-row b.o { color: #dc2626; background: #fef2f2; }
.mock-chip { position: absolute; right: -14px; bottom: -18px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 10px 26px rgba(10,37,64,.14); border-radius: 12px; padding: 10px 16px; font-size: 12.5px; font-weight: 700; color: #1e3a8a; }

/* 客户评价 */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.testi { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.testi .stars { color: #f59e0b; font-size: 15px; letter-spacing: 3px; }
.testi p { font-size: 14px; line-height: 1.75; color: #33415c; margin: 0; flex: 1; }
.testi-by { display: flex; align-items: center; gap: 12px; border-top: 1px solid #f1f4f9; padding-top: 14px; }
.testi-by .avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px; }
.avatar.a1 { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.avatar.a2 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.avatar.a3 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.testi-by b { display: block; font-size: 13.5px; color: #0a2540; }
.testi-by small { font-size: 12px; color: #6b7c93; }

/* FAQ */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.faq { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 700; font-size: 14.5px; color: #0a2540; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-style: normal; color: #2563eb; font-weight: 800; font-size: 18px; transition: transform .18s ease; flex: 0 0 auto; }
.faq[open] summary i { transform: rotate(45deg); }
.faq[open] summary { border-bottom: 1px solid #f1f4f9; }
.faq p { margin: 0; padding: 14px 22px 18px; font-size: 13.5px; line-height: 1.8; color: #5a6b85; }
.faq p b { color: #1d4ed8; }

@media (max-width: 1024px) {
  .stat-band { flex-wrap: wrap; padding: 24px; }
  .sb-div { display: none; }
  .sb-item { flex: 1 1 40%; }
  .console-split { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
}

/* ===== 开发文档页 ===== */
.docs-wrap { max-width: 880px; padding-bottom: 56px; }
.doc-hero { text-align: center; padding: 46px 0 8px; }
.doc-hero h1 { font-size: 34px; letter-spacing: -1px; color: #0a2540; margin: 8px 0 10px; }
.doc-hero p { color: #5a6b85; font-size: 15px; max-width: 560px; margin: 0 auto 22px; line-height: 1.7; }
.doc-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.doc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; border: 1px solid #dbe6f8; background: #fff; color: #1e3a8a; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: all .15s ease; }
.doc-tab:hover { background: #eff6ff; border-color: #bfdbfe; transform: translateY(-1px); }

.doc-section { background: #fff; border: 1px solid #e8eef7; border-radius: 16px; padding: 30px 34px; margin-top: 26px; box-shadow: 0 4px 18px rgba(10,37,64,.05); scroll-margin-top: 76px; }
.doc-section h2 { font-size: 21px; color: #0a2540; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid #eff6ff; }
.doc-section h3 { font-size: 15.5px; color: #1e3a8a; margin: 24px 0 10px; }
.doc-lead { font-size: 14px; color: #425466; line-height: 1.8; margin: 0 0 6px; }
.doc-lead b, .doc-tip b, .faq p b { color: #1d4ed8; }
.doc-tip { font-size: 13px; color: #64748b; line-height: 1.8; margin: 8px 0; }

.doc-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 14px 0; }
.doc-step + .doc-step { border-top: 1px dashed #eef1f6; }
.ds-no { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 6px 14px rgba(37,99,235,.3); }
.ds-body h3 { margin: 4px 0 6px; font-size: 15.5px; color: #0a2540; }
.ds-body p { margin: 0; font-size: 13.5px; color: #5a6b85; line-height: 1.85; }
.ds-body a { color: #2563eb; font-weight: 600; }

.doc-note { margin-top: 18px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: #1e3a8a; line-height: 1.8; }
.doc-note b { color: #1d4ed8; }

.endpoint-box { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.endpoint-box code { color: #1d4ed8; font-size: 13.5px; background: transparent; padding: 0; }
.ep-method { font-size: 11.5px; font-weight: 800; border-radius: 6px; padding: 3px 9px; letter-spacing: .5px; }
.ep-method.get { color: #059669; background: #ecfdf5; }
.ep-method.post { color: #b45309; background: #fffbeb; }
.ep-or { color: #94a3b8; font-size: 12px; }

.docs-wrap pre { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 20px; overflow-x: auto; margin: 10px 0 18px; }
.docs-wrap pre code { color: #334155; font-size: 12.5px; line-height: 1.75; font-family: Consolas, "JetBrains Mono", monospace; background: transparent; padding: 0; border-radius: 0; }

code { background: #eff6ff; color: #1d4ed8; border-radius: 5px; padding: 1.5px 6px; font-size: 12.5px; font-family: Consolas, monospace; }

.doc-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 13px; }
.doc-table th { text-align: left; background: #f8fafc; color: #64748b; font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 10px 14px; border-bottom: 2px solid #eef1f6; }
.doc-table td { padding: 11px 14px; border-bottom: 1px solid #f1f4f9; color: #33415c; line-height: 1.7; vertical-align: top; }
.doc-table tr:hover td { background: #fafcff; }

.doc-best { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc-best li { position: relative; padding: 12px 16px 12px 44px; background: #f8fafc; border: 1px solid #eef1f6; border-radius: 12px; font-size: 13.5px; color: #425466; line-height: 1.8; }
.doc-best li::before { content: "✓"; position: absolute; left: 16px; top: 12px; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.doc-best li b { color: #0a2540; }

.doc-cta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; padding: 22px; background: linear-gradient(120deg, #eff6ff, #f8fafc); border: 1px dashed #bfdbfe; border-radius: 16px; }
.doc-cta div { font-weight: 700; color: #1e3a8a; }
