/* ===== 图标提示：<span class="tip" tabindex="0" data-tip="说明"><i class="fas fa-info-circle"></i></span>
   鼠标悬停或键盘聚焦时显示；不用 title 属性（样式不可控、移动端不可见）。 ===== */
.tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #90a4ae;
    cursor: help;
    font-size: 0.9em;
    vertical-align: middle;
    outline: none;
}
.tip:hover,
.tip:focus-visible {
    color: #1e88e5;
}
.tip::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 240px;
    padding: 7px 10px;
    border-radius: 6px;
    background: #263238;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 50;
}
.tip:hover::after,
.tip:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== 商城通用 ===== */
.shop {
    padding: 110px 0 70px;
    background: #f6f8fb;
    min-height: 70vh;
}
.shop-crumb {
    font-size: 13px;
    color: #78909c;
    margin-bottom: 20px;
}
.shop-crumb a {
    color: #78909c;
    text-decoration: none;
}
.shop-crumb a:hover {
    color: #1e88e5;
}
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 40, 80, 0.06);
}
.price {
    color: #e53935;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif;
}
.price small {
    font-size: 0.6em;
    margin-right: 2px;
}
.price-ask {
    color: #546e7a;
    font-weight: 600;
}
.stock {
    font-size: 13px;
    color: #43a047;
}
.stock.low {
    color: #fb8c00;
}
.stock.out {
    color: #9e9e9e;
}
.btn-buy,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-buy {
    background: linear-gradient(135deg, #ff7043, #e53935);
    color: #fff;
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.28);
}
.btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.35);
}
.btn-buy:disabled {
    background: #cfd8dc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.btn-ghost {
    background: #fff;
    color: #1565c0;
    border: 1px solid #90caf9;
}
.btn-ghost:hover {
    background: #e3f2fd;
}

