:root {
    --blue: #2B7DE9;
    --blue-dark: #1D63C4;
    --blue-soft: #EFF6FF;
    --blue-border: #BFDBFE;
    --brand-ink: #0F3A68;
    --accent: #FF7A00;
    --accent-end: #FF4D00;
    --accent-gradient: linear-gradient(90deg, #FF7A00 0%, #FF4D00 100%);
    --banner-gradient: linear-gradient(135deg, #164E96 0%, #2B7DE9 100%);
    --ink: #1E293B;
    --muted: #667085;
    --line: #e7ebf3;
    --bg: #f5f7fb;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-bar {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 74px;
}
.brand { display: flex; align-items: center; flex: none; }
.logo { width: 148px; height: 53px; object-fit: contain; }
.main-nav { display: flex; gap: 8px; }
.main-nav a { padding: 8px 12px; color: #344054; font-size: 17px; }
.main-nav a.on { color: var(--blue); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.search {
    margin-left: auto;
    display: flex;
    align-items: center;
    width: 230px;
    height: 38px;
    padding: 0 8px 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
}
.search input {
    flex: 1;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}
.search button { border: 0; background: transparent; color: #98a2b3; cursor: pointer; }
.login-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.user-menu { position: relative; flex: none; }
.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
    overflow: hidden;
    cursor: pointer;
}
.user-avatar i { line-height: 1; }
.user-avatar img,
.user-avatar .user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.user-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.user-drop, .user-drop[hidden] {
    display: none !important;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 188px;
    padding: 8px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(31, 45, 90, .16);
    z-index: 30;
}
.user-menu:hover .user-drop { display: block !important; }
.user-drop a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #344054; font-size: 14px; white-space: nowrap; }
.pay-actions { display: flex; gap: 12px; align-items: center; }
.pay-actions form { margin: 0; }
#wechat-qr { width: 220px; margin-top: 8px; background: #fff; }
.user-drop a:hover { background: #f5f7fb; }
.user-drop i { width: 16px; color: #98a2b3; text-align: center; }
.user-drop .user-logout { margin-top: 6px; border-top: 1px solid var(--line); color: #667085; }
.center-layout { display: grid; grid-template-columns: 220px 1fr; gap: 18px; margin-top: -18px; padding-bottom: 28px; }
.center-side, .center-main { background: #fff; border-radius: 16px; box-shadow: 0 10px 28px rgba(31, 45, 90, .06); }
.center-side {
    padding: 8px 0 10px;
    align-self: start;
    overflow: hidden;
}
.center-side a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 14px 20px;
    border-radius: 0;
    color: #8b93a7;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
}
.center-side a i {
    width: 18px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    flex: none;
}
.center-side a span { flex: 1; }
.center-side-nav a.on {
    background: #f3f2ff;
    color: #2B7DE9;
    font-weight: 500;
}
.center-side-nav a.on::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    bottom: 10px;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: #2B7DE9;
}
.center-side-title {
    margin: 0 0 2px;
    padding: 16px 20px 14px;
    color: #1d2433 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #eef0f5;
}
.center-side-title i { color: #2B7DE9; }
.center-side-title.on {
    background: transparent !important;
    color: #1d2433 !important;
}
.center-side-title.on::after { display: none; }
.center-side .user-logout {
    margin-top: 4px;
    border-top: 1px solid #eef0f5;
    color: #8b93a7;
}
.center-side .user-logout i { font-size: 18px; font-weight: 700; }
.center-main { padding: 22px; }
.center-main.apps-main { background: transparent; box-shadow: none; padding: 0; }
.center-main h2 { margin: 0 0 8px; font-size: 22px; }
.center-main h3 { margin: 0 0 8px; font-size: 17px; }
.center-main .lead-text { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.app-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 90, .06);
}
.app-card-link { display: block; color: inherit; text-decoration: none; }
.app-card-link:hover .app-card-title { color: #2B7DE9; }
.app-audit-link { color: #2B7DE9; font-weight: 600; }
.app-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.app-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    color: #1D63C4;
    font-size: 24px;
    flex: none;
}
.app-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.app-badge.is-on { color: #067647; background: #ecfdf3; }
.app-badge.is-off { color: #b42318; background: #fef3f2; }
.app-card-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--ink);
}
.app-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin: 0 0 18px;
}
.app-meta div { min-width: 0; }
.app-meta dt {
    margin: 0 0 2px;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 500;
}
.app-meta dd {
    margin: 0;
    color: #344054;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-all;
}
.app-meta a { color: #1D63C4; font-weight: 600; }
.app-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}
.app-card-actions .btn {
    width: 100%;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    font-size: 13px;
}
.btn-danger-outline {
    border: 1px solid #fda29b;
    background: #fff;
    color: #d92d20;
}
.btn-danger-outline:hover { background: #fef3f2; }
.btn-danger-outline:disabled { opacity: .55; cursor: default; }
.app-empty {
    padding: 36px 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 90, .06);
    text-align: center;
}
.apps-main .notice { max-width: none; margin: 0 0 14px; }

.detail-page { display: flex; flex-direction: column; gap: 16px; }
.detail-head {
    padding: 18px 22px 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 90, .06);
}
.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 14px;
}
.detail-back:hover { color: #2B7DE9; }
.detail-back i { font-size: 18px; font-weight: 700; }
.detail-info { display: flex; gap: 24px; align-items: flex-start; }
.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    color: #2B7DE9;
    font-size: 36px;
    flex: none;
}
.detail-icon img { width: 100%; height: 100%; object-fit: cover; }
.detail-main { flex: 1; min-width: 0; }
.detail-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.detail-name { margin: 0; font-size: 26px; line-height: 1.25; color: #1e293b; }
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 24px;
    margin-bottom: 22px;
}
.detail-grid .detail-label {
    display: block;
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 13px;
}
.detail-grid strong { display: block; color: #1e293b; font-size: 15px; font-weight: 600; }
.detail-grid a { color: #2B7DE9; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-detail-primary,
.btn-detail-secondary,
.btn-auth-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}
.btn-detail-primary { background: var(--accent-gradient); color: #fff; border: 0; }
.btn-detail-primary:hover { filter: brightness(0.96); color: #fff; }
.btn-detail-secondary { background: #EFF6FF; color: #2B7DE9; border-color: #93C5FD; }
.btn-detail-secondary:hover { background: #EFF6FF; }
.btn-auth-danger { background: #fff; color: #ef4444; border-color: #fecaca; }
.btn-auth-danger:hover { background: #fef2f2; }
.btn-detail-primary.grow,
.auth-actions .grow,
.template-actions .grow {
    flex: 0 0 auto;
    width: auto;
    min-width: 132px;
    max-width: 200px;
}

.detail-tabs {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 90, .06);
    overflow: hidden;
}
.detail-tab-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.detail-tab-btn {
    position: relative;
    height: 52px;
    border: 0;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.detail-tab-btn.on {
    background: #fff;
    color: #2B7DE9;
    font-weight: 600;
}
.detail-tab-btn.on::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #2B7DE9;
}
.detail-tab-body { padding: 24px; }
.detail-pane { display: none; flex-direction: column; gap: 18px; }
.detail-pane.on { display: flex; }

.auth-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border-radius: 12px;
    background: #f8fafc;
}
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title-row h3 { margin: 0; font-size: 18px; color: #1e293b; }
.auth-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}
.auth-badge.ok { background: #d1fae5; color: #065f46; }
.auth-info-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
    background: #fff;
}
.auth-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #64748b;
    font-size: 14px;
}
.auth-info-row strong { color: #1e293b; font-weight: 600; word-break: break-all; text-align: right; }
.ok-text { color: #059669 !important; }
.auth-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.auth-tips {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 8px;
    background: #EFF6FF;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}
.auth-tips i { color: #94a3b8; margin-top: 2px; }
.auth-guide {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
.auth-guide h4 { margin: 0 0 16px; font-size: 16px; color: #1e293b; }
.guide-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.guide-steps li { display: flex; align-items: center; gap: 14px; color: #334155; font-size: 14px; }
.guide-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #2B7DE9;
    font-weight: 700;
    flex: none;
}

.section-title { margin: 0 0 4px; font-size: 18px; color: #1e293b; }
.template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 12px 0 16px;
}
.template-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}
.template-card input { position: absolute; opacity: 0; pointer-events: none; }
.template-card:has(input:checked) { border-color: #2B7DE9; box-shadow: 0 4px 12px rgba(43, 125, 233, .18); }
.template-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    background: #f8fafc;
    color: #2B7DE9;
    font-size: 42px;
}
.template-info { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.template-info strong { color: #1e293b; font-size: 15px; }
.template-info em { color: #64748b; font-style: normal; font-size: 13px; line-height: 1.5; }
.template-check {
    position: absolute;
    top: 12px;
    right: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2B7DE9;
    color: #fff;
}
.template-card:has(input:checked) .template-check { display: inline-flex; }
.template-actions { display: flex; gap: 12px; }
.current-template { margin-top: 8px; }
.current-template-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    padding: 18px;
    border-radius: 12px;
    background: #f8fafc;
}
.current-template-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 96px;
    border-radius: 8px;
    background: #fff;
    color: #2B7DE9;
    font-size: 28px;
    flex: none;
}
.current-template-info { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.current-template-info strong { font-size: 16px; color: #1e293b; }
.current-template-info em,
.current-template-info span { color: #94a3b8; font-style: normal; font-size: 13px; }

.review-form,
.bind-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: 12px;
    background: #f8fafc;
}
.review-form .form-group,
.bind-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}
.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-weight: 400;
    color: #1e293b;
}
.review-form input:focus,
.review-form textarea:focus { outline: 0; border-color: #2B7DE9; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.review-history { display: flex; flex-direction: column; gap: 12px; }
.review-toolbar { margin-bottom: 4px; }
.review-timeline {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
.timeline-item {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}
.timeline-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex: none;
    margin-top: 2px;
    border: 3px solid #94a3b8;
    background: #e2e8f0;
}
.timeline-dot.ok { border-color: #059669; background: #d1fae5; }
.timeline-dot.ing { border-color: #2B7DE9; background: #EFF6FF; }
.timeline-dot.fail { border-color: #ef4444; background: #fee2e2; }
.timeline-content { flex: 1; min-width: 0; }
.timeline-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.timeline-header strong { color: #1e293b; font-size: 15px; }
.timeline-header time { color: #94a3b8; font-size: 13px; white-space: nowrap; }
.timeline-content p { margin: 0 0 8px; color: #64748b; font-size: 14px; line-height: 1.6; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #94a3b8; font-size: 13px; margin-bottom: 6px; }
.timeline-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.timeline-actions a { color: #2B7DE9; font-weight: 600; font-size: 13px; }
.mini-block { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.mini-block:first-of-type { margin-top: 12px; }
.mini-block .sheet-narrow { margin-top: 8px; }
.mini-block .btn { margin-top: 8px; }
.linkish { border: 0; background: none; color: var(--blue); font: inherit; cursor: pointer; padding: 0; margin-right: 10px; }
.linkish:disabled { opacity: .5; cursor: default; }
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.profile-head .user-avatar { width: 64px; height: 64px; flex: none; font-size: 28px; }
.profile-head p { margin: 4px 0 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 16px; border-radius: 12px; background: #f8fafc; }
.stat span { color: var(--muted); font-size: 13px; }
.stat strong { display: block; margin-top: 6px; font-size: 22px; }
.data { width: 100%; border-collapse: collapse; }
.data th, .data td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.data th { color: #667085; font-weight: 600; }
.sheet-narrow { max-width: 520px; margin: 0; padding: 0; box-shadow: none; }
.login-mask {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, .45);
}
.login-mask[hidden] { display: none; }
.login-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    padding: 36px 28px 22px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}
.login-dialog.is-form {
    display: flex;
    flex-direction: column;
    height: 680px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
}
.login-dialog.is-form h2,
.login-dialog.is-form .login-status,
.login-dialog.is-form .login-agree { flex: 0 0 auto; }
.login-dialog.is-form #login-profile {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
}
.login-close {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    border: 0;
    background: transparent;
    color: #98a2b3;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.login-corner {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 230px;
    height: 96px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.login-corner[hidden] { display: none; }
.login-corner-fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 92px 92px 0;
    border-color: transparent #e7f1ff transparent transparent;
}
.login-corner-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    color: var(--blue);
    pointer-events: none;
}
.login-corner-tip {
    position: absolute;
    top: 18px;
    right: 86px;
    height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}
.login-corner-tip::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -7px;
    border-style: solid;
    border-width: 6px 0 6px 7px;
    border-color: transparent transparent transparent var(--blue);
}
.login-dialog h2 { margin: 8px 120px 18px 36px; font-size: 26px; }
.login-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 0;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}
.login-steps li { display: flex; align-items: center; color: var(--blue); font-size: 14px; }
.login-steps li span {
    width: 22px;
    height: 22px;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
}
.login-steps li:not(:last-child)::after {
    content: "";
    width: 28px;
    height: 1px;
    margin: 0 8px;
    background: #d0d5dd;
}
.login-qr { min-height: 220px; display: flex; align-items: center; justify-content: center; }
.login-qr img { width: 220px; height: 220px; }
.login-qr img[hidden], .login-wait[hidden], #login-scan[hidden], #login-profile[hidden], #login-password[hidden], .login-steps[hidden] { display: none !important; }
.login-avatar { display: flex; align-items: center; gap: 12px; margin-top: 8px; text-align: left; }
.login-avatar p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.login-avatar-btn {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px dashed #d0d5dd;
    border-radius: 50%;
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
    overflow: hidden;
}
.login-avatar-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.login-avatar-btn img[hidden] { display: none !important; }
.login-section { margin: 16px 0 0; color: #101828; font-size: 14px; font-weight: 600; text-align: left; }
.login-note, .login-wait, .login-status, .login-agree { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.login-status.is-error { color: #b42318; font-weight: 600; }
.login-status.is-ok { color: #027a48; font-weight: 600; }
.login-toast {
    position: absolute;
    left: 50%;
    top: 86px;
    z-index: 8;
    max-width: calc(100% - 40px);
    padding: 10px 14px;
    border-radius: 8px;
    background: #b42318;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 10px 24px rgba(180, 35, 24, .28);
    transform: translateX(-50%) translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}
.login-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.login-toast.is-ok { background: #027a48; box-shadow: 0 10px 24px rgba(2, 122, 72, .28); }
.login-agree a { color: var(--blue); }
.login-field { display: block; margin-top: 12px; color: #344054; font-size: 13px; text-align: left; }
.login-field input, .login-submit, .login-send, .login-switch {
    width: 100%;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}
.login-field input { height: 40px; padding: 0 12px; }
.login-code { display: flex; gap: 8px; align-items: flex-end; }
.login-code .login-field { flex: 1; }
.login-send { width: 118px; height: 40px; margin-top: 0; background: #fff; color: var(--blue); cursor: pointer; }
.login-submit { height: 42px; margin-top: 16px; border: 0; background: var(--blue); color: #fff; cursor: pointer; }
.login-switch { height: 38px; margin-top: 12px; background: #fff; color: var(--blue); cursor: pointer; }
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.banner {
    background: linear-gradient(100deg, #164E96, #2B7DE9);
    color: #fff;
}
.banner-row {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 28px;
    align-items: center;
    padding: 42px 0;
}
.hero {
    color: #fff;
}
.eyebrow { margin: 0 0 12px; letter-spacing: .08em; font-size: 13px; opacity: .9; }
.hero h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.25; }
.lead { max-width: 560px; margin: 0; line-height: 1.7; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
}
.btn-white { background: #fff; color: var(--blue); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: 0;
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.22);
}
.btn-primary:hover {
    filter: brightness(0.96);
    color: #fff;
}
.apps-main .btn-primary {
    background: var(--accent-gradient);
    border-radius: 10px;
}
.apps-main .btn-primary:hover {
    filter: brightness(0.96);
}
.btn-ghost-dark {
    border: 1px solid #93C5FD;
    color: var(--blue);
    background: #EFF6FF;
}
.btn-secondary-soft {
    border: 1px solid #93C5FD;
    color: var(--blue);
    background: #EFF6FF;
}
.quick { display: flex; flex-direction: column; gap: 12px; }
.quick-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px;
    border-radius: 16px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 45, 90, .06);
}
.quick-card i { color: var(--blue); font-size: 20px; }
.quick-card strong { margin-top: 8px; font-size: 16px; }
.quick-card span { margin-top: 4px; color: var(--muted); font-size: 13px; }

.market { margin-top: 22px; }
.filters {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
}
.chips, .sorts { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .sorts a {
    padding: 7px 12px;
    border-radius: 999px;
    color: #475467;
    background: transparent;
    font-size: 14px;
}
.chips a.on, .sorts a.on { background: #EFF6FF; color: var(--blue); }
.chips em { font-style: normal; color: #98a2b3; margin-left: 4px; }
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.soft-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 90, .06);
}
.cover {
    display: block;
    height: 168px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
}
.cover img { width: 100%; height: 168px; object-fit: cover; }
.cover-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: .08em;
}
.soft-body { padding: 16px 16px 18px; }
.soft-body h2 { margin: 0 0 8px; font-size: 18px; }
.meta { display: flex; gap: 8px; margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.meta span { padding: 2px 8px; border-radius: 999px; background: #f2f4f7; }
.brief {
    min-height: 44px;
    margin: 0 0 14px;
    color: #475467;
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.soft-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: #f04438; font-size: 13px; line-height: 1.4; }
.price b { color: #067647; font-weight: 700; }
.price em { font-style: normal; }
.empty { padding: 48px 0 24px; text-align: center; color: var(--muted); }

.info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 28px auto 10px;
}
.info div { padding: 22px; border-radius: 16px; background: #fff; }
.info h2 { margin: 0 0 8px; font-size: 18px; }
.info p { margin: 0 0 8px; color: #475467; line-height: 1.7; font-size: 14px; }
.info a { color: var(--blue); }
.member-block { margin-top: 28px; }
.block-title { margin: 0; text-align: center; font-size: 28px; }
.block-lead { max-width: 720px; margin: 8px auto 18px; text-align: center; color: var(--muted); line-height: 1.7; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.plan-grid.two { grid-template-columns: 1fr 1fr; }
.plan-grid.four { grid-template-columns: repeat(4, 1fr); }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step-grid { grid-template-columns: repeat(4, 1fr); }
.plan, .step-grid article, .faq article { padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(31, 45, 90, .06); }
.plan-vip { border: 2px solid #f5b942; }
.plan-mark { margin: 0 0 6px; color: var(--blue); font-size: 13px; font-weight: 700; }
.plan h3, .step-grid h3, .faq h3 { margin: 0 0 8px; font-size: 20px; }
.plan-price { margin: 0 0 12px; color: #f04438; font-size: 22px; font-weight: 700; }
.plan ul { margin: 0 0 18px; padding-left: 18px; color: #475467; line-height: 1.8; }
.plan .btn { width: 100%; }
.compare-wrap { overflow-x: auto; border-radius: 16px; background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.compare th { background: #f8fafc; }
.compare th:nth-child(3), .compare td:nth-child(3) { background: #fbf7ea; }
.compare .feat { color: #12b76a; font-weight: 700; white-space: nowrap; }
.compare .no { color: #f04438; font-weight: 700; }
.step-grid strong { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #EFF6FF; color: var(--blue); }
.step-grid p, .faq p { margin: 0; color: #475467; line-height: 1.7; }
.step-grid a, .faq a { display: inline-block; margin-top: 8px; color: var(--blue); }
.sheet { max-width: 720px; margin: 0 auto; padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(31, 45, 90, .06); }
.sheet-center { text-align: center; }
.sheet-center .btn { margin-top: 12px; border: 0; cursor: pointer; }
.sheet label { display: block; margin: 14px 0 6px; font-size: 14px; }
.sheet input, .sheet select, .sheet textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.sheet .field-label { display: block; margin: 14px 0 6px; font-size: 14px; }
.sheet .pay-choice { display: flex; gap: 10px; }
.sheet .pay-option { flex: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.sheet .pay-option input { width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; }
.sheet .pay-option:has(input:checked) { border-color: var(--blue); background: #EFF6FF; color: var(--blue); font-weight: 600; }
.sheet .btn { margin-top: 16px; border: 0; cursor: pointer; }
.notice { max-width: 720px; margin: 0 auto 12px; padding: 12px 14px; border-radius: 10px; background: #EFF6FF; color: #2446b5; }
.notice-warn { background: #fff4f2; color: #b42318; }
.copy-card { display: inline-block; border: 0; padding: 4px 0; background: transparent; color: var(--blue); font: inherit; cursor: pointer; text-align: left; }
.copy-card.copied { color: #067647; }
.card-state { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.card-state-0 { color: #b54708; background: #fffaeb; }
.card-state-1 { color: #175cd3; background: #eff4ff; }
.card-state-2 { color: #067647; background: #ecfdf3; }
.card-state-3 { color: #b42318; background: #fef3f2; }
.mine-list { max-width: 720px; margin: 16px auto 0; }
.faq { display: grid; gap: 12px; }

.market-hero { background: var(--banner-gradient); color: #fff; }
.market-hero .wrap { padding: 28px 0 26px; }
.market-hero .crumb { margin: 0 0 8px; opacity: .8; font-size: 13px; }
.market-hero h1 { margin: 0 0 6px; font-size: 32px; }
.market-hero p { margin: 0; opacity: .92; }
.market-layout { display: grid; grid-template-columns: 240px 1fr; gap: 18px; margin-top: -18px; padding-bottom: 20px; }
.side, .market-main { background: #fff; border-radius: 16px; }
.side { padding: 18px 16px 20px; align-self: start; box-shadow: 0 10px 28px rgba(31, 45, 90, .06); }
.side h2 { margin: 16px 0 8px; font-size: 15px; }
.side h2:first-child { margin-top: 0; }
.side-link, .check { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; color: #344054; font-size: 14px; }
.check span { display: flex; align-items: center; }
.side-link.child { padding-left: 24px; color: #667085; }
.side-link.on { background: #EFF6FF; color: var(--blue); font-weight: 600; }
.side-link em, .check em { font-style: normal; color: #98a2b3; }
.check input { margin-right: 6px; }
.side-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.side-actions .btn { width: 100%; }
.market-main { padding: 16px; }
.market-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tool-search { flex: 1; display: flex; align-items: center; height: 38px; padding: 0 8px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #f8fafc; }
.tool-search input { flex: 1; border: 0; outline: 0; background: transparent; }
.tool-search button { border: 0; background: transparent; color: #98a2b3; }
.tool-selects { display: flex; gap: 8px; }
.tool-selects a { padding: 7px 10px; border-radius: 8px; color: #475467; font-size: 13px; background: #f8fafc; }
.tool-selects a.on, .sorts a.on { color: var(--blue); background: #EFF6FF; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pager a { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #f8fafc; }
.pager a.on { background: var(--blue); color: #fff; }
.site-footer { margin-top: 28px; padding: 40px 0 0; background: #1E2532; color: #cbd5e1; }
/* 对应 Tailwind: grid grid-cols-1 md:grid-cols-12 gap-8 */
.foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 768px) {
    .foot-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 32px;
        align-items: start;
    }
    .foot-brand { grid-column: span 4; }
    .foot-col:nth-child(2),
    .foot-col:nth-child(3) { grid-column: span 2; }
    .foot-guide { grid-column: span 4; }
}
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 16px; font-weight: 600; }
.foot-col a {
    display: block;
    margin: 0 0 10px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    transition: color .2s ease;
}
.foot-col a:hover { color: #fff; }
.foot-col p,
.foot-intro {
    margin: 0 0 14px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.75;
}
.foot-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff !important;
    text-decoration: none;
}
.foot-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.foot-logo span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
}
.foot-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}
.foot-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}
.foot-contact .fa {
    width: 16px;
    text-align: center;
    color: #64748b;
}
.foot-contact a { display: inline; margin: 0; color: #94a3b8; }
.foot-contact a:hover { color: #fff; }
.foot-phone {
    font-size: 18px !important;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: .02em;
}
.foot-qr-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}
.foot-qr {
    flex: none;
    width: 96px;
    height: 96px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.foot-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.foot-qr-placeholder {
    display: block;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
}
.foot-qr-tip {
    margin: 0 !important;
    flex: 1;
    min-width: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}
.foot-bottom {
    margin-top: 28px;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(51, 65, 85, .5); /* border-slate-700/50 */
}
.foot-copy {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 20px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}
.foot-copy a { color: #64748b; transition: color .2s ease; }
.foot-copy a:hover { color: #cbd5e1; }
.foot-icp-placeholder { color: #475569; }

.doc-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 70vh;
}
.doc-nav {
    position: fixed;
    top: 98px;
    left: max(16px, calc((100vw - 1180px) / 2));
    z-index: 5;
    width: 232px;
    max-height: calc(100vh - 120px);
    padding: 16px 10px 12px;
    overflow: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 90, .06);
    counter-reset: toc;
}
.doc-nav p { margin: 4px 8px 8px; color: #98a2b3; font-size: 12px; letter-spacing: .08em; }
.doc-back { display: block; margin: 0 8px 10px; color: var(--blue); font-size: 13px; }
.doc-nav a[href^="#"], .doc-nav a.lv1 {
    display: block;
    padding: 7px 10px 7px 12px;
    border-radius: 8px;
    color: #344054;
    font-size: 14px;
    line-height: 1.45;
}
.doc-nav a.lv1::before {
    counter-increment: toc;
    content: counter(toc, decimal-leading-zero);
    display: inline-block;
    width: 24px;
    margin-right: 4px;
    color: #98a2b3;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.doc-nav a.lv2 { padding-left: 40px; color: #667085; font-size: 13px; }
.doc-nav a.lv3 { padding-left: 54px; color: #667085; font-size: 13px; }
.doc-nav a.lv4, .doc-nav a.lv5, .doc-nav a.lv6 { padding-left: 68px; color: #667085; font-size: 13px; }
.doc-nav a[href^="#"]:hover, .doc-nav a.lv1:hover { background: #EFF6FF; color: var(--blue); }
.doc-nav a.on { background: #EFF6FF; color: var(--blue); font-weight: 600; }
.doc-nav a.on::before { color: var(--blue); }
.doc-main {
    margin-left: 260px;
    padding: 32px 40px 48px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 90, .06);
}
.doc-page.doc-below {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
    padding-bottom: 48px;
}
.doc-page.doc-below .doc-nav {
    position: sticky;
    top: 98px;
    left: auto;
}
.doc-page.doc-below .doc-main { margin-left: 0; }
.doc-main [id] { scroll-margin-top: 96px; }
.doc-intro { display: block; }
.doc-cover { display: block; width: 100%; height: auto; margin: 0 0 22px; border-radius: 16px; }
.doc-body img { display: block; width: 100%; height: auto; margin: 12px 0; border-radius: 16px; }
.doc-main h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.3; }
.doc-meta { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.doc-meta span { display: inline-block; margin-right: 16px; }
.doc-brief { margin: 0; color: #344054; font-size: 16px; line-height: 1.8; }
.doc-h { margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 650; }
.doc-h.depth-2 { font-size: 18px; }
.doc-h.depth-3, .doc-h.depth-4, .doc-h.depth-5, .doc-h.depth-6 { font-size: 16px; }
.doc-body { color: #344054; font-size: 15px; line-height: 1.8; }
.doc-body h3 { margin: 22px 0 8px; font-size: 18px; }
.doc-body p { margin: 0 0 10px; }
.doc-body ol, .doc-body ul { margin: 0 0 12px; padding-left: 22px; }
.doc-body li { margin: 0 0 6px; }
.doc-box { margin: 12px 0 16px; padding: 14px 16px; border: 1px solid #e5eaf2; border-radius: 12px; background: #f7f9fc; }
.doc-box p { margin: 0 0 8px; color: #344054; line-height: 1.7; }
.doc-box p:last-child { margin-bottom: 0; }
.doc-box a { color: var(--blue); word-break: break-all; }
.doc-k { display: inline-block; width: 76px; color: #98a2b3; }
.doc-actions { display: flex; gap: 12px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.doc-actions .inline-action { margin: 0; }

@media (max-width: 1100px) {
    .info, .plan-grid.four, .app-grid, .detail-grid, .template-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); }
    .main-nav.open { display: flex; flex-direction: column; }
    .header-bar { flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 0; }
    .user-menu { order: 3; }
    .user-avatar { width: 40px; height: 40px; flex: none; }
    .user-menu:hover .user-drop { display: none !important; }
    .user-menu.is-open .user-drop { display: block !important; }
    .search { order: 4; width: 100%; margin-left: 0; }
    .login-btn { order: 5; width: 100%; margin-left: 0; }
    .center-layout, .stat-grid { grid-template-columns: 1fr; }
    .banner-row, .grid, .info, .market-layout, .plan-grid, .plan-grid.two, .plan-grid.four, .step-grid, .app-grid { grid-template-columns: 1fr; display: block; }
    .foot-grid { grid-template-columns: 1fr; }
    .app-card { margin-bottom: 14px; }
    .detail-info { flex-direction: column; }
    .detail-grid, .template-grid, .detail-tab-nav { grid-template-columns: 1fr; }
    .detail-tab-btn { height: 46px; }
    .detail-tab-body { padding: 16px; }
    .current-template-card { flex-direction: column; align-items: flex-start; }
    .auth-info-row { flex-direction: column; align-items: flex-start; }
    .auth-info-row strong { text-align: left; }
    .plan, .step-grid article { margin-bottom: 12px; }
    .market-tools { flex-wrap: wrap; }
    .side { margin-bottom: 14px; }
    .banner-row { padding: 28px 0; }
    .quick { margin-top: 18px; }
    .quick-card { margin-bottom: 10px; }
    .hero h1 { font-size: 28px; }
    .soft-card { margin-bottom: 14px; }
    .info div { margin-bottom: 12px; }
    .doc-nav { position: static; left: auto; top: auto; width: auto; max-height: 280px; margin-bottom: 14px; }
    .doc-page.doc-below { display: block; }
    .doc-page.doc-below .doc-nav { position: static; }
    .doc-main { margin-left: 0; padding: 22px 16px 32px; }
    .doc-cover { margin-bottom: 16px; }
    .doc-main h1 { font-size: 26px; }
    .doc-actions { flex-wrap: wrap; }
    .center-main { padding: 16px; overflow: hidden; }
    .data-orders, .data-cards,
    .data-orders tbody, .data-cards tbody,
    .data-orders tr, .data-cards tr,
    .data-orders td, .data-cards td { display: block; width: 100%; }
    .data-orders thead, .data-cards thead { display: none; }
    .data-orders tr, .data-cards tr { margin-bottom: 12px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
    .data-orders td, .data-cards td { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); word-break: break-all; }
    .data-cards td { grid-template-columns: 4.5em minmax(0, 1fr); }
    .data-orders td:last-child, .data-cards td:last-child { border-bottom: 0; }
    .data-orders td::before, .data-cards td::before { content: attr(data-label); color: #667085; font-weight: 600; }
    .data-orders td a, .data-orders td .linkish { color: var(--blue); font-weight: 600; }
    .data-cards .copy-card { display: block; width: 100%; padding: 0; word-break: break-all; }
    .login-dialog { padding: 28px 16px 18px; }
    .login-dialog h2 { margin: 48px 0 14px; font-size: 20px; line-height: 1.35; }
}

.doc-qrcode-grid{display:flex;flex-wrap:wrap;gap:16px;margin:14px 0 18px}
.doc-qrcode{width:148px;text-align:center;background:#f7f9fc;border:1px solid #e5eaf2;border-radius:10px;padding:12px 10px}
.doc-qrcode strong{display:block;margin-bottom:8px;font-size:14px;color:#333}
.doc-qrcode img{width:120px;height:120px;object-fit:contain;border-radius:8px;background:#fff}
.doc-qrcode span{display:block;color:#999;font-size:13px;line-height:120px}