/* 青岚：分栏订单页及手机查询布局。独立文件名避开旧 CDN 缓存。所有样式只作用于当前查询页面。 */
.qinglan-theme .green-query-page { margin-top: 28px; }
.qinglan-theme .green-query-shell { width: min(1280px, calc(100% - 48px)); }
.green-query-page .green-query-toolbar { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 36px; align-items: center; padding: 12px 0 32px; border-bottom: 1px solid var(--tokyo-border-strong); }
.green-query-page .green-query-intro { min-width: 0; padding-right: 24px; border-right: 1px solid var(--tokyo-border-strong); }
.green-query-page .green-query-intro h1 { margin: 0 0 6px; color: var(--tokyo-text); font-size: 28px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.green-query-page .green-query-intro p { margin: 0; color: var(--tokyo-muted); font-size: 14px; line-height: 1.6; }
.green-query-page .order-query-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 12px; width: 100%; max-width: 100%; min-width: 0; }
.green-query-page .green-query-input { display: flex; align-items: center; width: 100%; max-width: 100%; min-width: 0; min-height: 50px; margin: 0; padding: 0 16px; gap: 12px; border: 1px solid var(--tokyo-border-strong); border-radius: 9px; background: #fff; }
.green-query-page .green-query-input:focus-within { border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(21,150,109,.08); }
.green-query-page .green-query-input > i { color: var(--tokyo-muted); font-size: 17px; }
.green-query-page .green-query-input input { display: block; flex: 1 1 0%; width: 0; min-width: 0; max-width: 100%; height: 48px; padding: 0; border: 0; outline: none; background: transparent; color: var(--tokyo-text); font: inherit; font-size: 15px; box-shadow: none; }
.green-query-page .green-query-input input:focus-visible { outline: none; }
.green-query-page .green-query-input input::placeholder { color: #89958f; }
.green-query-page .btn-search-query { width: auto; max-width: 100%; min-width: 130px; min-height: 50px; padding: 0 24px; border-radius: 9px; font-size: 15px; white-space: nowrap; }
.green-query-page .btn-search-query:disabled { opacity: .65; cursor: wait; }
.green-query-page .green-query-results-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px; margin: 26px 0 20px; }
.green-query-page .green-query-results-heading h2 { margin: 0; color: var(--tokyo-text); font-size: 22px; font-weight: 700; line-height: 1.4; }
.green-query-page .green-query-result-count { color: var(--tokyo-muted); font-size: 14px; }
.green-query-page .order-list { display: grid; gap: 24px; }
.green-query-page .order-item { display: grid; grid-template-columns: minmax(0,1.95fr) minmax(320px,1fr); gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.green-query-page .green-order-main,
.green-query-page .green-order-summary { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--tokyo-border); border-radius: 12px; background: #fff; }
.green-query-page .green-order-main { min-height: 430px; }
.green-query-page .goods-section { display: flex; align-items: flex-start; flex-direction: row; gap: 16px; min-width: 0; margin: 0 0 22px; padding: 0 0 24px; border-bottom: 1px solid var(--tokyo-border); }
.green-query-page .goods-thumb { flex: 0 0 58px; }
.green-query-page .goods-image { display: block; width: 58px; height: 58px; border: 1px solid var(--tokyo-border); border-radius: 12px; background: #fff; object-fit: contain; }
.green-query-page .goods-details { display: grid; flex: 1 1 auto; gap: 10px; min-width: 0; padding-top: 2px; }
.green-query-page .goods-name { margin: 0; color: var(--tokyo-text); font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
.green-query-page .goods-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.green-query-page .goods-sku { min-height: 24px; max-width: 100%; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; white-space: normal; }
.green-query-page .a-badge-success { color: #16834f; background: #e8f5ed; }
.green-query-page .a-badge-primary { color: #507363; background: #eef5f0; }
.green-query-page .a-badge-warning { color: #94691b; background: #f8f1e6; }
.green-query-page .green-product-status { flex: 0 0 auto; padding-top: 3px; }
.green-query-page .shipment-badge,
.green-query-page .status-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; max-width: 100%; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.green-query-page .status-paid,
.green-query-page .shipment-paid { background: #e8f5ed; color: #16834f; }
.green-query-page .shipment-waiting,
.green-query-page .status-pending { background: #fbf3e5; color: #986c25; }
.green-query-page .status-cancelled { background: #f2f4f3; color: #68746f; }
.green-query-page .green-order-delivery { min-width: 0; }
.green-query-page .green-delivery-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--tokyo-text); font-size: 18px; font-weight: 650; line-height: 1.5; }
.green-query-page .green-delivery-heading > i { font-size: 19px; }
.green-query-page .green-secret-box { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border: 0; border-radius: 8px; background: #eaf6ef; }
.green-query-page .card-display { display: block; flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--tokyo-text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 500; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.green-query-page .green-copy-card { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--green-primary); border-radius: 7px; background: #fff; color: var(--green-primary-hover); font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.green-query-page .green-copy-card:hover { background: #f5fbf7; }
.green-query-page .green-order-message { padding: 16px; border-radius: 8px; background: #f5f8f6; color: var(--tokyo-muted-strong); font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.green-query-page .green-usage { min-width: 0; margin-top: 22px; }
.green-query-page .green-usage h4 { margin: 0 0 8px; color: var(--tokyo-text); font-size: 15px; font-weight: 650; line-height: 1.5; }
.green-query-page .green-usage-body { min-width: 0; color: var(--tokyo-muted-strong); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; word-break: break-word; }
.green-query-page .green-usage-body :is(p,ul,ol) { margin-top: 0; margin-bottom: 10px; }
.green-query-page .green-usage-body > :last-child { margin-bottom: 0; }
.green-query-page .green-usage-body img { max-width: 100%; height: auto; }
.green-query-page .green-usage-body :is(pre,table,iframe,video) { max-width: 100%; }
.green-query-page .green-usage-body pre { white-space: pre-wrap; }
.green-query-page .green-usage-body table { display: block; overflow-x: auto; }
.green-query-page .green-order-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 24px; }
.green-query-page .green-order-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: 100%; padding-top: 18px; border-top: 1px solid var(--tokyo-border); }
.green-query-page .green-footer-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--tokyo-muted); font-size: 12px; line-height: 1.6; }
.green-query-page .after-sale-order-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; background: none; }
.green-query-page .after-sale-order-status { color: var(--tokyo-muted); font-size: 12px; }
.green-query-page .after-sale-open { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 16px; border: 1px solid var(--green-primary); border-radius: 7px; background: #fff; color: var(--green-primary-hover); font-size: 13px; font-weight: 500; cursor: pointer; }
.green-query-page .after-sale-open:hover { background: #f0f8f3; }
.green-query-page .green-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 19px; border-bottom: 1px solid var(--tokyo-border); }
.green-query-page .green-summary-heading h3 { margin: 0; color: var(--tokyo-text); font-size: 19px; font-weight: 650; line-height: 1.5; }
.green-query-page .order-amount { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 0 0 22px; border-bottom: 1px solid var(--tokyo-border); }
.green-query-page .amount-label { color: var(--tokyo-muted); font-size: 14px; }
.green-query-page .amount-value { color: var(--green-primary); font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.green-query-page .green-order-meta { display: grid; gap: 16px; margin: 22px 0 24px; font-size: 13px; line-height: 1.7; }
.green-query-page .green-meta-row { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 12px; align-items: start; }
.green-query-page .green-meta-row dt { margin: 0; color: var(--tokyo-muted); font-weight: 400; }
.green-query-page .green-meta-row dd { min-width: 0; margin: 0; color: var(--tokyo-muted-strong); overflow-wrap: anywhere; }
.green-query-page .green-order-number { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.green-query-page .order-no-text { min-width: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.green-query-page .green-copy-order { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; min-height: 24px; padding: 2px; border: 0; border-radius: 4px; background: none; color: var(--tokyo-muted); cursor: pointer; }
.green-query-page .green-copy-order:hover { background: var(--green-soft); color: var(--green-primary-hover); }
.green-query-page .payment-method { display: inline-flex; align-items: flex-start; gap: 7px; min-width: 0; }
.green-query-page .payment-icon { width: 18px; height: 18px; margin-top: 2px; object-fit: contain; }
.green-query-page .payment-name { min-width: 0; overflow-wrap: anywhere; }
.green-query-page .green-summary-bottom { display: grid; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--tokyo-border); }
.green-query-page .epay-status-query { min-height: 36px; padding: 8px 12px; border: 1px solid var(--green-primary); border-radius: 7px; background: #fff; color: var(--green-primary-hover); font-size: 13px; font-weight: 500; }
.green-query-page .epay-status-query:hover:not(:disabled) { border-color: var(--green-primary-hover); background: var(--green-soft); }
.green-query-page .password-form .input-group { display: flex; align-items: stretch; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.green-query-page .password-form .form-control { min-height: 42px; padding: 10px 12px; border: 1px solid var(--tokyo-border-strong); border-radius: 8px; background: #fff; font-size: 14px; }
.green-query-page .password-form .view-card-btn { min-height: 42px; border-radius: 8px !important; padding: 8px 14px; font-size: 13px; }
.green-query-page .card-loading { margin-top: 12px; color: var(--tokyo-muted); font-size: 14px; }
.green-query-page .green-query-state { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 270px; padding: 40px 18px; text-align: center; }
.green-query-page .green-query-state > i { color: #879a8f; font-size: 28px; }
.green-query-page .green-query-state h2 { margin: 0; color: var(--tokyo-text); font-size: 18px; font-weight: 600; }
.green-query-page .green-query-state p { max-width: 440px; margin: 0; color: var(--tokyo-muted); font-size: 14px; line-height: 1.8; }
@media (max-width: 1000px) {
    .green-query-page .green-query-toolbar { grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
    .green-query-page .order-item { grid-template-columns: minmax(0,1fr) minmax(290px,.8fr); gap: 16px; }
    .green-query-page .green-order-main,.green-query-page .green-order-summary { padding: 20px; }
    .green-query-page .green-secret-box { align-items: flex-start; flex-direction: column; }
    .green-query-page .green-copy-card { align-self: flex-end; }
    .green-query-page .green-product-status { padding-top: 0; }
    .green-query-page .goods-section { flex-wrap: wrap; }
    .green-query-page .goods-details { flex-basis: calc(100% - 80px); }
}
@media (max-width: 767px) {
    .qinglan-theme .green-query-page { margin-top: 16px; }
    .qinglan-theme .green-query-shell { width: calc(100% - 24px); }
    .green-query-page .green-query-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 4px 0 24px; }
    .green-query-page .green-query-intro { padding: 0; border: 0; }
    .green-query-page .green-query-intro h1 { font-size: 24px; }
    .green-query-page .green-query-intro p { font-size: 13px; }
    /* Base.css sets every .tokyo-button to width:100% on mobile. Bound the
       button track explicitly so it cannot consume the input's space. */
    .green-query-page .order-query-form { grid-template-columns: minmax(0,1fr) 96px; gap: 8px; }
    .green-query-page .green-query-input { min-height: 44px; padding: 0 12px; gap: 8px; }
    .green-query-page .green-query-input input { height: 42px; font-size: 14px; }
    .green-query-page .green-query-input > i { font-size: 15px; }
    .green-query-page .btn-search-query { width: 96px; min-width: 0; max-width: 96px; height: 44px; min-height: 44px; padding: 0 10px; font-size: 13px; }
    .green-query-page .green-query-results-heading { gap: 12px; margin: 20px 0 14px; }
    .green-query-page .green-query-results-heading h2 { font-size: 19px; }
    .green-query-page .green-query-result-count { font-size: 12px; }
    .green-query-page .order-item { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .green-query-page .green-order-main { min-height: 0; }
    .green-query-page .green-order-main,.green-query-page .green-order-summary { padding: 18px 16px; border-radius: 10px; }
    .green-query-page .goods-section { gap: 12px; margin-bottom: 18px; padding-bottom: 18px; }
    .green-query-page .goods-thumb { flex-basis: 48px; }
    .green-query-page .goods-image { width: 48px; height: 48px; border-radius: 10px; }
    .green-query-page .goods-details { flex-basis: calc(100% - 64px); gap: 8px; }
    .green-query-page .goods-name { font-size: 16px; }
    .green-query-page .green-product-status { margin-left: 60px; }
    .green-query-page .green-delivery-heading { margin-bottom: 12px; font-size: 17px; }
    .green-query-page .green-secret-box { gap: 10px; padding: 12px; }
    .green-query-page .card-display { width: 100%; font-size: 13px; line-height: 1.8; }
    .green-query-page .green-copy-card { min-height: 34px; font-size: 12px; }
    .green-query-page .green-usage { margin-top: 18px; }
    .green-query-page .green-usage-body { font-size: 13px; }
    .green-query-page .green-order-footer { padding-top: 20px; }
    .green-query-page .green-order-footer-inner { gap: 12px; padding-top: 16px; }
    .green-query-page .after-sale-order-actions { margin-left: auto; }
    .green-query-page .green-summary-heading { margin-bottom: 18px; padding-bottom: 16px; }
    .green-query-page .green-summary-heading h3 { font-size: 17px; }
    .green-query-page .order-amount { padding-bottom: 18px; }
    .green-query-page .amount-value { font-size: 28px; }
    .green-query-page .green-order-meta { gap: 14px; margin: 18px 0; }
    .green-query-page .green-meta-row { grid-template-columns: 72px minmax(0,1fr); }
    .green-query-page .green-query-state { min-height: 240px; }
}