/* ===== 系列页 ===== */
.series-hero {
    text-align: center;
    margin-bottom: 40px;
}
.series-hero h1 {
    font-size: 36px;
    color: #0d2b4e;
    margin-bottom: 8px;
}
.series-hero p {
    color: #607d8b;
    font-size: 17px;
}
.family {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}
.family .card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.family .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(15, 40, 80, 0.12);
}
.family img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 16px;
}
.family h2 {
    font-size: 22px;
    color: #0d2b4e;
}
.family .tagline {
    color: #607d8b;
    margin-bottom: 14px;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.chips span {
    padding: 3px 10px;
    border-radius: 12px;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 12px;
}
.family .foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.family .price {
    font-size: 22px;
}
.section-title-sm {
    font-size: 24px;
    color: #0d2b4e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.compare {
    overflow-x: auto;
    margin-bottom: 56px;
}
.compare table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}
.compare th,
.compare td {
    padding: 12px 16px;
    border-bottom: 1px solid #eceff1;
    text-align: center;
    font-size: 14px;
}
.compare th:first-child,
.compare td:first-child {
    text-align: left;
    color: #607d8b;
    white-space: nowrap;
}
.compare thead th {
    background: #0d47a1;
    color: #fff;
    font-size: 15px;
}
.compare thead th:first-child {
    color: #fff;
    border-top-left-radius: 12px;
}
.compare thead th:last-child {
    border-top-right-radius: 12px;
}
.compare .yes {
    color: #43a047;
}
.stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}
.stages .card {
    padding: 20px;
}
.stages h3 {
    font-size: 16px;
    color: #0d2b4e;
    margin-bottom: 4px;
}
.stages .model {
    font-size: 12px;
    color: #1e88e5;
    margin-bottom: 10px;
}
.stages ul {
    list-style: none;
    font-size: 14px;
    color: #546e7a;
}
.stages li::before {
    content: "·";
    margin-right: 6px;
    color: #1e88e5;
}
.apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.apps .card {
    overflow: hidden;
}
.apps img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: linear-gradient(135deg, #eef3f9, #dde7f3);
    padding: 12px;
}
.apps h3 {
    font-size: 16px;
    padding: 14px 16px 16px;
    color: #0d2b4e;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== 产品详情 ===== */
.pd {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.pd-gallery {
    padding: 24px;
}
.pd-main {
    width: 100%;
    height: 380px;
    object-fit: contain;
}
.pd-caption {
    text-align: center;
    color: #90a4ae;
    font-size: 13px;
    margin: 8px 0 14px;
}
.pd-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.pd-thumbs button {
    width: 72px;
    height: 56px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #f5f7fa;
    cursor: pointer;
}
.pd-thumbs button.on {
    border-color: #1e88e5;
}
.pd-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pd-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pd-info h1 {
    font-size: 30px;
    color: #0d2b4e;
    line-height: 1.2;
}
.pd-model {
    font-size: 13px;
    color: #90a4ae;
}
.pd-tagline {
    font-size: 17px;
    color: #37474f;
}
.pd-summary {
    color: #607d8b;
}
.pd-buy {
    margin-top: 6px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #fafbfc;
    border: 1px solid #eceff1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pd-buy .price {
    font-size: 32px;
}
.pd-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.qty {
    display: inline-flex;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    overflow: hidden;
}
.qty button {
    width: 36px;
    border: 0;
    background: #f5f7fa;
    font-size: 18px;
    cursor: pointer;
    color: #455a64;
}
.qty button:hover {
    background: #e3f2fd;
}
.qty input {
    width: 56px;
    height: 40px;
    border: 0;
    text-align: center;
    font: inherit;
    font-size: 16px;
    -moz-appearance: textfield;
}
.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
.pd-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.pd-features .card {
    padding: 20px;
}
.pd-features h3 {
    font-size: 16px;
    color: #1565c0;
    margin-bottom: 6px;
}
.pd-features p {
    font-size: 14px;
    color: #607d8b;
}
.specs {
    padding: 8px 24px;
}
.specs table {
    width: 100%;
    border-collapse: collapse;
}
.specs th,
.specs td {
    padding: 12px 0;
    border-bottom: 1px solid #eceff1;
    text-align: left;
    font-size: 14px;
}
.specs tr:last-child th,
.specs tr:last-child td {
    border-bottom: 0;
}
.specs th {
    width: 140px;
    color: #78909c;
    font-weight: 500;
}

/* ===== 结算 ===== */
.co {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}
.co-form {
    padding: 28px;
}
.co-form h2,
.co-sum h2 {
    font-size: 18px;
    color: #0d2b4e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fgrid .full {
    grid-column: 1 / -1;
}
.f label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #546e7a;
    margin-bottom: 6px;
}
.f label .req {
    color: #e53935;
}
.f input,
.f textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}
.f input:focus,
.f textarea:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}
.co-invoice {
    margin-top: 20px;
    border-top: 1px dashed #e0e6eb;
    padding-top: 16px;
}
.co-invoice summary {
    cursor: pointer;
    color: #1565c0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin-bottom: 14px;
}
.co-invoice summary::-webkit-details-marker {
    display: none;
}
.co-sum {
    padding: 24px;
    position: sticky;
    top: 100px;
}
.co-item {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}
.co-item img {
    width: 84px;
    height: 64px;
    object-fit: contain;
    background: #f5f7fa;
    border-radius: 8px;
    padding: 4px;
}
.co-item b {
    display: block;
    color: #0d2b4e;
}
.co-item small {
    color: #90a4ae;
}
.co-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #546e7a;
    font-size: 14px;
}
.co-total {
    border-top: 1px solid #eceff1;
    margin-top: 6px;
    padding-top: 14px;
}
.co-total .price {
    font-size: 26px;
}
.co-sum .btn-buy {
    width: 100%;
    margin-top: 18px;
}
.co-sum .form-status {
    margin-top: 12px;
    margin-bottom: 0;
}
.co-pay {
    margin-top: 12px;
    text-align: center;
    color: #90a4ae;
    font-size: 13px;
}
.co-pay .fa-alipay {
    color: #1677ff;
    font-size: 16px;
}
.notice {
    padding: 14px 18px;
    border-radius: 8px;
    background: #fff8e1;
    color: #8d6e00;
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ===== 订单页 ===== */
.od {
    max-width: 760px;
    margin: 0 auto;
}
.od-head {
    padding: 28px;
    text-align: center;
    margin-bottom: 20px;
}
.od-head .st {
    font-size: 24px;
    font-weight: 700;
    color: #0d2b4e;
    margin: 8px 0 4px;
}
.od-head .st-icon {
    font-size: 40px;
}
.st-pending .st-icon { color: #fb8c00; }
.st-paid .st-icon,
.st-shipped .st-icon,
.st-completed .st-icon { color: #43a047; }
.st-closed .st-icon,
.st-refunded .st-icon { color: #9e9e9e; }
.od-head .no {
    color: #90a4ae;
    font-size: 13px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.od-head .actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.steps {
    display: flex;
    justify-content: space-between;
    margin: 22px auto 0;
    max-width: 480px;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 11px;
    height: 2px;
    background: #e0e6eb;
}
.steps div {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #b0bec5;
}
.steps i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #e0e6eb;
    color: #fff;
    font-size: 11px;
    position: relative;
}
.steps .done {
    color: #43a047;
}
.steps .done i {
    background: #43a047;
}
.od-body {
    padding: 8px 24px;
}
.od-body table {
    width: 100%;
    border-collapse: collapse;
}
.od-body th,
.od-body td {
    padding: 12px 0;
    border-bottom: 1px solid #eceff1;
    text-align: left;
    font-size: 14px;
    vertical-align: top;
}
.od-body tr:last-child th,
.od-body tr:last-child td {
    border-bottom: 0;
}
.od-body th {
    width: 110px;
    color: #78909c;
    font-weight: 500;
}
.lookup {
    max-width: 420px;
    margin: 0 auto;
    padding: 32px;
}
.lookup h1 {
    font-size: 22px;
    color: #0d2b4e;
    margin-bottom: 20px;
    text-align: center;
}
.lookup .f {
    margin-bottom: 14px;
}
.lookup .btn-buy {
    width: 100%;
}
.err-msg {
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdecea;
    color: #c62828;
    margin-bottom: 16px;
    font-size: 14px;
}

@media (max-width: 860px) {
    .pd,
    .co {
        grid-template-columns: 1fr;
    }
    .pd-main {
        height: 260px;
    }
    .co-sum {
        position: static;
    }
    .fgrid {
        grid-template-columns: 1fr;
    }
    .series-hero h1 {
        font-size: 26px;
    }
}

/* ---------- 账号 ---------- */
.nav-account i { margin-right: 4px; }
.auth h1 { margin-bottom: 18px; }
.auth .f { margin-bottom: 14px; }
.auth .fgrid .f { margin-bottom: 0; }
.auth .fgrid { margin-bottom: 14px; }
.auth .btn-buy { width: 100%; }
.auth-aside { margin-left: auto; font-size: 12px; color: #1e88e5; }
.auth-foot { margin-top: 16px; text-align: center; font-size: 14px; color: #78909c; }
.auth-foot a { color: #1e88e5; }
.ok-msg { padding: 10px 12px; border-radius: 6px; background: #e8f5e9; color: #2e7d32; font-size: 14px; margin-bottom: 14px; }
.btn-ghost.sm { padding: 6px 14px; font-size: 13px; }
.co-invoice-note { margin-top: 16px; font-size: 13px; color: #78909c; display: flex; align-items: center; gap: 6px; }
.acc { max-width: 1000px; }
.acc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.acc-head b { font-size: 20px; color: #0d2b4e; }
.acc-head small { margin-left: 10px; color: #78909c; }
.acc-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e0e6ed; margin-bottom: 18px; overflow-x: auto; }
.acc-tabs a { padding: 10px 16px; color: #546e7a; border-bottom: 2px solid transparent; white-space: nowrap; font-size: 15px; }
.acc-tabs a.on { color: #1565c0; border-bottom-color: #1e88e5; font-weight: 600; }
.acc-card { padding: 20px 24px; margin-bottom: 18px; }
.acc-card h2 { font-size: 16px; color: #0d2b4e; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.acc-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-tbl th, .acc-tbl td { padding: 10px 8px; border-bottom: 1px solid #eceff1; text-align: left; vertical-align: middle; }
.acc-tbl th { color: #78909c; font-weight: 500; font-size: 13px; }
.acc-tbl tr:last-child td { border-bottom: 0; }
.acc-tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc-tbl small { color: #90a4ae; }
.acc-tbl a { color: #1e88e5; }
.acc-card { overflow-x: auto; }
.acc-empty { padding: 30px 0; text-align: center; color: #90a4ae; display: flex; gap: 10px; align-items: center; justify-content: center; }
.pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #eceff1; color: #546e7a; white-space: nowrap; }
.pill.ok, .pill.st-completed { background: #e8f5e9; color: #2e7d32; }
.pill.bad { background: #fdecea; color: #c62828; }
.pill.st-pending { background: #fff8e1; color: #8d6e00; }
.pill.st-paid, .pill.st-shipped { background: #e3f2fd; color: #1565c0; }
.acc-apply { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 16px; }
.acc-apply select { width: 100%; padding: 10px 12px; border: 1px solid #cfd8dc; border-radius: 8px; font: inherit; background: #fff; }
.acc-apply-sum { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.acc-apply-sum .btn-buy { padding: 10px 20px; }
.acc-profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 18px; }
.acc-profile { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; position: relative; border: 1px solid transparent; }
.acc-profile.on { border-color: #90caf9; }
.acc-profile b { color: #0d2b4e; margin-top: 6px; }
.acc-profile small { color: #78909c; font-size: 13px; }
.acc-profile-top { display: flex; gap: 6px; }
.acc-profile-ops { position: absolute; top: 12px; right: 12px; display: flex; gap: 10px; }
.acc-profile-ops a, .acc-profile-ops button { color: #90a4ae; background: none; border: 0; cursor: pointer; font-size: 14px; padding: 2px; }
.acc-profile-ops a:hover, .acc-profile-ops button:hover { color: #1e88e5; }
.kind-pick { display: flex; gap: 24px; margin-bottom: 14px; font-size: 14px; }
.kind-pick label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
#pf .sp, #pf .req.sp { display: none; }
#pf.is-special .sp { display: block; }
#pf.is-special .req.sp { display: inline; }
.acc-check { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 4px; font-size: 14px; color: #546e7a; }
.acc-btns { display: flex; gap: 10px; margin-top: 12px; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acc-grid .f { margin-bottom: 14px; }
.acc-grid .f input:disabled { background: #f5f7fa; color: #90a4ae; }
@media (max-width: 760px) {
    .acc-apply, .acc-grid { grid-template-columns: 1fr; }
    .acc-card { padding: 16px; }
}

/* ---------- 二次开发 ---------- */
.sdk { padding: 24px; margin-bottom: 40px; }
.sdk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.sdk-item { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
.sdk-item i { grid-row: span 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px;
    background: #e3f2fd; color: #1565c0; font-size: 16px; }
.sdk-item b { color: #0d2b4e; font-size: 15px; }
.sdk-item span { color: #546e7a; font-size: 13px; line-height: 1.6; }
.sdk-item small { color: #90a4ae; font-size: 12px; }
.sdk-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 22px; padding-top: 18px; border-top: 1px solid #eceff1; }
.sdk-flow { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.sdk-flow li { counter-increment: s; font-size: 13px; color: #546e7a; display: flex; align-items: center; gap: 6px; }
.sdk-flow li::before { content: counter(s); width: 20px; height: 20px; border-radius: 50%; background: #1e88e5; color: #fff;
    font-size: 12px; display: grid; place-items: center; }
.sdk-flow li + li::after { content: none; }
.sdk-flow li:not(:last-child)::after { content: "→"; color: #b0bec5; margin-left: 4px; }
.sdk-foot .btn-buy { padding: 10px 22px; }
/* 首页产品展示 */
.home-products { padding: 80px 0; background: #f5f8fc; }
.home-products .family { margin-bottom: 24px; }
.home-sdk { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 20px 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 12px rgba(15, 40, 80, 0.06); }
.home-sdk-text { display: flex; align-items: center; gap: 14px; }
.home-sdk-text > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
    background: linear-gradient(135deg, #1e88e5, #0d47a1); color: #fff; font-size: 18px; flex-shrink: 0; }
.home-sdk-text b { display: block; color: #0d2b4e; font-size: 16px; }
.home-sdk-text span { color: #607d8b; font-size: 14px; }
.home-sdk-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.home-sdk-btns .btn-buy, .home-sdk-btns .btn-ghost { padding: 10px 18px; font-size: 14px; }
@media (max-width: 860px) {
    .sdk-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .sdk-grid { grid-template-columns: 1fr; }
    .home-products { padding: 50px 0; }
    .home-sdk-btns { width: 100%; }
    .home-sdk-btns > * { flex: 1; }
}

/* ---------- 产品系列与预定 ---------- */
.stock.pre { background: #e8f5e9; color: #2e7d32; }
.series-intro { max-width: 760px; margin: 10px auto 0; color: #607d8b; line-height: 1.8; font-size: 15px; }
.series-empty { padding: 40px; text-align: center; color: #90a4ae; display: flex; gap: 14px; align-items: center; justify-content: center; grid-column: 1 / -1; }
.home-series { margin-bottom: 32px; }
.home-series-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.home-series-head h3 { font-size: 20px; color: #0d2b4e; }
.home-series-head h3 small { margin-left: 10px; font-size: 14px; color: #78909c; font-weight: 400; }
.home-series-head a { color: #1e88e5; font-size: 14px; white-space: nowrap; }
.co-preorder, .od-wait { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #e8f5e9; color: #2e7d32;
    font-size: 13px; display: flex; align-items: center; gap: 6px; }
.co-preorder[hidden] { display: none; }
.od-wait { justify-content: center; margin-top: 14px; }

.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; letter-spacing: 2px; }
.code-row .btn-ghost { padding: 0 14px; font-size: 13px; white-space: nowrap; }
.code-row .btn-ghost:disabled { color: #90a4ae; border-color: #cfd8dc; cursor: default; }

/* ---------- 报价 ---------- */
.pill.st-quoting { background: #fff3bf; color: #a66a00; }
.od-quote { margin-top: 14px; }
.od-quote-sum { font-size: 15px; color: #546e7a; margin-bottom: 12px; }
.od-quote-sum small { display: block; margin-top: 4px; color: #90a4ae; font-size: 12px; }
.od-bank { max-width: 420px; margin: 14px auto 0; padding: 14px 18px; border-radius: 10px; background: #f5f8fc; text-align: left; }
.od-bank[hidden] { display: none; }
.od-bank table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.od-bank th { width: 70px; color: #78909c; font-weight: 500; padding: 5px 0; text-align: left; }
.od-bank td { padding: 5px 0; color: #0d2b4e; }
.od-bank .copy { font-variant-numeric: tabular-nums; user-select: all; font-weight: 600; }
.od-bank small { color: #78909c; font-size: 12px; }

/* ---------- contracts ---------- */
.od-contracts h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 12px; flex-wrap: wrap; }
.od-contracts h3 .pill { font-weight: 400; }
.od-wait a { color: inherit; text-decoration: underline; margin-left: 6px; }
.ct-list { list-style: none; margin: 0 0 14px; padding: 0; }
.ct-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eceff1; flex-wrap: wrap; }
.ct-list li > i { color: #90a4ae; width: 16px; text-align: center; }
.ct-list li > a:first-of-type { flex: 1; min-width: 140px; font-weight: 500; word-break: break-all; }
.ct-list small { color: #90a4ae; }
.ct-list form { margin: 0; }
.ct-order { font-size: 13px; color: #546e7a; }
.ct-del { border: 0; background: none; color: #b0bec5; cursor: pointer; padding: 4px 6px; }
.ct-del:hover, .ct-del:focus-visible { color: #e53935; }
.ct-up { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ct-up input[name=title], .ct-up select { flex: 1; min-width: 150px; padding: 8px 10px; border: 1px solid #cfd8dc; border-radius: 6px; font: inherit; }
.ct-up input[type=file] { flex: 2; min-width: 200px; font-size: 13px; }
.form-status.show { display: block; margin-bottom: 10px; }
