:root { --blue: #1677ff; --blue-deep: #0d45a5; --ink: #16243b; --muted: #66758c; --line: #e5ebf4; --surface: #fff; --wash: #f5f8fd; --shadow: 0 20px 50px rgba(20, 54, 103, .10); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--wash); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--wash); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 30; left: 16px; top: -48px; padding: 10px 14px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); transition: top .2s ease; }
.skip-link:focus { top: 12px; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.service-header { height: 76px; background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(221, 230, 243, .95); backdrop-filter: blur(16px); position: sticky; z-index: 10; top: 0; }
.header-inner { height: 100%; width: min(1320px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: clamp(26px, 3vw, 60px); }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: 0 0 auto; }
.brand-mark { width: 29px; height: 29px; border-radius: 8px; background: linear-gradient(135deg, #ff941d, #fa6016); display: inline-flex; align-items: end; justify-content: center; gap: 3px; padding: 6px; box-shadow: 0 6px 13px rgba(254, 111, 22, .22); }
.brand-mark i { display: block; width: 4px; border-radius: 4px; background: #fff; }
.brand-mark i:nth-child(1) { height: 8px; }.brand-mark i:nth-child(2) { height: 14px; }.brand-mark i:nth-child(3) { height: 11px; }
.brand strong { display: block; font-size: 22px; letter-spacing: -.7px; line-height: 21px; }.brand small { display: block; color: #5f6d81; font-size: 10px; line-height: 15px; white-space: nowrap; }
.service-nav { display: flex; align-items: center; justify-content: space-between; gap: clamp(14px, 2vw, 30px); flex: 1; min-width: 0; }.service-nav a { position: relative; color: #314057; white-space: nowrap; font-size: 14px; font-weight: 600; padding: 28px 0 25px; transition: color .2s; }.service-nav a:hover, .service-nav a.is-current { color: var(--blue); }.service-nav a.is-current::after { content: ""; position: absolute; height: 2px; border-radius: 10px; background: var(--blue); left: 1px; right: 1px; bottom: 16px; }
.login-link { color: #0c63df; font-weight: 700; font-size: 14px; white-space: nowrap; }.login-link:hover { color: var(--blue-deep); }
.service-hero { overflow: hidden; padding: 71px 0 89px; color: #fff; position: relative; background: radial-gradient(circle at 75% -20%, #3d9cf5 0, transparent 33%), linear-gradient(118deg, #0c2d77 0%, #104ead 52%, #167bed 100%); }.hero-grid { inset: 0; position: absolute; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, #000, transparent 85%); }.service-hero .shell { position: relative; }.eyebrow { margin: 0 0 14px; font-size: 14px; letter-spacing: .07em; font-weight: 700; color: #d2e9ff; display: flex; align-items: center; gap: 8px; }.eyebrow span { display: inline-block; width: 26px; height: 2px; background: #8ac6ff; }.service-hero h1 { font-size: clamp(34px, 4vw, 54px); margin: 0; letter-spacing: -.035em; line-height: 1.18; }.service-hero p:last-child { color: #d8e7ff; margin: 18px 0 0; line-height: 1.8; font-size: 16px; }
.service-shell { margin-top: -37px; position: relative; padding-bottom: 78px; }.service-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; border: 1px solid rgba(225,232,244,.9); background: rgba(255,255,255,.9); box-shadow: 0 16px 40px rgba(17,55,110,.13); border-radius: 18px; }.service-tabs button { padding: 16px 12px; border: 0; background: transparent; color: #65738a; border-radius: 12px; font-weight: 700; font-size: 15px; transition: .2s ease; }.service-tabs button:hover { background: #f4f8fe; color: var(--blue); }.service-tabs button[aria-selected="true"] { background: linear-gradient(135deg, #126ef2, #2289fc); color: #fff; box-shadow: 0 9px 18px rgba(16,112,242,.22); }.tab-icon { margin-right: 7px; font-size: 17px; }
.service-panel { margin-top: 27px; padding: clamp(26px, 4vw, 47px); min-height: 460px; background: rgba(255,255,255,.96); border: 1px solid rgba(230,236,245,.94); border-radius: 22px; box-shadow: var(--shadow); }.panel-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }.panel-heading.compact { align-items: center; }.panel-heading h2 { margin: 5px 0 8px; font-size: 28px; letter-spacing: -.03em; }.panel-heading p { margin: 0; color: var(--muted); line-height: 1.75; }.panel-kicker { color: var(--blue) !important; font-size: 13px; font-weight: 800; letter-spacing: .1em; }.privacy-note { padding: 10px 14px; color: #557093 !important; font-size: 13px; background: #f1f7ff; border-radius: 8px; white-space: nowrap; }
.query-form { margin-top: 27px; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(220px, .8fr); gap: 18px; align-items: end; }.query-form label { display: block; }.query-form label span { color: #384962; display: block; font-size: 14px; font-weight: 700; margin: 0 0 9px; }.query-form textarea, .query-form input, .search-bar input { width: 100%; border: 1px solid #dce5f1; outline: none; border-radius: 10px; color: var(--ink); background: #fff; transition: .2s ease; }.query-form textarea { min-height: 116px; padding: 13px 14px; resize: vertical; line-height: 1.7; }.query-form input { height: 46px; padding: 0 14px; }.query-form textarea:focus, .query-form input:focus, .search-bar input:focus { border-color: #55a2fe; box-shadow: 0 0 0 4px rgba(38,137,254,.12); }.primary-button { background: linear-gradient(120deg, #146eea, #1d8cff); color: #fff; border: 0; border-radius: 10px; min-height: 46px; padding: 0 20px; font-size: 14px; font-weight: 800; letter-spacing: .01em; box-shadow: 0 10px 18px rgba(20,110,234,.2); transition: transform .2s, box-shadow .2s; }.primary-button:hover { transform: translateY(-1px); box-shadow: 0 13px 23px rgba(20,110,234,.28); }.tracking-form .primary-button { grid-column: 2; }.form-message, .service-status { min-height: 22px; margin: 14px 0 0; color: var(--muted); font-size: 14px; }.form-message.is-error, .service-status.is-error { color: #d93d3d; }.form-message.is-success { color: #198754; }
.results-area { margin-top: 20px; display: grid; gap: 11px; }.result-card { border: 1px solid #e1e9f4; border-radius: 13px; padding: 17px 18px; background: linear-gradient(135deg, #fff, #f8fbff); }.result-card-header { display: flex; justify-content: space-between; gap: 14px; align-items: center; }.result-card strong { font-size: 16px; }.result-meta { display: flex; flex-wrap: wrap; gap: 11px 27px; margin-top: 14px; color: #596a82; font-size: 14px; }.result-meta b { color: #263955; margin-right: 5px; }.detail-list { border-top: 1px dashed #dbe5f1; margin-top: 15px; padding-top: 12px; display: grid; gap: 9px; color: #52647d; font-size: 13px; }.detail-list > strong { color: #263955; font-size: 13px; }.detail-list div { display: flex; gap: 10px; }.detail-list time { min-width: 140px; color: #8391a7; }
.superzone-layout { min-height: 365px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 55px; }.superzone-layout h2 { margin: 7px 0 12px; font-size: 31px; }.superzone-layout p:not(.panel-kicker) { color: var(--muted); line-height: 1.9; max-width: 550px; }.service-points { padding: 2px 0 5px; margin: 24px 0; list-style: none; color: #40536f; line-height: 2.15; }.service-points li::before { content: "✓"; color: var(--blue); font-weight: 900; margin-right: 10px; }.inline-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }.support-text { font-size: 13px; margin-top: 13px !important; }.superzone-illustration { min-height: 280px; border: 1px solid #d9e8ff; border-radius: 22px; background: radial-gradient(circle at 68% 30%, #fff 0 4%, transparent 4.5%), linear-gradient(135deg, #ebf5ff, #d6eaff); overflow: hidden; position: relative; }.superzone-illustration::before, .superzone-illustration::after { content: ""; position: absolute; border: 1px solid rgba(45,135,245,.25); border-radius: 50%; }.superzone-illustration::before { width: 370px; height: 370px; left: 15%; top: -42%; }.superzone-illustration::after { width: 230px; height: 230px; right: -17%; bottom: -29%; }.superzone-illustration strong { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: #1564c6; font-size: 19px; text-align: center; line-height: 1.7; white-space: nowrap; }.map-dot { position: absolute; width: 12px; height: 12px; border: 3px solid #fff; background: #1e88fc; border-radius: 50%; box-shadow: 0 0 0 7px rgba(30,136,252,.13); }.dot-one { left: 20%; top: 57%; }.dot-two { right: 23%; top: 27%; }.dot-three { right: 18%; bottom: 24%; }.route { height: 2px; position: absolute; transform-origin: left center; background: linear-gradient(90deg, #1f82f5, transparent); }.route-one { width: 45%; transform: rotate(-25deg); left: 21%; top: 59%; }.route-two { width: 37%; transform: rotate(42deg); right: 21%; top: 31%; }
.search-bar { display: flex; width: 100%; gap: 14px; margin: 26px 0 22px; }.search-bar input { flex: 1 1 auto; min-width: 0; height: 49px; padding: 0 16px; }.search-bar button { flex: 0 0 auto; color: #fff; background: #1677f2; min-width: 106px; border: 0; border-radius: 10px; font-weight: 800; }.logistics-layout { display: grid; grid-template-columns: 185px minmax(0, 1fr); border: 1px solid #e3eaf4; border-radius: 13px; overflow: hidden; min-height: 235px; }.province-filter { background: #f7faff; padding: 10px 0; border-right: 1px solid #e5edf7; max-height: 486px; overflow-y: auto; }.province-filter p { margin: 14px 16px; color: #7d8da4; font-size: 13px; }.province-filter button { display: block; width: 100%; padding: 10px 17px; color: #556780; font-size: 14px; text-align: left; background: transparent; border: 0; }.province-filter button:hover, .province-filter button.is-active { color: var(--blue); background: #e6f2ff; font-weight: 700; }.logistics-content { padding: 0 22px 21px; }.company-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.company-card { min-height: 114px; padding: 16px; border: 1px solid #e2eaf4; border-radius: 11px; background: #fff; cursor: pointer; transition: box-shadow .2s, transform .2s; }.company-card:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(31,75,136,.10); }.company-card h3 { margin: 0 0 9px; font-size: 15px; }.company-card p { color: #6c7c92; font-size: 13px; line-height: 1.7; margin: 0; }.company-card .tag { display: inline-block; background: #eff7ff; color: #2075da; border-radius: 5px; margin-top: 8px; padding: 3px 6px; font-size: 12px; }
.company-detail { grid-column: 1 / -1; overflow: hidden; border: 1px solid #dfeaf8; border-radius: 15px; background: #fff; box-shadow: 0 12px 28px rgba(20, 60, 112, .07); }.company-detail-top { padding: 23px 25px; min-height: 105px; display: flex; gap: 22px; align-items: center; justify-content: space-between; background: linear-gradient(112deg, #f4f9ff, #eaf4ff); border-bottom: 1px solid #dceafa; }.company-identity { min-width: 0; display: flex; align-items: center; gap: 14px; }.company-avatar { flex: 0 0 auto; width: 49px; height: 49px; display: grid; place-items: center; color: #fff; font-size: 21px; font-weight: 800; border-radius: 14px; background: linear-gradient(135deg, #1477ed, #56a9ff); box-shadow: 0 8px 17px rgba(27, 123, 239, .2); }.company-label { margin: 0 0 4px; color: #3685df; font-size: 12px; font-weight: 800; letter-spacing: .05em; }.company-identity h3 { margin: 0; color: #1c3559; font-size: 20px; line-height: 1.35; }.company-region { display: -webkit-box; max-width: 650px; margin: 5px 0 0; overflow: hidden; color: #647891; font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.detail-back { flex: 0 0 auto; min-height: 36px; padding: 0 13px; color: #2174db; border: 1px solid #a9d2ff; border-radius: 8px; background: rgba(255,255,255,.84); font-size: 13px; font-weight: 800; }.detail-back:hover { background: #fff; border-color: #5ba7f8; }.company-fact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #e7eef7; }.company-fact { padding: 16px 24px; border-right: 1px solid #e7eef7; }.company-fact:last-child { border-right: 0; }.company-fact span { display: block; color: #7c8ca2; font-size: 12px; }.company-fact strong { display: block; margin-top: 5px; color: #1b426f; font-size: 17px; overflow-wrap: anywhere; }.company-detail-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 25px; border-bottom: 1px solid #e7eef7; background: #fff; scrollbar-width: thin; }.company-detail-tab { position: relative; flex: 0 0 auto; min-height: 58px; padding: 0 14px; color: #657891; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 14px; font-weight: 700; white-space: nowrap; transition: color .2s, border-color .2s; }.company-detail-tab:hover { color: #1677f2; }.company-detail-tab[aria-selected="true"] { color: #1677f2; border-bottom-color: #1677f2; }.company-detail-tab:focus-visible { outline: 2px solid #80bcff; outline-offset: -4px; border-radius: 5px; }.company-detail-panel[hidden] { display: none !important; }.company-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px 25px 20px; }.detail-section { padding: 18px; border: 1px solid #e7eef7; border-radius: 11px; background: #fbfdff; }.detail-section h4, .company-intro-section h4 { margin: 0 0 14px; color: #264c7d; font-size: 14px; }.detail-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px dashed #e4edf7; font-size: 13px; line-height: 1.55; }.detail-row:first-of-type { border-top: 0; }.detail-row span { color: #7b8ca3; }.detail-row b { color: #3f597a; font-weight: 600; overflow-wrap: anywhere; }.company-intro-section { margin: 0 25px 25px; padding: 20px; border-radius: 11px; background: #f7faff; }.company-intro { margin: 0; color: #58708f; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }.company-intro.is-collapsed { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }.intro-toggle { margin-top: 12px; padding: 0; color: #2478df; border: 0; background: transparent; font-size: 13px; font-weight: 800; }.detail-table-wrap { overflow-x: auto; margin: 22px 25px 25px; border: 1px solid #e1e9f4; border-radius: 11px; background: #fff; }.detail-table { width: 100%; min-width: 1120px; border-collapse: separate; border-spacing: 0; color: #415672; font-size: 13px; line-height: 1.55; }.detail-table th, .detail-table td { min-width: 96px; padding: 14px 15px; text-align: left; vertical-align: middle; border-right: 1px solid #e7edf5; border-bottom: 1px solid #e7edf5; }.detail-table th { color: #324b6d; background: #f7faff; font-weight: 800; white-space: nowrap; }.detail-table td { overflow-wrap: anywhere; }.detail-table th:first-child, .detail-table td:first-child { min-width: 58px; text-align: center; }.detail-table th:last-child, .detail-table td:last-child { border-right: 0; }.detail-table tbody tr:last-child td { border-bottom: 0; }.detail-table tbody tr:hover td { background: #fbfdff; }.detail-table-primary { color: #1677f2; font-weight: 700; }.detail-table-empty { margin: 0; padding: 44px 20px; color: #7b8ca3; text-align: center; }
.product-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 17px; }.product-list[hidden], .product-detail[hidden] { display: none !important; }.product-card { min-width: 0; padding: 12px; color: inherit; text-align: left; border: 1px solid #e2eaf4; border-radius: 12px; background: linear-gradient(150deg, #fff, #f8fbff); transition: transform .2s, box-shadow .2s, border-color .2s; }.product-card:hover { transform: translateY(-3px); border-color: #9dcbff; box-shadow: 0 13px 22px rgba(24, 93, 181, .12); }.product-image { height: 142px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #eaf4ff, #f7fbff); }.product-image::after, .product-detail-media::after { content: "具语\A商品市场"; white-space: pre; color: #78a7dd; font-size: 12px; line-height: 1.6; text-align: center; }.product-image:not(.is-empty)::after, .product-detail-media:not(.is-empty)::after { display: none; }.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }.product-card:hover .product-image img { transform: scale(1.05); }.product-price, .product-title, .product-code { display: block; }.product-price { margin-top: 12px; color: #ea4335; font-size: 19px; font-weight: 800; line-height: 1.2; }.product-title { display: -webkit-box; min-height: 45px; margin-top: 8px; overflow: hidden; color: #263c5a; font-size: 14px; font-weight: 700; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.product-code { margin-top: 7px; overflow: hidden; color: #7b8ba0; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.product-detail { margin-top: 17px; }.product-detail-card { padding: 22px; border: 1px solid #dfeaf8; border-radius: 15px; background: #fff; box-shadow: 0 12px 28px rgba(20, 60, 112, .07); }.product-detail-card > .detail-back { margin-bottom: 20px; }.product-detail-overview { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: 30px; align-items: start; }.product-detail-media { min-height: 275px; display: grid; place-items: center; overflow: hidden; border: 1px solid #dceafa; border-radius: 12px; background: linear-gradient(135deg, #eaf4ff, #f7fbff); }.product-detail-media img { width: 100%; height: 100%; max-height: 390px; object-fit: contain; }.product-detail-summary h3 { margin: 4px 0 9px; color: #1c3559; font-size: 25px; line-height: 1.4; }.product-detail-price { margin: 0 0 19px; color: #ea4335; font-size: 30px; font-weight: 800; }.product-detail-facts { display: grid; grid-template-columns: 91px minmax(0, 1fr); margin: 0 0 22px; font-size: 14px; line-height: 1.6; }.product-detail-facts dt, .product-detail-facts dd { padding: 8px 0; border-top: 1px dashed #e3ecf7; }.product-detail-facts dt { color: #8290a5; }.product-detail-facts dd { margin: 0; color: #3f597a; font-weight: 600; overflow-wrap: anywhere; }.product-login { display: inline-flex; align-items: center; justify-content: center; }.product-description { margin-top: 27px; padding: 21px; border-radius: 11px; background: #f7faff; }.product-description h4 { margin: 0 0 12px; color: #264c7d; font-size: 15px; }.product-description p { margin: 0; color: #58708f; font-size: 14px; line-height: 1.9; white-space: pre-line; }.subtle-link { color: var(--blue); font-size: 14px; font-weight: 700; white-space: nowrap; }.empty-state { grid-column: 1 / -1; padding: 35px 16px; color: #7d8ca2; text-align: center; }
.service-footer { color: #6f7e92; border-top: 1px solid #e2eaf4; background: #fff; font-size: 13px; }.service-footer .shell { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }.service-footer a { color: #2879e4; font-weight: 700; }
@media (max-width: 980px) { .header-inner { gap: 24px; }.service-nav { gap: 15px; }.service-nav a:nth-child(2), .service-nav a:nth-child(3), .service-nav a:nth-child(6), .service-nav a:nth-child(7) { display: none; }.company-list { grid-template-columns: 1fr; }.product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 670px) { .shell { width: min(100% - 32px, 1180px); }.service-header { height: 62px; }.header-inner { width: calc(100% - 32px); gap: 16px; }.brand strong { font-size: 20px; }.brand small { display: none; }.brand-mark { width: 27px; height: 27px; }.service-nav { display: none; }.login-link { margin-left: auto; }.service-hero { padding: 49px 0 63px; }.service-hero p:last-child { font-size: 14px; }.service-shell { margin-top: -25px; padding-bottom: 44px; }.service-tabs { padding: 5px; border-radius: 14px; gap: 3px; }.service-tabs button { padding: 11px 4px; font-size: 13px; }.tab-icon { display: none; }.service-panel { margin-top: 17px; min-height: 420px; padding: 25px 19px; border-radius: 17px; }.panel-heading, .panel-heading.compact { display: block; padding-bottom: 20px; }.panel-heading h2, .superzone-layout h2 { font-size: 25px; }.privacy-note { margin-top: 15px !important; white-space: normal; }.query-form { grid-template-columns: 1fr; }.tracking-form .primary-button { grid-column: auto; }.query-form textarea { min-height: 102px; }.superzone-layout { min-height: 0; display: block; }.superzone-illustration { min-height: 220px; margin-top: 29px; }.search-bar { margin: 21px 0 17px; }.logistics-layout { grid-template-columns: 1fr; }.province-filter { white-space: nowrap; overflow-x: auto; overflow-y: hidden; padding: 7px 8px; border-right: 0; border-bottom: 1px solid #e5edf7; }.province-filter p { display: none; }.province-filter button { display: inline-block; width: auto; padding: 9px 10px; border-radius: 7px; }.logistics-content { padding: 0 14px 14px; }.company-list, .product-list { grid-template-columns: 1fr; }.product-detail-card { padding: 18px; }.product-detail-overview { grid-template-columns: 1fr; gap: 20px; }.product-detail-media { min-height: 220px; }.product-detail-summary h3 { font-size: 21px; }.company-detail-top { display: block; padding: 19px; }.company-identity h3 { font-size: 17px; }.detail-back { margin-top: 15px; }.company-fact-strip { grid-template-columns: 1fr; }.company-fact { padding: 12px 18px; border-right: 0; border-bottom: 1px solid #e7eef7; }.company-fact:last-child { border-bottom: 0; }.company-detail-tabs { padding: 0 18px; }.company-detail-grid { grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; }.company-intro-section { margin: 0 18px 18px; padding: 17px; }.detail-table-wrap { margin: 16px 18px 18px; }.subtle-link { display: inline-block; margin-top: 15px; }.service-footer .shell { padding: 17px 0; min-height: 0; align-items: flex-start; flex-direction: column; gap: 8px; } }

/* Query services reuse the main site's premium navigation rather than a separate flat menu. */
.service-site-header.site-header {
  position: fixed;
  z-index: 100;
  height: 74px;
  padding: 0 max(28px, calc((100vw - 1220px) / 2));
  border-bottom-color: #e2e9f3;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(15, 30, 67, .07);
  color: #1b2d4b;
  backdrop-filter: blur(16px);
}

.service-site-header.site-header.is-scrolled,
.service-site-header.site-header.menu-open {
  height: 74px;
  border-bottom-color: #e2e9f3;
  background: rgba(255, 255, 255, .96);
  color: #1b2d4b;
}

.service-site-header .main-nav .nav-link {
  color: #253752;
  opacity: 1;
}

.service-site-header .main-nav .nav-link:hover {
  color: #f07823;
}

.service-site-header .main-nav .nav-link[aria-current="page"] {
  color: #1767d8;
}

.service-site-header .main-nav .nav-link[aria-current="page"]::after {
  background: #f07823;
}

.service-site-header .theme-toggle,
.service-site-header:not(.is-scrolled):not(.menu-open) .theme-toggle {
  color: #1b2d4b;
}

.service-site-header .header-actions {
  gap: 14px;
}

.service-site-header .text-link {
  color: #1767d8;
}

.service-site-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #ff7417;
  background: #ff7417;
  color: #fff;
}

.service-site-header .header-cta:hover {
  background: #e9630d;
  color: #fff;
}

.service-hero h1 {
  color: #fff;
}

@media (max-width: 1120px) {
  .service-site-header.site-header,
  .service-site-header.site-header.is-scrolled,
  .service-site-header.site-header.menu-open {
    height: 68px;
  }

  .service-site-header .menu-button {
    border-color: #d8e2f0;
  }
}

@media (max-width: 670px) {
  .service-site-header.site-header,
  .service-site-header.site-header.is-scrolled,
  .service-site-header.site-header.menu-open {
    height: 62px;
    padding: 0 16px;
  }

  .service-site-header .brand small {
    display: block;
  }
}

/* Query services use the same deep-blue brand field as the primary site. */
.service-hero {
  padding: 92px 0 112px;
  background: radial-gradient(circle at 79% 37%, #2450ae 0, #102e6b 21%, transparent 43%), linear-gradient(115deg, #071634 0%, #102e6d 57%, #123c86 100%);
}

.service-hero .hero-grid { opacity: .15; background-size: 48px 48px; }
.service-hero .eyebrow { color: #c8daf9; }
.service-hero .eyebrow span { background: #ffad71; }
.service-shell { margin-top: -48px; }

/* Present the four search services as parallel entry cards, not a split control. */
.service-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-tabs button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 88px;
  padding: 16px 17px;
  align-items: center;
  border: 1px solid #dce6f2;
  border-radius: 15px;
  background: rgba(255, 255, 255, .97);
  color: #263b5c;
  text-align: left;
  box-shadow: 0 12px 26px rgba(20, 52, 101, .07);
}

.service-tabs button:hover { border-color: #a8c7ef; background: #fff; color: #1768d5; box-shadow: 0 15px 30px rgba(20, 52, 101, .11); }
.service-tabs button[aria-selected="true"] { border-color: #1b67cf; background: linear-gradient(135deg, #155fcb, #247dec); color: #fff; box-shadow: 0 15px 31px rgba(22, 93, 203, .28); }

.tab-copy { display: grid; gap: 4px; min-width: 0; }
.tab-copy b { color: currentColor; font-size: 16px; line-height: 1.15; }
.tab-copy small { color: #71829b; font-size: 12px; font-weight: 500; line-height: 1.3; }
.service-tabs button[aria-selected="true"] .tab-copy small { color: #dbe9ff; }
.tab-arrow { color: #90a4be; font-size: 18px; font-weight: 600; transition: transform .2s ease; }
.service-tabs button:hover .tab-arrow, .service-tabs button[aria-selected="true"] .tab-arrow { color: currentColor; transform: translateX(3px); }

.tab-icon { position: relative; display: block; width: 42px; height: 42px; margin: 0; border-radius: 12px; background: #edf5ff; color: #1768d5; }
.tab-icon::before, .tab-icon::after { position: absolute; content: ""; }
.tab-icon-track::before { top: 11px; left: 9px; width: 19px; height: 13px; border: 2px solid currentColor; border-radius: 4px; }
.tab-icon-track::after { top: 17px; left: 14px; width: 9px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.tab-icon-zone::before { top: 9px; left: 10px; width: 19px; height: 19px; border: 2px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.tab-icon-zone::after { top: 17px; left: 17px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tab-icon-logistics::before { top: 14px; left: 8px; width: 19px; height: 11px; border: 2px solid currentColor; border-radius: 3px; }
.tab-icon-logistics::after { bottom: 10px; left: 11px; width: 6px; height: 6px; border: 2px solid currentColor; border-radius: 50%; background: #edf5ff; box-shadow: 13px 0 0 -2px #edf5ff, 13px 0 0 0 currentColor; }
.tab-icon-products::before { top: 10px; left: 10px; width: 19px; height: 18px; border: 2px solid currentColor; border-radius: 5px; transform: rotate(30deg) skewY(-20deg); }
.tab-icon-products::after { top: 18px; left: 18px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; box-shadow: 7px 0 0 currentColor; }
.service-tabs button[aria-selected="true"] .tab-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.service-tabs button[aria-selected="true"] .tab-icon-logistics::after { background: #2a7deb; box-shadow: 13px 0 0 -2px #2a7deb, 13px 0 0 0 currentColor; }

.tracking-form { grid-template-columns: minmax(0, 1fr) minmax(250px, .48fr); align-items: start; gap: 30px; }
.tracking-actions { display: grid; gap: 18px; align-content: start; }
.tracking-form .primary-button { grid-column: auto; width: 100%; }

.service-site-header .header-login {
  border-color: #1767d8;
  background: #1767d8;
  color: #fff;
  box-shadow: 0 7px 17px rgba(23, 103, 216, .18);
}
.service-site-header .header-login:hover { border-color: #0c55bf; background: #0c55bf; color: #fff; }

@media (max-width: 920px) {
  .service-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracking-form { grid-template-columns: minmax(0, 1fr) minmax(220px, .5fr); gap: 22px; }
  .tracking-form .primary-button { grid-column: auto; }
}

@media (max-width: 670px) {
  .service-hero { padding: 60px 0 92px; }
  .service-shell { margin-top: -31px; }
  .service-tabs { gap: 9px; }
  .service-tabs button { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; min-height: 72px; padding: 12px 11px; border-radius: 12px; }
  .tab-icon { display: block; width: 36px; height: 36px; border-radius: 10px; }
  .tab-copy b { font-size: 14px; }
  .tab-copy small { font-size: 11px; }
  .tab-arrow { font-size: 15px; }
  .tab-icon-track::before { top: 9px; left: 8px; width: 16px; height: 11px; }
  .tab-icon-track::after { top: 14px; left: 12px; width: 8px; box-shadow: 0 4px 0 currentColor; }
  .tab-icon-zone::before { top: 8px; left: 8px; width: 16px; height: 16px; }
  .tab-icon-zone::after { top: 15px; left: 14px; width: 6px; height: 6px; }
  .tab-icon-logistics::before { top: 12px; left: 7px; width: 16px; height: 9px; }
  .tab-icon-logistics::after { bottom: 8px; left: 9px; width: 5px; height: 5px; box-shadow: 11px 0 0 -2px #edf5ff, 11px 0 0 0 currentColor; }
  .tab-icon-products::before { top: 8px; left: 9px; width: 15px; height: 15px; }
  .tab-icon-products::after { top: 15px; left: 16px; }
  .tracking-form { grid-template-columns: 1fr; }
  .tracking-actions { gap: 14px; }
  .tracking-form .primary-button { grid-column: auto; }
}

/* Keep simple lookup services focused at every viewport. */
.service-panel[hidden] { display: none !important; }
#products-panel .service-status:empty { display: none; }

.query-form [aria-invalid="true"] { border-color: #db4b4b; box-shadow: 0 0 0 3px rgba(219, 75, 75, .1); }
.tracking-error-dialog { position: fixed; width: min(420px, calc(100vw - 32px)); margin: auto; padding: 34px 32px 28px; border: 1px solid rgba(226, 234, 245, .9); border-radius: 22px; background: linear-gradient(150deg, #fff 0%, #f7faff 100%); color: var(--ink); text-align: center; box-shadow: 0 30px 90px rgba(11, 35, 77, .28); overflow: visible; }
.tracking-error-dialog::backdrop { background: rgba(11, 27, 57, .48); backdrop-filter: blur(7px); }
.tracking-error-close { position: absolute; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #8a97aa; font-size: 27px; font-weight: 300; line-height: 1; transition: background .18s, color .18s; }
.tracking-error-close:hover { background: #edf3fb; color: #28466f; }
.tracking-error-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 17px; place-items: center; border: 1px solid #ffe2c6; border-radius: 20px; background: linear-gradient(145deg, #fff8ef, #ffeddc); box-shadow: 0 8px 20px rgba(229, 127, 40, .1); }
.tracking-error-icon svg { width: 31px; height: 31px; stroke: #e98a35; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tracking-error-kicker { margin: 0 0 6px; color: #df8434; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.tracking-error-dialog h2 { margin: 0; color: #1a2b45; font-size: 23px; letter-spacing: -.02em; }
.tracking-error-dialog #tracking-error-message { margin: 12px 0 23px; color: #65758d; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.tracking-error-confirm { width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: linear-gradient(110deg, #176fe8, #3294fa); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 9px 20px rgba(31, 117, 225, .2); transition: transform .18s, box-shadow .18s; }
.tracking-error-confirm:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(31, 117, 225, .28); }
.tracking-error-confirm:focus-visible, .tracking-error-close:focus-visible { outline: 3px solid rgba(39, 132, 244, .38); outline-offset: 3px; }
@media (max-width: 670px) { .tracking-error-dialog { padding: 32px 23px 23px; border-radius: 19px; } }

#logistics-panel .panel-heading > div > p:not(.panel-kicker),
#products-panel .panel-heading > div > p:not(.panel-kicker),
#logistics-panel .panel-kicker,
#products-panel .panel-kicker,
#products-panel .panel-heading .subtle-link { display: none; }

#logistics-panel .panel-heading h2,
#products-panel .panel-heading h2 { margin: 0; }

/* Keep simple lookup services focused: context and search share one desktop row. */
@media (min-width: 921px) {
  #logistics-panel,
  #products-panel {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: clamp(34px, 4vw, 54px);
    row-gap: 26px;
    align-items: center;
    min-height: 0;
    padding: clamp(28px, 3vw, 38px);
  }

  #logistics-panel .panel-heading,
  #products-panel .panel-heading {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    border: 0;
  }

  #logistics-panel .search-bar,
  #products-panel .search-bar {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  #logistics-panel .logistics-layout,
  #products-panel .service-status,
  #products-panel .product-list,
  #products-panel .product-detail {
    grid-column: 1 / -1;
  }

  #products-panel .service-status { margin: -10px 0 0; }
}

@media (max-width: 670px) {
  #logistics-panel .panel-heading.compact,
  #products-panel .panel-heading.compact { padding-bottom: 14px; }

  #logistics-panel .search-bar,
  #products-panel .search-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #logistics-panel .search-bar input,
  #products-panel .search-bar input,
  #logistics-panel .search-bar button,
  #products-panel .search-bar button { width: 100%; }

  #logistics-panel .search-bar button,
  #products-panel .search-bar button { min-height: 48px; }
}
