/* ============================================================
   品牌物流查询 1.0.5
   结构：作用域与令牌 → 主题隔离 → 公共布局 → 表单 → 结果
        → 运费 → 轨迹 → 到库 → 偏远 → 消息 → 视口回退
        → 容器查询镜像 → 全局加载层
   所有规则都限定在 .hbq-widget 内，不修改主题样式。
   ============================================================ */

/* ---------- 1. 作用域、容器查询与设计令牌 ---------- */
.hbq-widget { max-width: 100%; min-width: 0; container-type: inline-size; container-name: hbq; }

.hbq-widget .hbew-query-page {
    --hq-ink: #0c2531; --hq-ink-soft: #2e4755; --hq-muted: #5a707d;
    --hq-line: #d7e2e6; --hq-line-strong: #b9ccd3;
    --hq-accent: #087f78; --hq-accent-soft: rgba(8, 127, 120, .14); --hq-accent-dark: #066c64;
    --hq-paper: #fff; --hq-wash: #f2f6f6;
    padding: 28px 24px 52px; color: var(--hq-ink); overflow-x: clip;
    background-color: var(--hq-wash);
    background-image:
        radial-gradient(1100px 420px at 8% -12%, var(--hq-accent-soft), transparent 62%),
        radial-gradient(900px 380px at 96% 0%, rgb(224 180 93 / 12%), transparent 58%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='1.4' cy='1.4' r='1.1' fill='%230c2531' fill-opacity='0.045'/%3E%3C/svg%3E");
    font: 15px/1.7 "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.hbq-widget .hbew-query-page { --hq-accent: var(--hq-brand, #087f78); --hq-accent-soft: var(--hq-brand-soft, rgba(8, 127, 120, .14)); --hq-accent-dark: var(--hq-brand-dark, #066c64); }

.hbq-widget .hbew-query-page *, .hbq-widget .hbew-query-page *::before, .hbq-widget .hbew-query-page *::after { box-sizing: border-box; }

/* ---------- 2. 主题隔离（仅插件范围内对抗主题 !important 装饰） ---------- */
.hbq-widget .hbew-query-page :is(h2, h3, h4) { margin: 0 !important; padding: 0 !important; border: 0; background: none; font-family: inherit; text-indent: 0; text-transform: none; letter-spacing: normal; overflow-wrap: anywhere; }
.hbq-widget .hbew-query-page :is(h2, h3, h4)::before,
.hbq-widget .hbew-query-page :is(h2, h3, h4)::after { content: none !important; display: none !important; }
.hbq-widget .hbew-query-page p { padding: 0; text-indent: 0; }
.hbq-widget .hbew-query-page :is(dt, dd) { margin: 0; padding: 0; }
.hbq-widget .hbew-query-page :is(.hq-hero > div, .hq-query-row, .rq-fields > div) { min-width: 0; }
.hbq-widget .hbew-query-page svg { flex-shrink: 0; }
.hbq-widget .hbew-query-page [hidden] { display: none !important; }

/* ---------- 3. 公共布局：外壳、页头 ---------- */
.hbq-widget .hbew-query-page .hq-shell { max-width: 1120px; margin: 0 auto; }
.hbq-widget .hbew-query-page .hq-hero { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.hbq-widget .hbew-query-page .hq-hero::before, .hbq-widget .hbew-query-page .hq-hero::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(20px); }
.hbq-widget .hbew-query-page .hq-hero::before { width: 200px; height: 200px; right: 14px; top: -40px; background: radial-gradient(circle, var(--hq-accent-soft), transparent 70%); animation: hq-drift 16s ease-in-out infinite; }
.hbq-widget .hbew-query-page .hq-hero::after { width: 140px; height: 140px; right: 190px; top: 30px; background: radial-gradient(circle, rgb(224 180 93 / 16%), transparent 70%); animation: hq-drift 21s ease-in-out infinite reverse; }
.hbq-widget .hbew-query-page .hq-hero > * { position: relative; z-index: 1; }
.hbq-widget .hbew-query-page .hq-hero-main { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.hbq-widget .hbew-query-page .hq-hero-copy { min-width: 0; }
.hbq-widget .hbew-query-page .hq-hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; color: #fff; background-image: linear-gradient(135deg, var(--hq-accent) 0%, var(--hq-accent-dark) 100%); box-shadow: 0 10px 26px var(--hq-accent-soft), inset 0 1px 0 rgb(255 255 255 / 24%); }
.hbq-widget .hbew-query-page .hq-hero-icon svg { width: 26px; height: 26px; }
.hbq-widget .hbew-query-page .hq-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 5px; color: var(--hq-accent); font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.hbq-widget .hbew-query-page .hq-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--hq-accent), rgb(224 180 93 / 85%)); }
.hbq-widget .hbew-query-page .hq-title { margin: 0 0 7px !important; color: var(--hq-ink); font-size: 26px !important; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.hbq-widget .hbew-query-page .hq-intro { margin: 0; color: #526876; font-size: 13.5px; line-height: 1.7; max-width: 650px; }
.hbq-widget .hbew-query-page .hq-note { flex-shrink: 0; max-width: 300px; border-left: 3px solid var(--hq-accent); border-radius: 0 6px 6px 0; padding: 2px 0 2px 16px; color: var(--hq-muted); font-size: 13px; line-height: 1.7; }
.hbq-widget .hbew-query-page .hq-note strong { display: block; color: var(--hq-ink); font-size: 14px; font-weight: 600; margin-bottom: 3px; }

/* ---------- 4. 查询表单公共 ---------- */
.hbq-widget .hbew-query-page .hq-query { padding: 18px 20px; margin: 0; background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%); border: 1px solid #d7e2e6; border-top: 3px solid var(--hq-accent); border-radius: 12px; box-shadow: 0 1px 2px rgb(12 37 49 / 5%), 0 12px 34px rgb(12 37 49 / 7%); }
.hbq-widget .hbew-query-page .hq-query label { display: block; margin-bottom: 6px; color: var(--hq-ink); font-size: 13.5px; font-weight: 700; }
.hbq-widget .hbew-query-page .hq-query-row { display: flex; align-items: stretch; gap: 12px; }
.hbq-widget .hbew-query-page .hq-input {
    flex: 1; min-width: 0; width: 100%; max-width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 9px 13px;
    border: 1px solid #b9ccd4; border-radius: 8px; background: #fff; color: var(--hq-ink);
    font: 500 15px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .01em;
    box-shadow: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.hbq-widget .hbew-query-page .hq-input::placeholder { color: #93a4ae; font-weight: 400; letter-spacing: 0; }
.hbq-widget .hbew-query-page .hq-input:hover:not(:focus) { border-color: #93aab4; }
.hbq-widget .hbew-query-page .hq-input:focus { border-color: var(--hq-accent); background: #fff; box-shadow: 0 0 0 3px var(--hq-accent-soft); }
/* 单号与数值字段使用等宽字体，城市、国家等自然语言保持普通字体 */
.hbq-widget .hbew-query-page .hq-input[name="expno"],
.hbq-widget .hbew-query-page .hq-input[name="wei"],
.hbq-widget .hbew-query-page .hq-input[name="chang"],
.hbq-widget .hbew-query-page .hq-input[name="kuan"],
.hbq-widget .hbew-query-page .hq-input[name="gao"] { font-family: "SFMono-Regular", Consolas, monospace; letter-spacing: .02em; }
.hbq-widget .hbew-query-page .hq-submit {
    display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px;
    height: 44px; min-height: 44px; margin: 0; padding: 9px 18px; border: 1px solid var(--hq-accent); border-radius: 8px;
    background-color: var(--hq-accent); background-image: linear-gradient(135deg, var(--hq-accent) 0%, var(--hq-accent-dark) 100%); background-size: 160% 160%; background-position: 0% 0%; color: #fff;
    font: 700 15px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif;
    white-space: nowrap; cursor: pointer; letter-spacing: .02em;
    box-shadow: 0 3px 12px var(--hq-accent-soft), inset 0 1px 0 rgb(255 255 255 / 18%);
    transition: background-position .3s ease, border-color .15s, box-shadow .15s; appearance: none;
}
.hbq-widget .hbew-query-page .hq-submit:hover { background-color: var(--hq-accent-dark); background-position: 100% 100%; border-color: var(--hq-accent-dark); box-shadow: 0 5px 16px var(--hq-accent-soft); }
.hbq-widget .hbew-query-page .hq-submit:active:not(:disabled) { box-shadow: 0 1px 4px var(--hq-accent-soft); }
.hbq-widget .hbew-query-page .hq-submit:disabled { cursor: wait; opacity: .7; box-shadow: none; }
.hbq-widget .hbew-query-page :is(input, select, button, a, summary):focus-visible { outline: 2.5px solid #e0b45d; outline-offset: 2px; }
.hbq-widget .hbew-query-page .hq-hint { display: flex; align-items: center; gap: 6px; margin: 9px 0 0; color: var(--hq-muted); font-size: 12.5px; line-height: 1.7; }
.hbq-widget .hbew-query-page .hq-hint svg { flex-shrink: 0; }
.hbq-widget .hbew-query-page .hq-query-single { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 12px; align-items: center; }
.hbq-widget .hbew-query-page .hq-query-single > label { margin: 0; }
.hbq-widget .hbew-query-page .hq-query-single .hq-hint { grid-column: 2; }

/* ---------- 5. 结果、空状态、错误、页脚公共 ---------- */
.hbq-widget .hbew-query-page .hq-result { margin-top: 24px; }
.hbq-widget .hbew-query-page .hq-section-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding: 0 0 12px 16px; border-bottom: 2px solid var(--hq-line); }
.hbq-widget .hbew-query-page .hq-section-heading::before { content: ""; position: absolute; left: 0; top: 3px; width: 4px; height: 20px; border-radius: 2px; background: linear-gradient(180deg, var(--hq-accent), rgb(224 180 93 / 80%)); }
.hbq-widget .hbew-query-page .hq-section-heading h2 { display: flex; align-items: center; gap: 10px; }
.hbq-widget .hbew-query-page .hq-head-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; color: var(--hq-accent); background: linear-gradient(135deg, var(--hq-accent-soft), rgb(224 180 93 / 16%)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 55%); }
.hbq-widget .hbew-query-page .hq-head-icon svg { width: 17px; height: 17px; }
.hbq-widget .hbew-query-page .hq-head-icon--sm { width: 34px; height: 34px; border-radius: 10px; }
.hbq-widget .hbew-query-page .hq-head-icon--sm svg { width: 18px; height: 18px; }
.hbq-widget .hbew-track .ht-panel-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hbq-widget .hbew-query-page .hq-chip-icon { width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; color: var(--hq-accent); }
.hbq-widget .hbew-query-page .hq-section-heading h2 { margin: 0 !important; color: var(--hq-ink); font-size: 19px !important; line-height: 1.4; font-weight: 700; }
.hbq-widget .hbew-query-page .hq-empty { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 24px; margin-top: 26px; text-align: center; border: 1px dashed #b4c9d0; border-radius: 14px; overflow: hidden; background: radial-gradient(620px 240px at 50% 0%, var(--hq-accent-soft), transparent 70%), rgb(255 255 255 / 62%); }
.hbq-widget .hbew-query-page .hq-empty svg { width: 62px; height: 62px; padding: 12px; margin-bottom: 4px; border-radius: 18px; color: var(--hq-accent); background: linear-gradient(150deg, #ffffff, #eef7f4); box-shadow: 0 8px 22px rgb(12 37 49 / 9%), inset 0 0 0 1px rgb(255 255 255 / 70%); animation: hq-float 6.5s ease-in-out infinite; }
.hbq-widget .hbew-query-page .hq-empty :is(h2, strong) { display: block; margin: 0 !important; color: var(--hq-ink); font-size: 18px !important; font-weight: 700; }
.hbq-widget .hbew-query-page .hq-empty p { margin: 0; color: #526876; font-size: 13.5px; line-height: 1.7; }
.hbq-widget .hbew-query-page .hq-error { margin-top: 26px; padding: 18px 22px; border: 1px solid #e8bfa8; border-left: 4px solid #b4521f; border-radius: 10px; background: #fff4ec; color: #8a3a14; }
.hbq-widget .hbew-query-page .hq-error:empty { display: none; }
.hbq-widget .hbew-query-page .hq-error strong { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.hbq-widget .hbew-query-page .hq-error p { margin: 0; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.hbq-widget .hbew-query-page .hq-footnote { margin: 22px 0 0; color: var(--hq-muted); text-align: center; font-size: 12.5px; line-height: 1.8; }

/* ---------- 6. 运费估算 ---------- */
.hbq-widget .hbew-freight { --fq-money: #c9342d; }
.hbq-widget .hbew-freight .fq-query { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 10px 16px; align-items: end; }
.hbq-widget .hbew-freight .fq-fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.hbq-widget .hbew-freight .fq-field { min-width: 0; }
.hbq-widget .hbew-freight .fq-required { color: #a6432a; margin-right: 4px; }
.hbq-widget .hbew-freight .fq-field-weight { position: relative; }
.hbq-widget .hbew-freight .fq-field-weight::after { content: "kg"; position: absolute; right: 13px; bottom: 13px; color: var(--hq-muted); font-size: 13px; line-height: 1; pointer-events: none; }
.hbq-widget .hbew-freight .fq-field-weight .hq-input { padding-right: 44px; }
.hbq-widget .hbew-freight select.hq-input { height: 44px; appearance: auto; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; letter-spacing: 0; }

/* 国家组合框（JS 增强控件） */
.hbq-widget .hbew-freight .hq-country-picker { position: relative; min-width: 0; }
.hbq-widget .hbew-freight .hq-country-picker::after { content: ""; position: absolute; right: 15px; top: 18px; width: 7px; height: 7px; border: solid var(--hq-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.hbq-widget .hbew-freight .hq-country-input { display: block; padding-right: 34px; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; text-overflow: ellipsis; }
.hbq-widget .hbew-freight .hq-country-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 100%; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; padding: 4px; border: 1px solid #b9cad1; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgb(21 47 61 / 14%); }
.hbq-widget .hbew-freight .hq-country-option { min-height: 40px; padding: 9px 10px; border-radius: 5px; color: var(--hq-ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; cursor: pointer; }
.hbq-widget .hbew-freight .hq-country-option:is(.is-active, :hover) { background: var(--hq-wash); color: var(--hq-accent); }
.hbq-widget .hbew-freight .hq-country-option[aria-selected="true"] { font-weight: 700; }
.hbq-widget .hbew-freight .hq-country-empty { padding: 12px 10px; font-size: 13px; color: var(--hq-muted); }

/* 尺寸组：显示可见标题 */
.hbq-widget .hbew-freight .fq-dimensions { min-width: 0; padding: 0; border: 0; margin: 0; }
.hbq-widget .hbew-freight .fq-dimensions legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hbq-widget .hbew-freight .fq-dimensions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hbq-widget .hbew-freight .fq-dimensions label { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }

/* 操作区通过 display:contents 参与表单网格 */
.hbq-widget .hbew-freight .fq-actions { display: contents; }
.hbq-widget .hbew-freight .fq-actions .hq-hint { margin: 0; grid-column: 1 / -1; grid-row: 2; }
.hbq-widget .hbew-freight .fq-actions .hq-submit { grid-column: 3; grid-row: 1; width: 118px; }

/* 报价结果 */
.hbq-widget .hbew-freight .fq-result-tools { display: flex; align-items: center; gap: 16px; color: var(--hq-muted); font-size: 12.5px; }
.hbq-widget .hbew-freight .fq-toggle { min-height: 44px; border: 1px solid #b9d4ce; border-radius: 8px; background: #eef6f4; color: #234851; padding: 9px 14px; font: 600 12.5px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.hbq-widget .hbew-freight .fq-toggle:hover { background: #e3f1ed; border-color: #9dc4ba; }
.hbq-widget .hbew-freight .fq-toggle[aria-pressed="true"] { background: #dff0ea; border-color: #7fb2a5; color: #14544b; }
.hbq-widget .hbew-freight .fq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.hbq-widget .hbew-freight .fq-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-width: 0; margin: 0; padding: 0; border: 1px solid #dbe4e8; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%); box-shadow: 0 1px 2px rgb(21 47 61 / 3%); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hbq-widget .hbew-freight .fq-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--hq-accent), rgb(224 180 93 / 55%) 45%, transparent 88%); opacity: .55; pointer-events: none; }

/* 卡片头部：渠道在左、价格在右 */
.hbq-widget .hbew-freight .fq-card-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max-content); gap: 4px 28px; align-items: start; min-width: 0; padding: 20px 24px; }
.hbq-widget .hbew-freight .fq-channel-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; grid-column: 1; margin: 0 0 4px; padding: 0; }
.hbq-widget .hbew-freight .fq-method { display: inline-block; padding: 3px 9px; margin: 0; border: 1px solid #b3d5cc; border-radius: 5px; background: linear-gradient(135deg, #eaf7f2, #dff0ea); color: #14635a; font-size: 11px; line-height: 18px; font-weight: 700; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-method[data-method="2"] { background: #e6eff8; color: #245f88; border-color: #bcd4e8; }
.hbq-widget .hbew-freight .fq-method[data-method="3"], .hbq-widget .hbew-freight .fq-method[data-method="4"] { background: #eef1f3; color: #405b68; border-color: #ccd8de; }
.hbq-widget .hbew-freight .fq-card .fq-channel-title { display: block; position: static; float: none; min-width: 0; width: auto; margin: 0 !important; padding: 0 !important; color: var(--hq-ink); font-size: 18px !important; line-height: 27px; font-weight: 700; text-align: left; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-card-head > [data-total-price], .hbq-widget .hbew-freight .fq-card-head > [data-unit-price] { grid-column: 2; grid-row: 1 / span 2; min-width: 0; text-align: right; }
.hbq-widget .hbew-freight .fq-price { margin: 0 0 10px; font: 700 36px/1.15 "SFMono-Regular", Consolas, monospace; letter-spacing: -.01em; color: var(--fq-money); overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-price small { margin-left: 6px; font: 600 13px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif; color: inherit; }
.hbq-widget .hbew-freight .fq-unit-price { color: var(--fq-money); font-size: 14px; font-weight: 600; line-height: 1.9; margin-bottom: 10px; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-formula { margin: 0 0 8px; color: #5a707d; font-size: 12.5px; line-height: 1.8; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-calculation, .hbq-widget .hbew-freight .fq-tariff { color: var(--fq-money); }
.hbq-widget .hbew-freight .fq-price-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--hq-muted); font-size: 12px; }
.hbq-widget .hbew-freight .fq-price-meta span { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid #dfebeb; border-radius: 6px; background: linear-gradient(135deg, #eef5f4, #e8f0ef); color: #33515e; font-weight: 600; }

/* 卡片正文：标签与限制 */
.hbq-widget .hbew-freight .fq-card-body { min-width: 0; padding: 20px 24px; border-left: 1px solid #e8eef0; }
.hbq-widget .hbew-freight .fq-card-notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; min-width: 0; padding: 0 24px; border-top: 1px solid #e8eef0; background: #fcfdfd; }
.hbq-widget .hbew-freight .fq-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.hbq-widget .hbew-freight .fq-tags:empty { display: none; }
.hbq-widget .hbew-freight .fq-tag { padding: 4px 10px; border: 1px solid #dfebeb; border-radius: 999px; background: linear-gradient(135deg, #eef6f3, #e8f1f1); color: #3f5866; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-limits { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; margin: 0; padding: 13px 16px; border: 1px solid #e2ebee; border-radius: 10px; background: #f1f6f6; font-size: 12.5px; }
.hbq-widget .hbew-freight .fq-limits dt { color: #4a6470; font-weight: 700; }
.hbq-widget .hbew-freight .fq-limits dd { margin: 0; color: var(--hq-ink); font-weight: 600; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-note { margin: 0; padding: 0; border: 0; color: #435d6b; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-note:last-child { border-bottom: 0; }
.hbq-widget .hbew-freight .fq-note summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 9px 0; color: var(--hq-ink); font-size: 13.5px; font-weight: 700; cursor: pointer; list-style: none; }
.hbq-widget .hbew-freight .fq-note summary::-webkit-details-marker { display: none; }
.hbq-widget .hbew-freight .fq-note-toggle { flex-shrink: 0; color: var(--hq-accent); font-size: 12.5px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-note-toggle::before { content: "展开 +"; }
.hbq-widget .hbew-freight .fq-note[open] .fq-note-toggle::before { content: "收起 −"; }
.hbq-widget .hbew-freight .fq-note-content { padding: 0 0 14px; }
.hbq-widget .hbew-freight .fq-note-content > :last-child { margin-bottom: 0; }
.hbq-widget .hbew-freight .fq-note-content img { max-width: 100%; height: auto; }
.hbq-widget .hbew-freight .fq-note-content table { display: block; max-width: 100%; overflow-x: auto; }

/* 常见问题 */
.hbq-widget .hbew-freight .fq-faq { padding-top: 32px; margin-top: 36px; border-top: 1px solid var(--hq-line); }
.hbq-widget .hbew-freight .fq-faq .hq-section-heading { border-bottom: 0; padding-bottom: 0; }
.hbq-widget .hbew-freight .fq-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
.hbq-widget .hbew-freight .fq-faq-item { min-width: 0; border: 1px solid var(--hq-line); border-radius: 10px; background: #fff; }
.hbq-widget .hbew-freight .fq-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 15px 18px; color: var(--hq-ink); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.hbq-widget .hbew-freight .fq-faq-item summary::-webkit-details-marker { display: none; }
.hbq-widget .hbew-freight .fq-faq-item summary::after { content: "+"; flex-shrink: 0; color: var(--hq-accent); font-size: 18px; line-height: 1; }
.hbq-widget .hbew-freight .fq-faq-item[open] summary::after { content: "−"; }
.hbq-widget .hbew-freight .fq-faq-item p { margin: 0; padding: 0 18px 18px; color: #4a6470; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }

/* 桌面指针悬停反馈 */
@media (hover: hover) {
    .hbq-widget .hbew-freight .fq-card:hover { transform: translateY(-2px); border-color: #c9d9dc; box-shadow: 0 10px 28px rgb(12 37 49 / 10%); }
    .hbq-widget .hbew-remote .rq-match:hover { transform: translateY(-2px); border-color: #c9d9dc; box-shadow: 0 10px 28px rgb(12 37 49 / 10%); }
    .hbq-widget .hbew-sign-for .sf-result-row:hover > :is(th, td) { background: #f7faf9; }
}

/* ---------- 7. 物流轨迹 ---------- */
.hbq-widget .hbew-track { --ht-ink: var(--hq-ink); --ht-muted: var(--hq-muted); --ht-line: var(--hq-line); --ht-accent: var(--hq-accent); --ht-paper: var(--hq-paper); }

.hbq-widget .hbew-track .ht-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; background: var(--ht-paper); border: 1px solid #dbe4e8; border-radius: 12px; padding: 24px 28px; margin-bottom: 26px; box-shadow: 0 1px 2px rgb(21 47 61 / 3%); }
.hbq-widget .hbew-track .ht-small-label { font-size: 11px; color: var(--ht-muted); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 5px; }
.hbq-widget .hbew-track .ht-number { font-family: "SFMono-Regular", Consolas, monospace; font-size: clamp(21px, 3vw, 27px); font-weight: 700; overflow-wrap: anywhere; letter-spacing: .02em; }
.hbq-widget .hbew-track .ht-status { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #a9cfc6; background: #eaf7f2; color: #14635a; border-radius: 999px; font-size: 13px; font-weight: 700; padding: 5px 13px; margin-top: 12px; }
.hbq-widget .hbew-track .ht-status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.hbq-widget .hbew-track .ht-status[data-status="delivered"] { color: #0a6a41; background: #e8f7ef; border-color: #a9d8bd; }
.hbq-widget .hbew-track .ht-status[data-status="transit"] { color: #1c5f88; background: #e9f3fb; border-color: #b3d3e8; }
.hbq-widget .hbew-track .ht-status[data-status="pickup"] { color: #8a5a12; background: #faf2e2; border-color: #e3cfaa; }
.hbq-widget .hbew-track .ht-status[data-status="expired"],
.hbq-widget .hbew-track .ht-status[data-status="undelivered"],
.hbq-widget .hbew-track .ht-status[data-status="exception"] { color: #a13a1e; background: #fcece4; border-color: #e6c3b0; }
.hbq-widget .hbew-track .ht-metrics { display: flex; gap: 32px; align-items: center; text-align: right; }
.hbq-widget .hbew-track .ht-metrics strong { font: 700 32px/1.2 "SFMono-Regular", Consolas, monospace; }
.hbq-widget .hbew-track .ht-metrics span { font-size: 12px; color: var(--ht-muted); margin-left: 4px; }
.hbq-widget .hbew-track .ht-latest { grid-column: 1 / -1; border-top: 1px solid var(--ht-line); padding-top: 16px; margin: 0; color: var(--ht-muted); overflow-wrap: anywhere; }
.hbq-widget .hbew-track .ht-latest b { display: inline-block; color: #33515e; background: #e9f0f1; border: 1px solid #dbe7e8; border-radius: 5px; padding: 3px 9px; margin-right: 10px; font-size: 11px; font-weight: 700; }

.hbq-widget .hbew-track .ht-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.hbq-widget .hbew-track .ht-panel { background: var(--ht-paper); border: 1px solid #dbe4e8; border-radius: 12px; overflow: hidden; min-width: 0; box-shadow: 0 1px 2px rgb(21 47 61 / 3%); }
.hbq-widget .hbew-track .ht-panel-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--ht-line); }
.hbq-widget .hbew-track .ht-panel-head h2 { margin: 0 !important; color: var(--ht-ink); font-size: 17px !important; font-weight: 700; }
.hbq-widget .hbew-track .ht-panel-head small { display: block; font-size: 10px; font-weight: 500; color: var(--ht-muted); letter-spacing: .12em; margin-top: 2px; }
.hbq-widget .hbew-track .ht-count { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 28px; padding: 0 10px; border-radius: 999px; color: var(--ht-accent); background: linear-gradient(135deg, #eef7f4, #e3f2ec); box-shadow: inset 0 0 0 1px #dcedea; font-size: 12px; font-family: Consolas, monospace; }
.hbq-widget .hbew-track .ht-timeline { margin: 0; padding: 26px 24px 12px; list-style: none; }
.hbq-widget .hbew-track .ht-node { position: relative; padding: 0 0 28px 26px; border-left: 1px solid #d5e1e2; margin: 0 0 0 5px; list-style: none; }
.hbq-widget .hbew-track .ht-node:last-child { border-left-color: transparent; padding-bottom: 14px; }
.hbq-widget .hbew-track .ht-node::before { content: ""; position: absolute; left: -5.5px; top: 6px; width: 10px; height: 10px; background: #a7bbbf; border: 2px solid #fff; border-radius: 50%; }
.hbq-widget .hbew-track .ht-node:first-child::before { background: var(--ht-accent); box-shadow: 0 0 0 4px #e2f2ee; }
.hbq-widget .hbew-track .ht-node time { display: block; font: 12px/1.5 "SFMono-Regular", Consolas, monospace; color: var(--ht-muted); margin-bottom: 7px; }
.hbq-widget .hbew-track .ht-node p { font-size: 14px; line-height: 1.85; color: #243f4d; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.hbq-widget .hbew-track .ht-node:first-child p { color: var(--ht-ink); font-weight: 600; }
.hbq-widget .hbew-track .ht-empty { padding: 52px 24px; color: var(--ht-muted); text-align: center; }
.hbq-widget .hbew-track .ht-empty strong { display: block; font-size: 17px; color: var(--ht-ink); margin-bottom: 8px; font-weight: 700; }
.hbq-widget .hbew-track .ht-empty p { margin: 0; font-size: 13px; }

/* ---------- 8. 包裹到库 ---------- */
.hbq-widget .hbew-sign-for { --sf-ink: var(--hq-ink); --sf-muted: var(--hq-muted); --sf-line: var(--hq-line); --sf-teal: var(--hq-accent); }

.hbq-widget .hbew-sign-for .sf-result-count { color: #4a6470; font-size: 12.5px; font-weight: 600; }
.hbq-widget .hbew-sign-for .sf-table-shell { background: #fff; border: 1px solid #dbe4e8; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgb(21 47 61 / 3%); }
.hbq-widget .hbew-sign-for .sf-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; background: transparent; }
.hbq-widget .hbew-sign-for .sf-table thead { background: linear-gradient(180deg, #eaf1f2, #e1ebed); }
.hbq-widget .hbew-sign-for .sf-table thead th { padding: 14px 18px; color: #465f6b; text-align: left; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; border: 0; border-bottom: 2px solid #d3e0e3; }
.hbq-widget .hbew-sign-for .sf-table thead th:first-child { width: 27%; }
.hbq-widget .hbew-sign-for .sf-table thead th:nth-child(2) { width: 12%; }
.hbq-widget .hbew-sign-for .sf-table thead th:nth-child(3), .hbq-widget .hbew-sign-for .sf-table thead th:nth-child(4) { width: 18%; }
.hbq-widget .hbew-sign-for .sf-table thead th:nth-child(5) { width: 12%; }
.hbq-widget .hbew-sign-for .sf-table thead th:last-child { width: 13%; }
.hbq-widget .hbew-sign-for .sf-result-row > :is(th, td) { padding: 18px; text-align: left; vertical-align: middle; color: var(--sf-ink); font-size: 14px; font-weight: 600; border: 0; border-bottom: 1px solid #e4ecef; overflow-wrap: anywhere; }
.hbq-widget .hbew-sign-for .sf-result-row:last-child > :is(th, td) { border-bottom: 0; }
.hbq-widget .hbew-sign-for .sf-number-label { display: none; }
.hbq-widget .hbew-sign-for .sf-number { font: 700 15.5px/1.65 "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.hbq-widget .hbew-sign-for .sf-cell-number { min-width: 0; }
.hbq-widget .hbew-sign-for .sf-cell-date .sf-value { color: #435d6b; font-size: 13px; }
.hbq-widget .hbew-sign-for .sf-status { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 13px; border: 1px solid #cfdbdf; border-radius: 999px; color: #4d6570; background: #eef3f4; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hbq-widget .hbew-sign-for .sf-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.hbq-widget .hbew-sign-for .sf-status-arrived { color: #066a56; background: #e8f6f0; border-color: #a9d6c6; }
.hbq-widget .hbew-sign-for .sf-status-shipped { color: #1b5a8c; background: #e9f3fb; border-color: #b5d2e8; }

/* ---------- 9. 偏远地区查询 ---------- */
.hbq-widget .hbew-remote .rq-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hbq-widget .hbew-remote .rq-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.hbq-widget .hbew-remote .rq-actions .hq-hint { margin: 0; }
.hbq-widget .hbew-remote .rq-actions .hq-submit { flex: 0 0 128px; }
.hbq-widget .hbew-remote .rq-matches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.hbq-widget .hbew-remote .rq-match { position: relative; min-width: 0; padding: 20px; border: 1px solid #dbe4e8; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%); box-shadow: 0 1px 2px rgb(21 47 61 / 3%); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hbq-widget .hbew-remote .rq-match::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--hq-accent), rgb(224 180 93 / 55%) 45%, transparent 88%); opacity: .55; }
.hbq-widget .hbew-remote .rq-match h3 { margin: 0 0 14px !important; color: var(--hq-accent); font-size: 17px !important; line-height: 1.5; font-weight: 700; }
.hbq-widget .hbew-remote .rq-match dl { margin: 0; }
.hbq-widget .hbew-remote .rq-match dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px dashed #e6edef; }
.hbq-widget .hbew-remote .rq-match dl > div:last-child { border-bottom: 0; }
.hbq-widget .hbew-remote .rq-match dt { color: #4a6470; font-size: 12.5px; font-weight: 600; }
.hbq-widget .hbew-remote .rq-match dd { margin: 0; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- 10. 顶部消息条 ---------- */
.hbq-widget > .hbq-message { margin: 0; padding: 12px 20px; background: #f2f6f6; color: #152f3d; font: 14px/1.6 "PingFang SC", "Microsoft YaHei", sans-serif; text-indent: 0; overflow-wrap: anywhere; }
.hbq-widget .hbq-message:empty { display: none; }

/* ---------- 10.5 渐变、插画与动效 ---------- */
@keyframes hq-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); } 50% { transform: translate3d(0, -7px, 0) rotate(1deg); } }
@keyframes hq-drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-12px, 10px, 0) scale(1.06); } }
@keyframes hq-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hq-pulse { 0% { box-shadow: 0 0 0 0 var(--hq-accent-soft); } 70% { box-shadow: 0 0 0 11px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hbq-widget .hbew-query-page .hq-result,
.hbq-widget .hbew-query-page .hq-empty,
.hbq-widget .hbew-query-page .hq-error { animation: hq-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.hbq-widget .hbew-freight .fq-card { animation: hq-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.hbq-widget .hbew-freight .fq-card:nth-child(2) { animation-delay: .05s; }
.hbq-widget .hbew-freight .fq-card:nth-child(3) { animation-delay: .1s; }
.hbq-widget .hbew-freight .fq-card:nth-child(4) { animation-delay: .15s; }
.hbq-widget .hbew-freight .fq-card:nth-child(5) { animation-delay: .2s; }
.hbq-widget .hbew-freight .fq-card:nth-child(n + 6) { animation-delay: .25s; }

.hbq-widget .hbew-track .ht-node:first-child::before { animation: hq-pulse 2.6s ease-out infinite; }
dialog.hbq-loading .hbq-loading-card { background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%); }

/* ---------- 11. 视口媒体查询（旧浏览器断点回退） ---------- */
@media (max-width: 760px) {
    .hbq-widget .hbew-query-page { padding: 18px 16px 32px; }
    .hbq-widget .hbew-query-page .hq-hero { display: block; margin-bottom: 14px; }
    .hbq-widget .hbew-query-page .hq-hero::before, .hbq-widget .hbew-query-page .hq-hero::after { display: none; }
    .hbq-widget .hbew-query-page .hq-hero-main { gap: 12px; }
    .hbq-widget .hbew-query-page .hq-hero-icon { width: 46px; height: 46px; border-radius: 14px; }
    .hbq-widget .hbew-query-page .hq-hero-icon svg { width: 22px; height: 22px; }
    .hbq-widget .hbew-query-page .hq-title { font-size: 20px !important; }
    .hbq-widget .hbew-query-page .hq-note { display: none; }
    .hbq-widget .hbew-query-page .hq-query { padding: 14px; }
    .hbq-widget .hbew-query-page .hq-query-single { display: block; }
    .hbq-widget .hbew-query-page .hq-query-single > label { margin-bottom: 6px; }
    .hbq-widget .hbew-query-page .hq-query-row { gap: 8px; }
    .hbq-widget .hbew-query-page .hq-submit { flex-basis: 104px; padding-right: 10px; padding-left: 10px; font-size: 14px; gap: 5px; }
    .hbq-widget .hbew-query-page .hq-result { margin-top: 20px; }
    .hbq-widget .hbew-query-page .hq-section-heading { margin-bottom: 12px; }
    .hbq-widget .hbew-query-page .hq-section-heading h2 { font-size: 17px !important; }
    .hbq-widget .hbew-query-page .hq-empty { padding: 32px 18px; margin-top: 24px; }
    .hbq-widget .hbew-query-page .hq-empty :is(h2, strong) { font-size: 16px !important; }
    .hbq-widget .hbew-query-page .hq-footnote { text-align: left; line-height: 1.8; }
}
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-query { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
    .hbq-widget .hbew-freight .fq-fields { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-actions .hq-submit { grid-column: 2; grid-row: 2; }
    .hbq-widget .hbew-freight .fq-actions .hq-hint { grid-row: 3; }
    .hbq-widget .hbew-freight .fq-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hbq-widget .hbew-freight .fq-card-notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 0 24px; border-left: 0; border-top: 1px solid #e8eef0; }
    .hbq-widget .hbew-freight .fq-note { border-bottom: 0; }
}
@media (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-query { gap: 10px 12px; }
    .hbq-widget .hbew-freight .fq-fields { gap: 10px; }
    .hbq-widget .hbew-freight .fq-dimensions { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-dimensions-grid { gap: 8px; }
    .hbq-widget .hbew-freight .fq-dimensions .hq-input { padding-left: 8px; padding-right: 8px; }
    .hbq-widget .hbew-freight .fq-actions .hq-submit { grid-row: 3; width: 104px; }
    .hbq-widget .hbew-freight .fq-actions .hq-hint { grid-column: 1; line-height: 1.7; }
    .hbq-widget .hbew-freight .fq-result-tools { gap: 10px; }
    .hbq-widget .hbew-freight .fq-result-tools > span { display: none; }
    .hbq-widget .hbew-freight .fq-grid, .hbq-widget .hbew-freight .fq-faq-grid { grid-template-columns: 1fr; gap: 16px; }
    .hbq-widget .hbew-freight .fq-card { grid-template-columns: minmax(0, 1fr); }
    .hbq-widget .hbew-freight .fq-card-head { display: flex; flex-direction: column; gap: 0; padding: 18px; }
    .hbq-widget .hbew-freight .fq-card-head > [data-total-price], .hbq-widget .hbew-freight .fq-card-head > [data-unit-price] { text-align: left; margin-top: 6px; }
    .hbq-widget .hbew-freight .fq-price { font-size: 28px; }
    .hbq-widget .hbew-freight .fq-card-body { padding: 16px 18px; border-left: 0; border-top: 1px solid #e8eef0; }
    .hbq-widget .hbew-freight .fq-card-notes { display: block; padding: 0 18px; }
    .hbq-widget .hbew-freight .fq-note { border-bottom: 1px solid #e8eef0; }
    .hbq-widget .hbew-freight .fq-faq { margin-top: 28px; padding-top: 24px; }
    .hbq-widget .hbew-track .ht-summary { padding: 22px 20px; grid-template-columns: 1fr; gap: 16px; }
    .hbq-widget .hbew-track .ht-metrics { justify-content: flex-start; text-align: left; }
    .hbq-widget .hbew-track .ht-columns { grid-template-columns: 1fr; gap: 18px; }
    .hbq-widget .hbew-track .ht-panel-head { padding: 18px 20px; }
    .hbq-widget .hbew-track .ht-timeline { padding: 24px 20px 10px; }
    .hbq-widget .hbew-sign-for .sf-table-shell { background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
    .hbq-widget .hbew-sign-for .sf-table { display: block; }
    .hbq-widget .hbew-sign-for .sf-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .hbq-widget .hbew-sign-for .sf-table tbody { display: grid; gap: 16px; }
    .hbq-widget .hbew-sign-for .sf-result-row { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding: 18px; background: #fff; border: 1px solid #dbe4e8; border-radius: 12px; box-shadow: 0 1px 2px rgb(21 47 61 / 3%); }
    .hbq-widget .hbew-sign-for .sf-result-row > :is(th, td) { display: block; min-width: 0; padding: 14px 0 0; border: 0; font-weight: 500; }
    .hbq-widget .hbew-sign-for .sf-result-row > .sf-cell-number { grid-column: 1 / -1; padding: 0 0 16px; border-bottom: 1px solid #e8eef0; }
    .hbq-widget .hbew-sign-for .sf-number-label { display: block; margin: 0 90px 14px 0; color: var(--sf-muted); font-size: 11px; line-height: 1.6; font-weight: 400; }
    .hbq-widget .hbew-sign-for .sf-number { display: block; font-size: 17px; line-height: 1.6; }
    .hbq-widget .hbew-sign-for .sf-cell-weight { grid-column: 1; grid-row: 2; }
    .hbq-widget .hbew-sign-for .sf-cell-postage { grid-column: 2; grid-row: 2; }
    .hbq-widget .hbew-sign-for :is(.sf-cell-weight, .sf-cell-postage)::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--sf-muted); font-size: 11px; }
    .hbq-widget .hbew-sign-for :is(.sf-cell-weight, .sf-cell-postage) .sf-value { font: 600 20px/1.4 "SFMono-Regular", Consolas, monospace; }
    .hbq-widget .hbew-sign-for .sf-result-row > .sf-cell-date { grid-column: 1 / -1; display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-top: 12px; }
    .hbq-widget .hbew-sign-for .sf-cell-date::before { content: attr(data-label); flex-shrink: 0; color: var(--sf-muted); font-size: 12px; }
    .hbq-widget .hbew-sign-for .sf-cell-date .sf-value { min-width: 0; text-align: right; font-size: 12px; overflow-wrap: anywhere; }
    .hbq-widget .hbew-sign-for .sf-result-row > .sf-cell-status { position: absolute; right: 18px; top: 14px; padding: 0; }
}
@media (max-width: 900px) and (min-width: 761px) {
    .hbq-widget .hbew-sign-for .sf-table thead th, .hbq-widget .hbew-sign-for .sf-result-row > :is(th, td) { padding-right: 10px; padding-left: 10px; }
    .hbq-widget .hbew-sign-for .sf-number { font-size: 13px; }
}
@media (max-width: 767px) {
    .hbq-widget .hbew-remote .rq-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-remote .rq-matches { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .hbq-widget .hbew-remote .rq-fields { grid-template-columns: 1fr; }
    .hbq-widget .hbew-remote .rq-actions { align-items: stretch; flex-direction: column; gap: 10px; }
    .hbq-widget .hbew-remote .rq-actions .hq-submit { flex-basis: auto; width: 100%; }
    .hbq-widget .hbew-remote .rq-match dl > div { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
}

/* ---------- 12. 容器查询镜像（窄主题侧栏等价规则） ---------- */
@container hbq (max-width: 760px) {
    .hbq-widget .hbew-query-page { padding: 18px 16px 32px; }
    .hbq-widget .hbew-query-page .hq-hero { display: block; margin-bottom: 14px; }
    .hbq-widget .hbew-query-page .hq-hero::before, .hbq-widget .hbew-query-page .hq-hero::after { display: none; }
    .hbq-widget .hbew-query-page .hq-hero-main { gap: 12px; }
    .hbq-widget .hbew-query-page .hq-hero-icon { width: 46px; height: 46px; border-radius: 14px; }
    .hbq-widget .hbew-query-page .hq-hero-icon svg { width: 22px; height: 22px; }
    .hbq-widget .hbew-query-page .hq-title { font-size: 20px !important; }
    .hbq-widget .hbew-query-page .hq-note { display: none; }
    .hbq-widget .hbew-query-page .hq-query { padding: 14px; }
    .hbq-widget .hbew-query-page .hq-query-single { display: block; }
    .hbq-widget .hbew-query-page .hq-query-single > label { margin-bottom: 6px; }
    .hbq-widget .hbew-query-page .hq-query-row { gap: 8px; }
    .hbq-widget .hbew-query-page .hq-submit { flex-basis: 104px; padding-right: 10px; padding-left: 10px; font-size: 14px; gap: 5px; }
    .hbq-widget .hbew-query-page .hq-result { margin-top: 20px; }
    .hbq-widget .hbew-query-page .hq-section-heading { margin-bottom: 12px; }
    .hbq-widget .hbew-query-page .hq-section-heading h2 { font-size: 17px !important; }
    .hbq-widget .hbew-query-page .hq-empty { padding: 32px 18px; margin-top: 24px; }
    .hbq-widget .hbew-query-page .hq-empty :is(h2, strong) { font-size: 16px !important; }
    .hbq-widget .hbew-query-page .hq-footnote { text-align: left; line-height: 1.8; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-query { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
    .hbq-widget .hbew-freight .fq-fields { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-actions .hq-submit { grid-column: 2; grid-row: 2; }
    .hbq-widget .hbew-freight .fq-actions .hq-hint { grid-row: 3; }
    .hbq-widget .hbew-freight .fq-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hbq-widget .hbew-freight .fq-card-notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 0 24px; border-left: 0; border-top: 1px solid #e8eef0; }
    .hbq-widget .hbew-freight .fq-note { border-bottom: 0; }
}
@container hbq (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-query { gap: 10px 12px; }
    .hbq-widget .hbew-freight .fq-fields { gap: 10px; }
    .hbq-widget .hbew-freight .fq-dimensions { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-dimensions-grid { gap: 8px; }
    .hbq-widget .hbew-freight .fq-dimensions .hq-input { padding-left: 8px; padding-right: 8px; }
    .hbq-widget .hbew-freight .fq-actions .hq-submit { grid-row: 3; width: 104px; }
    .hbq-widget .hbew-freight .fq-actions .hq-hint { grid-column: 1; line-height: 1.7; }
    .hbq-widget .hbew-freight .fq-result-tools { gap: 10px; }
    .hbq-widget .hbew-freight .fq-result-tools > span { display: none; }
    .hbq-widget .hbew-freight .fq-grid, .hbq-widget .hbew-freight .fq-faq-grid { grid-template-columns: 1fr; gap: 16px; }
    .hbq-widget .hbew-freight .fq-card { grid-template-columns: minmax(0, 1fr); }
    .hbq-widget .hbew-freight .fq-card-head { display: flex; flex-direction: column; gap: 0; padding: 18px; }
    .hbq-widget .hbew-freight .fq-card-head > [data-total-price], .hbq-widget .hbew-freight .fq-card-head > [data-unit-price] { text-align: left; margin-top: 6px; }
    .hbq-widget .hbew-freight .fq-price { font-size: 28px; }
    .hbq-widget .hbew-freight .fq-card-body { padding: 16px 18px; border-left: 0; border-top: 1px solid #e8eef0; }
    .hbq-widget .hbew-freight .fq-card-notes { display: block; padding: 0 18px; }
    .hbq-widget .hbew-freight .fq-note { border-bottom: 1px solid #e8eef0; }
    .hbq-widget .hbew-freight .fq-faq { margin-top: 28px; padding-top: 24px; }
    .hbq-widget .hbew-track .ht-summary { padding: 22px 20px; grid-template-columns: 1fr; gap: 16px; }
    .hbq-widget .hbew-track .ht-metrics { justify-content: flex-start; text-align: left; }
    .hbq-widget .hbew-track .ht-columns { grid-template-columns: 1fr; gap: 18px; }
    .hbq-widget .hbew-track .ht-panel-head { padding: 18px 20px; }
    .hbq-widget .hbew-track .ht-timeline { padding: 24px 20px 10px; }
    .hbq-widget .hbew-sign-for .sf-table-shell { background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
    .hbq-widget .hbew-sign-for .sf-table { display: block; }
    .hbq-widget .hbew-sign-for .sf-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .hbq-widget .hbew-sign-for .sf-table tbody { display: grid; gap: 16px; }
    .hbq-widget .hbew-sign-for .sf-result-row { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding: 18px; background: #fff; border: 1px solid #dbe4e8; border-radius: 12px; box-shadow: 0 1px 2px rgb(21 47 61 / 3%); }
    .hbq-widget .hbew-sign-for .sf-result-row > :is(th, td) { display: block; min-width: 0; padding: 14px 0 0; border: 0; font-weight: 500; }
    .hbq-widget .hbew-sign-for .sf-result-row > .sf-cell-number { grid-column: 1 / -1; padding: 0 0 16px; border-bottom: 1px solid #e8eef0; }
    .hbq-widget .hbew-sign-for .sf-number-label { display: block; margin: 0 90px 14px 0; color: var(--sf-muted); font-size: 11px; line-height: 1.6; font-weight: 400; }
    .hbq-widget .hbew-sign-for .sf-number { display: block; font-size: 17px; line-height: 1.6; }
    .hbq-widget .hbew-sign-for .sf-cell-weight { grid-column: 1; grid-row: 2; }
    .hbq-widget .hbew-sign-for .sf-cell-postage { grid-column: 2; grid-row: 2; }
    .hbq-widget .hbew-sign-for :is(.sf-cell-weight, .sf-cell-postage)::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--sf-muted); font-size: 11px; }
    .hbq-widget .hbew-sign-for :is(.sf-cell-weight, .sf-cell-postage) .sf-value { font: 600 20px/1.4 "SFMono-Regular", Consolas, monospace; }
    .hbq-widget .hbew-sign-for .sf-result-row > .sf-cell-date { grid-column: 1 / -1; display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-top: 12px; }
    .hbq-widget .hbew-sign-for .sf-cell-date::before { content: attr(data-label); flex-shrink: 0; color: var(--sf-muted); font-size: 12px; }
    .hbq-widget .hbew-sign-for .sf-cell-date .sf-value { min-width: 0; text-align: right; font-size: 12px; overflow-wrap: anywhere; }
    .hbq-widget .hbew-sign-for .sf-result-row > .sf-cell-status { position: absolute; right: 18px; top: 14px; padding: 0; }
}
@container hbq (max-width: 900px) and (min-width: 761px) {
    .hbq-widget .hbew-sign-for .sf-table thead th, .hbq-widget .hbew-sign-for .sf-result-row > :is(th, td) { padding-right: 10px; padding-left: 10px; }
    .hbq-widget .hbew-sign-for .sf-number { font-size: 13px; }
}
@container hbq (max-width: 767px) {
    .hbq-widget .hbew-remote .rq-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-remote .rq-matches { grid-template-columns: 1fr; }
}
@container hbq (max-width: 420px) {
    .hbq-widget .hbew-remote .rq-fields { grid-template-columns: 1fr; }
    .hbq-widget .hbew-remote .rq-actions { align-items: stretch; flex-direction: column; gap: 10px; }
    .hbq-widget .hbew-remote .rq-actions .hq-submit { flex-basis: auto; width: 100%; }
    .hbq-widget .hbew-remote .rq-match dl > div { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
}

/* ---------- 13. 全局加载层（挂到 body，不受主题容器裁剪） ---------- */
dialog.hbq-loading {
    position: fixed; inset: 0; z-index: 2147483647; box-sizing: border-box;
    width: 100%; max-width: none; height: 100%; max-height: none;
    margin: 0; padding: 24px; border: 0; background: transparent; color: #152f3d;
    font: 14px/1.6 "PingFang SC", "Microsoft YaHei", sans-serif;
}
dialog.hbq-loading:not([open]) { display: none !important; }
dialog.hbq-loading[open] { display: grid; place-items: center; }
dialog.hbq-loading::backdrop { background: rgb(21 47 61 / 28%); }
dialog.hbq-loading[data-fallback] { background: rgb(21 47 61 / 28%); }
dialog.hbq-loading .hbq-loading-card {
    box-sizing: border-box; display: flex; flex-direction: column; align-items: center;
    width: 272px; max-width: 100%; padding: 30px 24px; gap: 8px;
    border: 1px solid #e4ebee; border-radius: 16px; background: #fff;
    box-shadow: 0 12px 48px #152f3d26; text-align: center; outline: none;
}
dialog.hbq-loading .hbq-loading-spinner {
    box-sizing: border-box; display: block; width: 36px; height: 36px; margin: 0 0 8px;
    border: 3px solid #e4edee; border-top-color: var(--hbq-loading-accent, #087f78);
    border-radius: 50%; animation: hbq-loading-spin .75s linear infinite;
}
dialog.hbq-loading .hbq-loading-title { margin: 0; padding: 0; font-size: 16px; font-weight: 600; }
dialog.hbq-loading .hbq-loading-description { margin: 0; padding: 0; color: #647986; font-size: 13px; }
@keyframes hbq-loading-spin { to { transform: rotate(360deg); } }

/* ---------- 14. 减少动态效果偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    .hbq-widget .hbew-query-page *, .hbq-widget .hbew-query-page *::before, .hbq-widget .hbew-query-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .hbq-widget .hbew-freight .fq-card:hover, .hbq-widget .hbew-remote .rq-match:hover { transform: none; }
    dialog.hbq-loading .hbq-loading-spinner { animation: none; }
}

/* ---------- 15. 1.0.8 报价卡片：渠道 / 合计运费 / 指标条 / 说明行 ---------- */
.hbq-widget .hbew-freight .fq-card { display: block; }
.hbq-widget .hbew-freight .fq-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: start; padding: 20px 24px 18px; }
.hbq-widget .hbew-freight .fq-channel-block { min-width: 0; }
.hbq-widget .hbew-freight .fq-field-label { display: block; margin-bottom: 6px; color: #5a707d; font-size: 12px; letter-spacing: .04em; }
.hbq-widget .hbew-freight .fq-channel-heading { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.hbq-widget .hbew-freight .fq-card-head > [data-total-price],
.hbq-widget .hbew-freight .fq-card-head > [data-unit-price] { grid-column: 2; grid-row: 1 / span 2; min-width: 0; text-align: right; }
.hbq-widget .hbew-freight .fq-total .fq-field-label { text-align: right; }
.hbq-widget .hbew-freight .fq-channel-block .fq-tags { margin: 12px 0 0; }
.hbq-widget .hbew-freight .fq-card-head .fq-price { margin: 0 0 6px; }
.hbq-widget .hbew-freight .fq-card-head .fq-formula { margin: 0; }
.hbq-widget .hbew-freight .fq-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #e6eef0; border-bottom: 1px solid #e6eef0; background: #f7faf9; }
.hbq-widget .hbew-freight .fq-metric { min-width: 0; padding: 14px 18px; border-right: 1px solid #e6eef0; }
.hbq-widget .hbew-freight .fq-metric:last-child { border-right: 0; }
.hbq-widget .hbew-freight .fq-metric-label { display: block; margin-bottom: 5px; color: #5a707d; font-size: 11.5px; letter-spacing: .03em; }
.hbq-widget .hbew-freight .fq-metric-value { display: block; color: var(--hq-ink); font-size: 13.5px; line-height: 1.6; font-weight: 700; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-details { padding: 2px 24px 6px; }
.hbq-widget .hbew-freight .fq-detail { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid #eaf1f2; color: #435d6b; font-size: 13px; line-height: 1.8; }
.hbq-widget .hbew-freight .fq-details > :first-child { border-top: 0; }
.hbq-widget .hbew-freight .fq-detail-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; color: var(--hq-accent); background: linear-gradient(135deg, var(--hq-accent-soft), rgb(224 180 93 / 14%)); }
.hbq-widget .hbew-freight .fq-detail-icon svg { width: 18px; height: 18px; }
.hbq-widget .hbew-freight .fq-detail-label { flex: 0 0 104px; color: #234851; font-weight: 700; }
.hbq-widget .hbew-freight .fq-detail-value { min-width: 0; color: var(--hq-ink); font-weight: 600; }
.hbq-widget .hbew-freight .fq-detail--note { display: block; padding: 12px 0; }
.hbq-widget .hbew-freight .fq-detail--note summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; cursor: pointer; list-style: none; }
.hbq-widget .hbew-freight .fq-detail--note summary::-webkit-details-marker { display: none; }
.hbq-widget .hbew-freight .fq-detail--note[open] .fq-note-toggle::before { content: "收起 −"; }
.hbq-widget .hbew-freight .fq-detail--note .fq-note-content { padding: 8px 0 4px 142px; color: #435d6b; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-detail--note .fq-note-content > :last-child { margin-bottom: 0; }
.hbq-widget .hbew-freight .fq-detail--note .fq-note-content img { max-width: 100%; height: auto; }
.hbq-widget .hbew-freight .fq-detail--note .fq-note-content table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-metric:nth-child(3n) { border-right: 0; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(n + 4) { border-top: 1px solid #e6eef0; }
}
@media (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-card-head { display: block; padding: 18px; }
    .hbq-widget .hbew-freight .fq-card-head > [data-total-price],
    .hbq-widget .hbew-freight .fq-card-head > [data-unit-price] { text-align: left; margin-top: 12px; }
    .hbq-widget .hbew-freight .fq-total .fq-field-label { text-align: left; }
    .hbq-widget .hbew-freight .fq-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-metric { padding: 12px 14px; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(3n) { border-right: 1px solid #e6eef0; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(2n) { border-right: 0; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(n + 3) { border-top: 1px solid #e6eef0; }
    .hbq-widget .hbew-freight .fq-details { padding: 0 18px 4px; }
    .hbq-widget .hbew-freight .fq-detail { gap: 10px; }
    .hbq-widget .hbew-freight .fq-detail-label { flex-basis: 88px; }
    .hbq-widget .hbew-freight .fq-detail--note .fq-note-content { padding-left: 0; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-metric:nth-child(3n) { border-right: 0; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(n + 4) { border-top: 1px solid #e6eef0; }
}
@container hbq (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-card-head { display: block; padding: 18px; }
    .hbq-widget .hbew-freight .fq-card-head > [data-total-price],
    .hbq-widget .hbew-freight .fq-card-head > [data-unit-price] { text-align: left; margin-top: 12px; }
    .hbq-widget .hbew-freight .fq-total .fq-field-label { text-align: left; }
    .hbq-widget .hbew-freight .fq-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-metric { padding: 12px 14px; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(3n) { border-right: 1px solid #e6eef0; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(2n) { border-right: 0; }
    .hbq-widget .hbew-freight .fq-metric:nth-child(n + 3) { border-top: 1px solid #e6eef0; }
    .hbq-widget .hbew-freight .fq-details { padding: 0 18px 4px; }
    .hbq-widget .hbew-freight .fq-detail { gap: 10px; }
    .hbq-widget .hbew-freight .fq-detail-label { flex-basis: 88px; }
    .hbq-widget .hbew-freight .fq-detail--note .fq-note-content { padding-left: 0; }
}

/* ---------- 16. 1.0.9 报价信息层级：价格/时效/计费重优先，限制次之，说明收起 ---------- */
.hbq-widget .hbew-freight .fq-facts { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.6fr); border-top: 1px solid #e6eef0; border-bottom: 1px solid #e6eef0; background: #f7faf9; }
.hbq-widget .hbew-freight .fq-fact { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 14px 18px; border-right: 1px solid #e6eef0; }
.hbq-widget .hbew-freight .fq-fact:last-child { border-right: 0; }
.hbq-widget .hbew-freight .fq-fact-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; color: var(--hq-accent); background: linear-gradient(135deg, var(--hq-accent-soft), rgb(224 180 93 / 14%)); }
.hbq-widget .hbew-freight .fq-fact-icon svg { width: 16px; height: 16px; }
.hbq-widget .hbew-freight .fq-fact-label { display: block; margin-bottom: 3px; color: #5a707d; font-size: 11.5px; letter-spacing: .03em; }
.hbq-widget .hbew-freight .fq-fact-value { display: block; color: var(--hq-ink); font-size: 14.5px; line-height: 1.55; font-weight: 700; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-facts .fq-fact--wide .fq-fact-value { font-weight: 600; }
.hbq-widget .hbew-freight .fq-limits-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 11px 24px; border-bottom: 1px solid #eaf1f2; color: #4a6470; font-size: 12.5px; line-height: 1.7; }
.hbq-widget .hbew-freight .fq-limits-icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--hq-accent); }
.hbq-widget .hbew-freight .fq-limits-line b { color: #234851; font-weight: 700; }
.hbq-widget .hbew-freight .fq-limits-sep { color: #b3c6cd; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-fact:nth-child(2) { border-right: 0; }
    .hbq-widget .hbew-freight .fq-fact--wide { grid-column: 1 / -1; border-top: 1px solid #e6eef0; }
}
@media (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-facts { grid-template-columns: 1fr; }
    .hbq-widget .hbew-freight .fq-fact { border-right: 0; padding: 12px 14px; }
    .hbq-widget .hbew-freight .fq-fact + .fq-fact { border-top: 1px solid #e6eef0; }
    .hbq-widget .hbew-freight .fq-limits-line { padding: 10px 18px; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-fact:nth-child(2) { border-right: 0; }
    .hbq-widget .hbew-freight .fq-fact--wide { grid-column: 1 / -1; border-top: 1px solid #e6eef0; }
}
@container hbq (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-facts { grid-template-columns: 1fr; }
    .hbq-widget .hbew-freight .fq-fact { border-right: 0; padding: 12px 14px; }
    .hbq-widget .hbew-freight .fq-fact + .fq-fact { border-top: 1px solid #e6eef0; }
    .hbq-widget .hbew-freight .fq-limits-line { padding: 10px 18px; }
}

/* ---------- 17. 1.0.10 报价区块分层：摘要卡 / 关键信息卡 / 限制条 / 说明卡 ---------- */
.hbq-widget .hbew-freight .fq-grid { gap: 22px; }
.hbq-widget .hbew-freight .fq-card { display: flex; flex-direction: column; gap: 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; padding: 0; }
.hbq-widget .hbew-freight .fq-card::before { display: none; }
.hbq-widget .hbew-freight .fq-summary { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: start; padding: 20px 24px; border: 1px solid #dbe4e8; border-radius: 14px; background: linear-gradient(180deg, #ffffff, #fbfdfd); box-shadow: 0 1px 2px rgb(12 37 49 / 4%); overflow: hidden; }
.hbq-widget .hbew-freight .fq-summary::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--hq-accent), rgb(224 180 93 / 55%) 45%, transparent 88%); opacity: .65; }
.hbq-widget .hbew-freight .fq-summary > [data-total-price], .hbq-widget .hbew-freight .fq-summary > [data-unit-price] { grid-column: 2; grid-row: 1 / span 2; min-width: 0; text-align: right; }
.hbq-widget .hbew-freight .fq-summary .fq-tags { margin: 12px 0 0; }
.hbq-widget .hbew-freight .fq-summary .fq-price { margin: 0; }
.hbq-widget .hbew-freight .fq-total .fq-field-label { text-align: right; }
.hbq-widget .hbew-freight .fq-keyfacts { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.5fr); gap: 12px; }
.hbq-widget .hbew-freight .fq-keycard { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 14px 16px; border: 1px solid #e2ebee; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(12 37 49 / 3%); }
.hbq-widget .hbew-freight .fq-keycard-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; color: var(--hq-accent); background: linear-gradient(135deg, var(--hq-accent-soft), rgb(224 180 93 / 14%)); }
.hbq-widget .hbew-freight .fq-keycard-icon svg { width: 17px; height: 17px; }
.hbq-widget .hbew-freight .fq-keycard-label { display: block; margin-bottom: 3px; color: #5a707d; font-size: 11.5px; letter-spacing: .03em; }
.hbq-widget .hbew-freight .fq-keycard-value { display: block; color: var(--hq-ink); font-size: 14.5px; line-height: 1.55; font-weight: 700; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-keycard--wide .fq-keycard-value { font-weight: 600; }
.hbq-widget .hbew-freight .fq-limits-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 10px 16px; border: 1px solid #e6eef0; border-radius: 10px; background: #f7faf9; color: #4a6470; font-size: 12.5px; line-height: 1.7; }
.hbq-widget .hbew-freight .fq-note-card { border: 1px solid #e2ebee; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgb(12 37 49 / 3%); }
.hbq-widget .hbew-freight .fq-note-card summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 12px 18px; cursor: pointer; list-style: none; }
.hbq-widget .hbew-freight .fq-note-card summary::-webkit-details-marker { display: none; }
.hbq-widget .hbew-freight .fq-note-card-title { color: #234851; font-size: 13.5px; font-weight: 700; }
.hbq-widget .hbew-freight .fq-note-card[open] summary { border-bottom: 1px solid #eaf1f2; }
.hbq-widget .hbew-freight .fq-note-card[open] .fq-note-toggle::before { content: "收起 −"; }
.hbq-widget .hbew-freight .fq-note-card .fq-note-content { padding: 14px 18px; color: #435d6b; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-note-card .fq-note-content > :last-child { margin-bottom: 0; }
.hbq-widget .hbew-freight .fq-note-card .fq-note-content img { max-width: 100%; height: auto; }
.hbq-widget .hbew-freight .fq-note-card .fq-note-content table { display: block; max-width: 100%; overflow-x: auto; }
@media (hover: hover) {
    .hbq-widget .hbew-freight .fq-card:hover { transform: none; border-color: transparent; box-shadow: none; }
    .hbq-widget .hbew-freight .fq-summary:hover { border-color: #c9d9dc; box-shadow: 0 8px 22px rgb(12 37 49 / 8%); }
}
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-keycard--wide { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-card { gap: 10px; }
    .hbq-widget .hbew-freight .fq-summary { display: block; padding: 18px; }
    .hbq-widget .hbew-freight .fq-summary > [data-total-price], .hbq-widget .hbew-freight .fq-summary > [data-unit-price] { text-align: left; margin-top: 12px; }
    .hbq-widget .hbew-freight .fq-total .fq-field-label { text-align: left; }
    .hbq-widget .hbew-freight .fq-keyfacts { grid-template-columns: 1fr; gap: 10px; }
    .hbq-widget .hbew-freight .fq-keycard { padding: 12px 14px; }
    .hbq-widget .hbew-freight .fq-note-card .fq-note-content { padding: 12px 16px; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbq-widget .hbew-freight .fq-keycard--wide { grid-column: 1 / -1; }
}
@container hbq (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-card { gap: 10px; }
    .hbq-widget .hbew-freight .fq-summary { display: block; padding: 18px; }
    .hbq-widget .hbew-freight .fq-summary > [data-total-price], .hbq-widget .hbew-freight .fq-summary > [data-unit-price] { text-align: left; margin-top: 12px; }
    .hbq-widget .hbew-freight .fq-total .fq-field-label { text-align: left; }
    .hbq-widget .hbew-freight .fq-keyfacts { grid-template-columns: 1fr; gap: 10px; }
    .hbq-widget .hbew-freight .fq-keycard { padding: 12px 14px; }
    .hbq-widget .hbew-freight .fq-note-card .fq-note-content { padding: 12px 16px; }
}

/* ---------- 18. 1.0.11 简洁布局：一行式查询框 + 行式报价列表 ---------- */
/* 页面收敛为浅灰底、去除漂浮与纹理，突出内容本身 */
.hbq-widget .hbew-freight { background-color: #f4f6f8 !important; background-image: none !important; }
.hbq-widget .hbew-freight .hq-hero::before, .hbq-widget .hbew-freight .hq-hero::after { display: none !important; }
.hbq-widget .hbew-freight .hq-head-icon { display: none !important; }
.hbq-widget .hbew-freight .hq-title { font-size: 24px !important; }
.hbq-widget .hbew-freight .hq-eyebrow::before { background: var(--hq-accent); width: 20px; }

/* 查询框：每个字段一个带边框的盒子，标签在上、值在下 */
.hbq-widget .hbew-freight .fq-query { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid #e2e8ec; border-top: 1px solid #e2e8ec; box-shadow: 0 1px 2px rgb(12 37 49 / 4%); background: #fff; }
.hbq-widget .hbew-freight .fq-box { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 7px 13px; border: 1px solid #dfe6ea; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.hbq-widget .hbew-freight .fq-box:focus-within { border-color: var(--hq-accent); box-shadow: 0 0 0 3px var(--hq-accent-soft); }
.hbq-widget .hbew-freight .fq-box > label { display: block; margin: 0; color: #6b7f8a; font-size: 12px; font-weight: 600; line-height: 1.5; }
.hbq-widget .hbew-freight .fq-required { color: #d4380d; margin-right: 3px; }
.hbq-widget .hbew-freight .fq-box .hq-input { flex: 1; height: 32px; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 15px; font-weight: 600; color: var(--hq-ink); }
.hbq-widget .hbew-freight .fq-box .hq-input:focus { box-shadow: none; }
.hbq-widget .hbew-freight .fq-box .hq-input::placeholder { font-size: 14px; color: #a3b1b9; }
.hbq-widget .hbew-freight .fq-box--country { flex: 1 1 220px; }
.hbq-widget .hbew-freight .fq-box--country .hq-country-picker::after { top: 13px; right: 12px; }
.hbq-widget .hbew-freight .fq-box--weight { flex: 0 1 150px; }
.hbq-widget .hbew-freight .fq-box--dim { flex: 0 1 96px; }
.hbq-widget .hbew-freight .fq-control { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hbq-widget .hbew-freight .fq-unit { flex-shrink: 0; color: #8a9aa4; font-size: 12px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-submit { flex: 0 0 128px; min-height: 56px; height: auto; padding: 0 20px; border-radius: 10px; background-image: none; background-color: var(--hq-accent); box-shadow: 0 2px 8px var(--hq-accent-soft); }
.hbq-widget .hbew-freight .fq-reset { flex: 0 0 84px; min-height: 56px; border: 1px solid #dfe6ea; border-radius: 10px; background: #fff; color: #33515e; font: 600 14px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
.hbq-widget .hbew-freight .fq-reset:hover { background: #f6f9fa; border-color: #c9d6dc; }
.hbq-widget .hbew-freight .fq-form-hint { flex: 1 1 100%; margin: 2px 0 0; }

/* 结果头部 */
.hbq-widget .hbew-freight .fq-heading { align-items: flex-end; border-bottom: 0; padding-bottom: 0; padding-left: 14px; border-bottom: 1px solid #e2e8ec; margin-top: 6px; }
.hbq-widget .hbew-freight .fq-heading-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.hbq-widget .hbew-freight .fq-heading-note { margin: 0; color: #7a8c96; font-size: 12.5px; font-weight: 400; }
.hbq-widget .hbew-freight .fq-result-tools { display: flex; align-items: center; gap: 14px; color: #6b7f8a; font-size: 12.5px; }

/* 行式报价 */
.hbq-widget .hbew-freight .fq-list { background: #fff; border: 1px solid #e2e8ec; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgb(12 37 49 / 4%); }
.hbq-widget .hbew-freight .fq-row { border-bottom: 1px solid #edf2f4; }
.hbq-widget .hbew-freight .fq-row:last-child { border-bottom: 0; }
.hbq-widget .hbew-freight .fq-row-summary { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .72fr) minmax(0, .95fr) minmax(0, 1.7fr) auto; align-items: center; gap: 0 26px; padding: 18px 20px; cursor: pointer; list-style: none; transition: background .15s; }
.hbq-widget .hbew-freight .fq-row-summary::-webkit-details-marker { display: none; }
.hbq-widget .hbew-freight .fq-row-summary:hover { background: #fafcfd; }
.hbq-widget .hbew-freight .fq-row[open] .fq-row-summary { background: #f7fafb; }
.hbq-widget .hbew-freight .fq-cell { min-width: 0; }
.hbq-widget .hbew-freight .fq-cell + .fq-cell { border-left: 1px solid #eef3f5; padding-left: 26px; }
.hbq-widget .hbew-freight .fq-cell-channel { display: flex; flex-direction: column; gap: 8px; }
.hbq-widget .hbew-freight .fq-channel-title { margin: 0 !important; color: var(--hq-ink); font-size: 16px !important; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.hbq-widget .hbew-freight .fq-tag { padding: 2px 8px; border: 0; border-radius: 4px; background: #f0f4f6; color: #4a6470; font-size: 11.5px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-tag--method { background: var(--hq-accent-soft); color: var(--hq-accent); }
.hbq-widget .hbew-freight .fq-cell-eta { display: flex; flex-direction: column; gap: 4px; }
.hbq-widget .hbew-freight .fq-eta { color: var(--hq-ink); font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.hbq-widget .hbew-freight .fq-cell-label { color: #7a8c96; font-size: 12px; line-height: 1.6; }
.hbq-widget .hbew-freight .fq-cell-price { display: flex; flex-direction: column; gap: 4px; }
.hbq-widget .hbew-freight .fq-price { display: block; color: var(--hq-accent); font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-price small { margin-left: 2px; font-size: 13px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-unit-price { display: flex; flex-direction: column; gap: 4px; color: var(--hq-accent); font-size: 14px; font-weight: 700; line-height: 1.5; }
.hbq-widget .hbew-freight .fq-cell-limits { display: flex; flex-direction: column; gap: 3px; }
.hbq-widget .hbew-freight .fq-cell-limits p { display: flex; gap: 2px; margin: 0; min-width: 0; color: #4a6470; font-size: 12.5px; line-height: 1.7; }
.hbq-widget .hbew-freight .fq-limit-label { flex-shrink: 0; color: #6b7f8a; font-weight: 700; }
.hbq-widget .hbew-freight .fq-limit-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-row-toggle { display: inline-flex; align-items: center; gap: 5px; color: #6b7f8a; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-row-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.hbq-widget .hbew-freight .fq-row[open] .fq-row-toggle svg { transform: rotate(180deg); }
.hbq-widget .hbew-freight .fq-row:not([open]) .fq-row-body { display: none; }
.hbq-widget .hbew-freight .fq-row-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 30px; padding: 16px 20px 20px; border-top: 1px solid #edf2f4; background: #fbfcfd; }
.hbq-widget .hbew-freight .fq-body-col { min-width: 0; }
.hbq-widget .hbew-freight .fq-body-col h4 { margin: 0 0 6px; color: #234851; font-size: 13px; font-weight: 700; }
.hbq-widget .hbew-freight .fq-body-text { color: #435d6b; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-body-text > :last-child { margin-bottom: 0; }
.hbq-widget .hbew-freight .fq-body-text img { max-width: 100%; height: auto; }
.hbq-widget .hbew-freight .fq-body-text table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 0 16px; }
    .hbq-widget .hbew-freight .fq-cell + .fq-cell { padding-left: 16px; }
}
@media (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-query { padding: 12px; gap: 8px; }
    .hbq-widget .hbew-freight .fq-box--country, .hbq-widget .hbew-freight .fq-box--weight, .hbq-widget .hbew-freight .fq-box--dim { flex: 1 1 100%; }
    .hbq-widget .hbew-freight .fq-submit, .hbq-widget .hbew-freight .fq-reset { flex: 1 1 0; min-height: 48px; }
    .hbq-widget .hbew-freight .fq-row-summary { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px; }
    .hbq-widget .hbew-freight .fq-cell + .fq-cell { border-left: 0; padding-left: 0; }
    .hbq-widget .hbew-freight .fq-cell-channel { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-cell-eta { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-price { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-limits { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-row-toggle { grid-column: 1 / -1; justify-self: start; }
    .hbq-widget .hbew-freight .fq-row-body { grid-template-columns: 1fr; padding: 14px 16px 16px; }
    .hbq-widget .hbew-freight .fq-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 0 16px; }
    .hbq-widget .hbew-freight .fq-cell + .fq-cell { padding-left: 16px; }
}
@container hbq (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-query { padding: 12px; gap: 8px; }
    .hbq-widget .hbew-freight .fq-box--country, .hbq-widget .hbew-freight .fq-box--weight, .hbq-widget .hbew-freight .fq-box--dim { flex: 1 1 100%; }
    .hbq-widget .hbew-freight .fq-submit, .hbq-widget .hbew-freight .fq-reset { flex: 1 1 0; min-height: 48px; }
    .hbq-widget .hbew-freight .fq-row-summary { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px; }
    .hbq-widget .hbew-freight .fq-cell + .fq-cell { border-left: 0; padding-left: 0; }
    .hbq-widget .hbew-freight .fq-cell-channel { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-cell-eta { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-price { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-limits { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-row-toggle { grid-column: 1 / -1; justify-self: start; }
    .hbq-widget .hbew-freight .fq-row-body { grid-template-columns: 1fr; padding: 14px 16px 16px; }
    .hbq-widget .hbew-freight .fq-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* ---------- 19. 1.0.12 窄容器适配：行内不换行 + 说明纵向堆叠 ---------- */
.hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: minmax(0, 2fr) auto minmax(112px, .9fr) minmax(0, 1.7fr) auto; gap: 0 22px; }
.hbq-widget .hbew-freight .fq-channel-title { font-size: 15.5px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbq-widget .hbew-freight .fq-eta { font-size: 19px; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-price { font-size: 23px; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-cell-eta, .hbq-widget .hbew-freight .fq-cell-price { white-space: nowrap; }
.hbq-widget .hbew-freight .fq-cell-limits p { white-space: nowrap; }
.hbq-widget .hbew-freight .fq-limit-value { flex: 0 1 auto; min-width: 0; }
.hbq-widget .hbew-freight .fq-row-body { display: block; padding: 2px 20px 16px; }
.hbq-widget .hbew-freight .fq-body-col { min-width: 0; padding: 14px 0; border-top: 1px solid #edf2f4; }
.hbq-widget .hbew-freight .fq-body-col:first-child { border-top: 0; padding-top: 12px; }
.hbq-widget .hbew-freight .fq-body-col h4 { margin: 0 0 6px; color: #234851; font-size: 13px; font-weight: 700; }
.hbq-widget .hbew-freight .fq-body-text { color: #435d6b; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px; align-items: start; }
    .hbq-widget .hbew-freight .fq-cell + .fq-cell { border-left: 0; padding-left: 0; }
    .hbq-widget .hbew-freight .fq-cell-channel { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-cell-eta { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-price { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-limits { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-row-toggle { grid-column: 1 / -1; justify-self: start; }
    .hbq-widget .hbew-freight .fq-channel-title { white-space: normal; overflow: visible; }
    .hbq-widget .hbew-freight .fq-row-body { padding: 2px 16px 14px; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px; align-items: start; }
    .hbq-widget .hbew-freight .fq-cell + .fq-cell { border-left: 0; padding-left: 0; }
    .hbq-widget .hbew-freight .fq-cell-channel { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-cell-eta { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-price { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-limits { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-row-toggle { grid-column: 1 / -1; justify-self: start; }
    .hbq-widget .hbew-freight .fq-channel-title { white-space: normal; overflow: visible; }
    .hbq-widget .hbew-freight .fq-row-body { padding: 2px 16px 14px; }
}

/* ---------- 20. 1.0.13 设计令牌与比较效率 ---------- */
.hbq-widget .hbew-freight {
    --fq-text: #0f2430; --fq-text-2: #5b6f7a; --fq-text-3: #8a9aa4;
    --fq-line: #e3eaee; --fq-line-soft: #eef3f5; --fq-price: #c9342d;
    --fq-space-2: 8px; --fq-space-3: 12px; --fq-space-4: 16px; --fq-space-6: 24px;
}
.hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: minmax(0, 2.1fr) auto minmax(124px, .95fr) minmax(0, 1.65fr) auto; gap: 0 20px; padding: 16px 20px; }
.hbq-widget .hbew-freight .fq-channel-title { font-size: 16px !important; color: var(--fq-text); }
.hbq-widget .hbew-freight .fq-eta { font-size: 20px; color: var(--fq-text); }
.hbq-widget .hbew-freight .fq-price { font-size: 29px; color: var(--fq-price); }
.hbq-widget .hbew-freight .fq-price small { font-size: 14px; }
.hbq-widget .hbew-freight .fq-cell-label { color: var(--fq-text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbq-widget .hbew-freight .fq-cell-limits p { color: var(--fq-text-2); font-size: 12.5px; }
.hbq-widget .hbew-freight .fq-limit-label { color: var(--fq-text-3); }
.hbq-widget .hbew-freight .fq-tag { font-size: 12px; }
.hbq-widget .hbew-freight .fq-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-badge--best { background: #fdece8; color: #b23a22; }
.hbq-widget .hbew-freight .fq-badge--fast { background: #eaf1fb; color: #235f9e; }
.hbq-widget .hbew-freight .fq-result-tools { flex-wrap: wrap; gap: 10px; }
.hbq-widget .hbew-freight .fq-sort { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: #f1f5f7; }
.hbq-widget .hbew-freight .fq-sort-btn { border: 0; padding: 5px 10px; border-radius: 6px; background: transparent; color: var(--fq-text-2); font: 600 12px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.hbq-widget .hbew-freight .fq-sort-btn:hover { color: var(--fq-text); }
.hbq-widget .hbew-freight .fq-sort-btn.is-active { background: #fff; color: var(--fq-text); box-shadow: 0 1px 2px rgb(12 37 49 / 10%); }
.hbq-widget .hbew-freight .fq-row-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-compare-toggle { border: 0; padding: 2px 0; background: none; color: var(--fq-text-3); font: 600 12.5px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif; cursor: pointer; }
.hbq-widget .hbew-freight .fq-compare-toggle:hover { color: var(--fq-text); }
.hbq-widget .hbew-freight .fq-compare-toggle[aria-pressed="true"] { color: var(--hq-accent); }
.hbq-widget .hbew-freight .fq-row.is-compared .fq-row-summary { background: #f5fbf9; }
.hbq-widget .hbew-freight .fq-compare-bar { position: sticky; bottom: 14px; display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 16px; border: 1px solid var(--fq-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgb(12 37 49 / 14%); z-index: 5; }
.hbq-widget .hbew-freight .fq-compare-bar[hidden] { display: none; }
.hbq-widget .hbew-freight .fq-compare-count-wrap { flex-shrink: 0; color: var(--fq-text-2); font-size: 12.5px; }
.hbq-widget .hbew-freight .fq-compare-count { color: var(--fq-text); font-size: 14px; }
.hbq-widget .hbew-freight .fq-compare-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.hbq-widget .hbew-freight .fq-compare-chip { padding: 3px 10px; border-radius: 999px; background: #f1f6f5; color: var(--fq-text-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.hbq-widget .hbew-freight .fq-compare-clear { flex-shrink: 0; border: 0; padding: 2px 0; background: none; color: var(--fq-text-2); font: 600 12.5px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif; cursor: pointer; text-decoration: underline; }
.hbq-widget .hbew-freight .fq-box { padding: 6px 12px; }
.hbq-widget .hbew-freight .fq-box .hq-input { height: 30px; min-height: 30px; }
.hbq-widget .hbew-freight .fq-submit, .hbq-widget .hbew-freight .fq-reset { min-height: 56px; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px; }
    .hbq-widget .hbew-freight .fq-row-actions { grid-column: 1 / -1; justify-content: flex-start; gap: 16px; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-row-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px; }
    .hbq-widget .hbew-freight .fq-row-actions { grid-column: 1 / -1; justify-content: flex-start; gap: 16px; }
}

/* ---------- 21. 1.0.14 限制详情悬停提示 ---------- */
.hbq-widget .hbew-freight .fq-limit-value[data-tip] { cursor: help; text-decoration: underline dotted #c2d0d6; text-underline-offset: 3px; }
.hbq-widget .hbew-freight .fq-limit-value[data-tip]:hover,
.hbq-widget .hbew-freight .fq-limit-value[data-tip]:focus-visible { color: #234851; text-decoration-color: var(--hq-accent); outline: none; }
.hbq-tooltip { position: fixed; z-index: 2147483000; max-width: 380px; padding: 9px 12px; border-radius: 8px; background: #16303d; color: #fff; font: 12.5px/1.7 "PingFang SC", "Microsoft YaHei", sans-serif; box-shadow: 0 10px 30px rgb(12 37 49 / 22%); pointer-events: none; white-space: normal; overflow-wrap: anywhere; }
.hbq-tooltip[hidden] { display: none !important; }
@media (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-cell-limits p { white-space: normal; }
    .hbq-widget .hbew-freight .fq-limit-value { white-space: normal; overflow: visible; text-overflow: clip; flex: 1 1 auto; }
}
@container hbq (max-width: 760px) {
    .hbq-widget .hbew-freight .fq-cell-limits p { white-space: normal; }
    .hbq-widget .hbew-freight .fq-limit-value { white-space: normal; overflow: visible; text-overflow: clip; flex: 1 1 auto; }
}

/* ---------- 22. 1.0.15 排行榜式报价表 ---------- */
.hbq-widget .hbew-freight .fq-heading { margin-bottom: 10px; border-bottom: 0; padding-left: 14px; }
.hbq-widget .hbew-freight .fq-query-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding: 10px 14px; border: 1px solid #e3eaee; border-radius: 10px; background: #fff; }
.hbq-widget .hbew-freight .fq-query-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; color: #5b6f7a; font-size: 12.5px; }
.hbq-widget .hbew-freight .fq-query-facts b { color: #0f2430; font-weight: 700; }
.hbq-widget .hbew-freight .fq-query-sep { color: #c2d0d6; }
.hbq-widget .hbew-freight .fq-list-head { display: grid; grid-template-columns: minmax(0, 2.1fr) 100px 90px 160px 160px 64px; gap: 0 16px; padding: 12px 20px; border-bottom: 1px solid #e3eaee; background: #f7f9fa; color: #6b7f8a; font-size: 12px; line-height: 1.6; }
.hbq-widget .hbew-freight .fq-list-head span { min-width: 0; }
.hbq-widget .hbew-freight .fq-list-head span:nth-child(n + 2) { border-left: 1px solid #eef3f5; padding-left: 16px; }
.hbq-widget .hbew-freight .fq-row-summary { display: block; padding: 16px 20px 12px; }
.hbq-widget .hbew-freight .fq-row-main { display: grid; grid-template-columns: minmax(0, 2.1fr) 100px 90px 160px 160px 64px; gap: 0 16px; align-items: center; }
.hbq-widget .hbew-freight .fq-row-main .fq-cell + .fq-cell { border-left: 1px solid #eef3f5; padding-left: 16px; }
.hbq-widget .hbew-freight .fq-cell-channel { display: flex; flex-direction: column; gap: 8px; }
.hbq-widget .hbew-freight .fq-cell-eta { white-space: nowrap; }
.hbq-widget .hbew-freight .fq-cell-weight { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-weight { color: #0f2430; font-size: 15px; font-weight: 700; }
.hbq-widget .hbew-freight .fq-cell-unit { min-width: 0; }
.hbq-widget .hbew-freight .fq-unit-text { display: block; color: #4a6470; font-size: 13px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-cell-total { white-space: nowrap; }
.hbq-widget .hbew-freight .fq-cell-action { display: flex; justify-content: flex-end; }
.hbq-widget .hbew-freight .fq-row-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hbq-widget .hbew-freight .fq-meta-chip { max-width: 360px; padding: 4px 10px; border: 1px solid #e3eaee; border-radius: 6px; background: #f7faf9; color: #4a6470; font-size: 12px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbq-widget .hbew-freight .fq-meta-chip--tip { cursor: help; }
.hbq-widget .hbew-freight .fq-meta-chip--tip:hover { border-color: #c9d6dc; color: #234851; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-list-head { display: none; }
    .hbq-widget .hbew-freight .fq-query-summary { flex-direction: column; align-items: flex-start; }
    .hbq-widget .hbew-freight .fq-row-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
    .hbq-widget .hbew-freight .fq-row-main .fq-cell + .fq-cell { border-left: 0; padding-left: 0; }
    .hbq-widget .hbew-freight .fq-cell-channel { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-cell-eta { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-weight { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-unit { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-total { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-action { grid-column: 1 / -1; justify-content: flex-start; }
    .hbq-widget .hbew-freight .fq-meta-chip { max-width: 100%; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-list-head { display: none; }
    .hbq-widget .hbew-freight .fq-query-summary { flex-direction: column; align-items: flex-start; }
    .hbq-widget .hbew-freight .fq-row-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
    .hbq-widget .hbew-freight .fq-row-main .fq-cell + .fq-cell { border-left: 0; padding-left: 0; }
    .hbq-widget .hbew-freight .fq-cell-channel { grid-column: 1 / -1; }
    .hbq-widget .hbew-freight .fq-cell-eta { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-weight { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-unit { grid-column: 1; }
    .hbq-widget .hbew-freight .fq-cell-total { grid-column: 2; }
    .hbq-widget .hbew-freight .fq-cell-action { grid-column: 1 / -1; justify-content: flex-start; }
    .hbq-widget .hbew-freight .fq-meta-chip { max-width: 100%; }
}

/* ---------- 23. 1.0.16 卡片质感 ---------- */
.hbq-widget .hbew-freight .fq-list { display: flex; flex-direction: column; gap: 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.hbq-widget .hbew-freight .fq-list-head { padding: 0 20px 8px; border: 0; background: transparent; }
.hbq-widget .hbew-freight .fq-row { background: #fff; border: 1px solid #e3eaee; border-radius: 14px; box-shadow: 0 1px 2px rgb(12 37 49 / 4%); transition: border-color .18s ease, box-shadow .18s ease; }
.hbq-widget .hbew-freight .fq-row:hover { border-color: #cfdde3; box-shadow: 0 10px 26px rgb(12 37 49 / 9%); }
.hbq-widget .hbew-freight .fq-row[open] { border-color: #cfe3dd; box-shadow: 0 10px 26px rgb(12 37 49 / 9%); }
.hbq-widget .hbew-freight .fq-row-summary { padding: 16px 20px 12px; }
.hbq-widget .hbew-freight .fq-row-body { border-top: 1px solid #eef3f5; border-radius: 0 0 14px 14px; background: #fbfcfd; }
.hbq-widget .hbew-freight .fq-cell-channel { display: block; }
.hbq-widget .hbew-freight .fq-channel-row { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.hbq-widget .hbew-freight .fq-method-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; color: var(--hq-accent); background: linear-gradient(135deg, var(--hq-accent-soft), rgb(224 180 93 / 16%)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 60%); }
.hbq-widget .hbew-freight .fq-method-icon svg { width: 19px; height: 19px; }
.hbq-widget .hbew-freight .fq-channel-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hbq-widget .hbew-freight .fq-price { font-size: 28px; }
.hbq-widget .hbew-freight .fq-price small { font-size: 15px; }
.hbq-widget .hbew-freight .fq-meta-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #f6f9fa; border: 1px solid #e7eef1; padding: 4px 12px; }
.hbq-widget .hbew-freight .fq-meta-chip::before { content: ""; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #b9c9d0; }
.hbq-widget .hbew-freight .fq-meta-chip--tip::before { background: var(--hq-accent); }
.hbq-widget .hbew-freight .fq-row-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid #dfe8ec; border-radius: 999px; background: #fff; color: #5b6f7a; font-size: 12px; font-weight: 600; transition: border-color .15s, background .15s, color .15s; }
.hbq-widget .hbew-freight .fq-row-toggle:hover { border-color: #bfd3da; color: #0f2430; }
.hbq-widget .hbew-freight .fq-row[open] .fq-row-toggle { border-color: #bcded4; background: #eef7f4; color: #14544b; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-list { gap: 10px; }
    .hbq-widget .hbew-freight .fq-row-summary { padding: 14px 16px 12px; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-list { gap: 10px; }
    .hbq-widget .hbew-freight .fq-row-summary { padding: 14px 16px 12px; }
}

/* ---------- 24. 1.0.17 借鉴 B2（7b2）主题视觉语言 ---------- */
.hbq-widget .hbew-freight {
    --fq-text: #121212; --fq-text-2: #8590a6; --fq-text-3: #aaaeB3;
    --fq-line: #ebebeb; --fq-line-soft: #f0f0f0;
    --fq-price: #f44336; --fq-bg: #f7f9fa; --fq-radius: 4px;
    background-color: var(--fq-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
}
.hbq-widget .hbew-freight .fq-query { border: 1px solid var(--fq-line); border-top: 1px solid var(--fq-line); border-radius: 8px; box-shadow: 0 0 2px rgb(98 124 153 / 10%); }
.hbq-widget .hbew-freight .fq-box { border: 1px solid var(--fq-line); border-radius: var(--fq-radius); background: #fff; }
.hbq-widget .hbew-freight .fq-box:focus-within { border-color: var(--hq-accent); box-shadow: 0 0 0 3px var(--hq-accent-soft); }
.hbq-widget .hbew-freight .fq-box > label { color: var(--fq-text-2); font-size: 12px; font-weight: 400; }
.hbq-widget .hbew-freight .fq-box .hq-input { color: var(--fq-text); font-size: 15px; font-weight: 500; }
.hbq-widget .hbew-freight .fq-box .hq-input::placeholder { color: var(--fq-text-3); }
.hbq-widget .hbew-freight .fq-unit { color: var(--fq-text-3); }
.hbq-widget .hbew-freight .fq-submit { min-height: 44px; border-radius: var(--fq-radius); background-image: none; background-color: var(--hq-accent); box-shadow: none; font-size: 14px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-reset { min-height: 44px; border: 1px solid var(--fq-line); border-radius: var(--fq-radius); color: var(--fq-text-2); font-size: 14px; font-weight: 500; }
.hbq-widget .hbew-freight .fq-reset:hover { background: #f5f6f7; border-color: #dfe3e8; }
.hbq-widget .hbew-freight .fq-form-hint { color: var(--fq-text-3); font-size: 12px; }
.hbq-widget .hbew-freight .fq-heading { border-bottom: 0; padding-left: 14px; }
.hbq-widget .hbew-freight .fq-heading::before { background: var(--hq-accent); width: 3px; height: 18px; top: 3px; }
.hbq-widget .hbew-freight .fq-heading h2 { color: var(--fq-text); font-size: 18px !important; font-weight: 600; }
.hbq-widget .hbew-freight .fq-heading-note { color: var(--fq-text-3); font-size: 12.5px; }
.hbq-widget .hbew-freight .fq-query-summary { border: 1px solid var(--fq-line); border-radius: var(--fq-radius); box-shadow: 0 0 2px rgb(98 124 153 / 10%); }
.hbq-widget .hbew-freight .fq-query-facts { color: var(--fq-text-2); font-size: 12.5px; }
.hbq-widget .hbew-freight .fq-query-facts b { color: var(--fq-text); font-weight: 600; }
.hbq-widget .hbew-freight .fq-query-sep { color: #dddfe2; }
.hbq-widget .hbew-freight .fq-sort { background: #f5f6f7; border-radius: var(--fq-radius); padding: 3px; }
.hbq-widget .hbew-freight .fq-sort-btn { color: var(--fq-text-2); font-size: 12px; font-weight: 500; }
.hbq-widget .hbew-freight .fq-sort-btn.is-active { background: #fff; color: var(--hq-accent); font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
.hbq-widget .hbew-freight .fq-list-head { color: var(--fq-text-3); font-size: 12px; }
.hbq-widget .hbew-freight .fq-list-head span:nth-child(n + 2) { border-left: 1px solid var(--fq-line-soft); }
.hbq-widget .hbew-freight .fq-row { border: 1px solid var(--fq-line); border-radius: 8px; box-shadow: 0 0 2px rgb(98 124 153 / 10%); }
.hbq-widget .hbew-freight .fq-row:hover { border-color: #dddfe2; box-shadow: 0 4px 16px rgb(13 39 91 / 6%); }
.hbq-widget .hbew-freight .fq-row[open] { border-color: #d5e3ff; box-shadow: 0 4px 16px rgb(13 39 91 / 6%); }
.hbq-widget .hbew-freight .fq-channel-title { color: var(--fq-text); font-size: 16px !important; font-weight: 600; }
.hbq-widget .hbew-freight .fq-method-icon { width: 36px; height: 36px; border-radius: 8px; color: var(--hq-accent); background: #f5f6f7; box-shadow: none; }
.hbq-widget .hbew-freight .fq-tag { background: #f5f6f7; border-radius: 3px; color: var(--fq-text-2); font-size: 11.5px; font-weight: 400; padding: 2px 7px; }
.hbq-widget .hbew-freight .fq-tag--method { background: var(--hq-accent-soft); color: var(--hq-accent); }
.hbq-widget .hbew-freight .fq-badge { border-radius: 3px; font-size: 11px; font-weight: 600; padding: 2px 7px; }
.hbq-widget .hbew-freight .fq-badge--best { background: #ff33550a; color: #ff3355; }
.hbq-widget .hbew-freight .fq-badge--fast { background: #0066ff0f; color: var(--hq-accent); }
.hbq-widget .hbew-freight .fq-eta { color: var(--fq-text); font-size: 20px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-weight { color: var(--fq-text); font-weight: 600; }
.hbq-widget .hbew-freight .fq-unit-text { color: var(--fq-text-2); font-weight: 400; font-size: 13px; }
.hbq-widget .hbew-freight .fq-price { color: var(--fq-price); font-size: 26px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-price small { font-size: 14px; font-weight: 500; }
.hbq-widget .hbew-freight .fq-row-toggle { border: 1px solid var(--fq-line); border-radius: var(--fq-radius); background: #fff; color: var(--fq-text-2); font-size: 12px; font-weight: 500; padding: 4px 10px; }
.hbq-widget .hbew-freight .fq-row-toggle:hover { border-color: #dfe3e8; color: var(--fq-text); }
.hbq-widget .hbew-freight .fq-row[open] .fq-row-toggle { background: #f5f6f7; border-color: #dddfe2; color: var(--fq-text); }
.hbq-widget .hbew-freight .fq-meta-chip { border: 1px solid var(--fq-line); border-radius: var(--fq-radius); background: #fafafa; color: var(--fq-text-2); font-size: 12px; }
.hbq-widget .hbew-freight .fq-meta-chip::before { background: #c2c8d0; }
.hbq-widget .hbew-freight .fq-meta-chip--tip::before { background: var(--hq-accent); }
.hbq-widget .hbew-freight .fq-meta-chip--tip:hover { border-color: #dddfe2; color: var(--fq-text); }
.hbq-widget .hbew-freight .fq-row-body { background: #fafafa; border-top: 1px solid var(--fq-line-soft); }
.hbq-widget .hbew-freight .fq-body-col h4 { color: var(--fq-text); font-size: 13px; font-weight: 600; }
.hbq-widget .hbew-freight .fq-body-text { color: var(--fq-text-2); font-size: 13px; }
.hbq-widget .hbew-freight .hq-footnote { color: var(--fq-text-3); }
.hbq-widget .hbew-freight .fq-toggle { border: 1px solid var(--fq-line); border-radius: var(--fq-radius); background: #fff; color: var(--fq-text-2); }

/* ---------- 25. 1.0.18 徽章移除 / 货物标签 / 限制整行 / 时效防溢出 ---------- */
.hbq-widget .hbew-freight .fq-row-summary { padding-bottom: 14px; }
.hbq-widget .hbew-freight .fq-list-head,
.hbq-widget .hbew-freight .fq-row-main { grid-template-columns: minmax(0, 2fr) 140px 90px 160px 160px 64px; }
.hbq-widget .hbew-freight .fq-cell-eta { white-space: normal; }
.hbq-widget .hbew-freight .fq-eta { font-size: 18px; line-height: 1.4; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.hbq-widget .hbew-freight .fq-tags { gap: 6px; }
.hbq-widget .hbew-freight .fq-tag { white-space: nowrap; }
.hbq-widget .hbew-freight .fq-row-limits { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.hbq-widget .hbew-freight .fq-limit-line { display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0; color: #4a6470; font-size: 12.5px; line-height: 1.7; }
.hbq-widget .hbew-freight .fq-limit-label { flex-shrink: 0; color: #8590a6; font-weight: 600; white-space: nowrap; }
.hbq-widget .hbew-freight .fq-limit-value { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-cell-eta { white-space: normal; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-cell-eta { white-space: normal; }
}

/* ---------- 26. 1.0.19 统一字段框聚焦样式 ---------- */
.hbq-widget .hbew-freight .fq-box { transition: border-color .15s ease, box-shadow .15s ease; }
.hbq-widget .hbew-freight .fq-box:focus-within { border-color: var(--hq-accent); box-shadow: 0 0 0 3px var(--hq-accent-soft); }
.hbq-widget .hbew-freight .fq-box :is(input, select, textarea):focus,
.hbq-widget .hbew-freight .fq-box :is(input, select, textarea):focus-visible { outline: none; box-shadow: none; border-color: transparent; }
.hbq-widget .hbew-freight :is(.fq-submit, .fq-reset, .fq-sort-btn, .fq-row-toggle):focus-visible { outline: 2px solid var(--hq-accent); outline-offset: 2px; }
.hbq-widget .hbew-freight .hq-country-picker .hq-country-input:focus { outline: none; box-shadow: none; }

.hbq-widget .hbew-freight .fq-limit-line .fq-limit-value { flex: 1 1 auto; white-space: normal; overflow: visible; text-overflow: clip; }

/* ---------- 27. 1.0.20 方法图标加高 + 货物标签多色 ---------- */
.hbq-widget .hbew-freight .fq-channel-row { align-items: stretch; }
.hbq-widget .hbew-freight .fq-method-icon { width: 48px; min-height: 54px; height: auto; align-self: stretch; border-radius: 8px; background: #f5f6f7; color: #4a6470; }
.hbq-widget .hbew-freight .fq-method-icon svg { width: 22px; height: 22px; }
.hbq-widget .hbew-freight .fq-method-icon--air { background: #eaf2ff; color: #0066ff; }
.hbq-widget .hbew-freight .fq-method-icon--sea { background: #e8f7f5; color: #00796b; }
.hbq-widget .hbew-freight .fq-method-icon--rail { background: #fff4e5; color: #b26a00; }
.hbq-widget .hbew-freight .fq-method-icon--truck { background: #eef2f5; color: #455a64; }
.hbq-widget .hbew-freight .fq-method-icon--other { background: #f5f6f7; color: #4a6470; }
.hbq-widget .hbew-freight .fq-tag--c0 { background: #eef4ff; color: #2f5fbf; }
.hbq-widget .hbew-freight .fq-tag--c1 { background: #eaf7ef; color: #2e7d4f; }
.hbq-widget .hbew-freight .fq-tag--c2 { background: #fff4e5; color: #a26510; }
.hbq-widget .hbew-freight .fq-tag--c3 { background: #f3efff; color: #6247b0; }
.hbq-widget .hbew-freight .fq-tag--c4 { background: #e9f7f7; color: #146c70; }
.hbq-widget .hbew-freight .fq-tag--c5 { background: #fdeff3; color: #a93b5a; }

/* ---------- 28. 1.0.21 运输方式文字徽章 ---------- */
.hbq-widget .hbew-freight .fq-method-badge { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; width: 56px; min-height: 54px; flex-shrink: 0; border-radius: 8px; background: #f5f6f7; color: #4a6470; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; text-align: center; }
.hbq-widget .hbew-freight .fq-method-badge--air { background: #eaf2ff; color: #0066ff; }
.hbq-widget .hbew-freight .fq-method-badge--sea { background: #e8f7f5; color: #00796b; }
.hbq-widget .hbew-freight .fq-method-badge--rail { background: #fff4e5; color: #b26a00; }
.hbq-widget .hbew-freight .fq-method-badge--truck { background: #eef2f5; color: #455a64; }
.hbq-widget .hbew-freight .fq-method-badge--other { background: #f5f6f7; color: #4a6470; }
@media (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-method-badge { width: 48px; min-height: 48px; font-size: 14px; }
}
@container hbq (max-width: 979px) {
    .hbq-widget .hbew-freight .fq-method-badge { width: 48px; min-height: 48px; font-size: 14px; }
}
