:root{font-family:Cairo,Arial,sans-serif;color:#182c42;background:#f6f8fa;font-synthesis:none;--muted:#728091;--line:#e5ebef;--teal:#11796e}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #69bfb4;outline-offset:4px}[hidden]{display:none!important}.header{height:100px;max-width:1136px;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;font-weight:800;font-size:24px;line-height:1.4}.brand-sub{display:block;font-size:11px;color:var(--muted);font-weight:500}.brand-icon{display:grid;place-items:center;width:43px;height:47px;background:#182c42;color:#fff;border-radius:13px}.brand-icon svg{width:28px;height:28px}.preview-tag{border:1px solid #dfe5e9;border-radius:30px;padding:5px 14px;font-size:12px;color:#64758a;background:#fff}main{max-width:900px;margin:auto;padding:26px 24px 0}.hero{text-align:center;padding-top:18px}.eyebrow{font-size:13px;color:var(--teal);font-weight:700;letter-spacing:.1px}h1{font-size:46px;letter-spacing:-1.5px;margin:14px 0 8px;line-height:1.5}p{line-height:1.9}.hero>p{color:var(--muted);font-size:15px;margin:0 0 32px}.search-card{text-align:right;background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px 30px 0;box-shadow:0 12px 40px #182c4206}label{font-size:13px;font-weight:700;display:block;margin-bottom:10px}.search-row{display:flex;gap:12px}input{min-width:0;flex:1;border:1px solid #dbe3e9;border-radius:12px;background:#fafcfd;padding:14px 18px;font-size:19px;direction:ltr;text-align:right;color:#182c42}input::placeholder{font-size:15px;color:#8a98a5}input[aria-invalid=true]{border-color:#bc3f3f;background:#fff8f8}.search-row button{border:0;border-radius:12px;background:#182c42;color:#fff;padding:12px 24px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:700;transition:background .2s}.search-row button:hover{background:#254862}button svg{width:20px;height:20px}button:disabled{opacity:.65;cursor:wait}small#input-hint{display:block;margin-top:10px;color:var(--muted);font-size:11px}.supported{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0f3;margin-top:24px;padding:20px 0;font-size:11px;color:var(--muted)}.carriers{display:flex;align-items:center;gap:18px;direction:ltr}.aramex{font-family:Arial,sans-serif;letter-spacing:-1.7px;font-weight:900;font-size:27px;font-style:italic;color:#e42a25;line-height:1}.divider{height:20px;width:1px;background:var(--line)}.smsa{font-family:Arial,sans-serif;color:#442291;font-size:18px;font-weight:900;line-height:1}.smsa b{font-family:Cairo,sans-serif;font-size:12px;color:#ee851c}.connection{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 22px;font-size:11px;color:var(--muted);padding:18px 0}.connection-title{font-weight:700;color:#526477}.connection .ok{color:var(--teal)}.empty{text-align:center;padding:44px 0 38px}.route-graphic{direction:ltr;display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 22px}.route-dot{width:10px;height:10px;border:2px solid #b9c7d1;border-radius:50%}.route-line{width:60px;border-top:2px dashed #d4dfe7}.truck{display:grid;place-items:center;border:1px solid #dbe6e9;background:#fff;width:56px;height:56px;border-radius:17px;color:var(--teal);box-shadow:0 4px 10px #11796e06}.truck svg{width:34px;height:34px}.route-pin{color:#97acb9}.route-pin svg{width:25px;height:25px}.empty h2{font-size:19px;margin:8px 0}.empty p{font-size:12px;color:var(--muted);margin:0}.demo-button{border:0;background:transparent;color:var(--teal);font-size:12px;font-weight:700;margin-top:20px;padding:8px}.demo-button span{margin-right:10px}.empty>small{display:block;color:#8b98a5;font-size:10px}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding:23px 0;margin-top:18px;font-size:10px;color:var(--muted)}.feedback{border:1px solid #dce6ef;background:#eef4f8;padding:15px 20px;border-radius:12px;color:#486177;font-size:13px;margin:10px 0 20px}.feedback.error{color:#994b3b;background:#fff5f1;border-color:#f1dcd3}.form-error{font-size:12px;color:#b23d3d;margin:8px 0}.result-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;margin:18px 0}.result-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.result-head h2{font-size:15px;margin:0}.awb{display:block;direction:ltr;text-align:right;color:var(--muted);font-size:13px;margin-top:5px;letter-spacing:1px}.status{font-size:12px;color:var(--teal);background:#eaf5f1;padding:6px 14px;border-radius:25px}.route-info{display:flex;gap:30px;border-block:1px solid var(--line);margin-top:22px;padding:18px 0}.route-info>div{display:flex;flex-direction:column;gap:4px;font-size:14px}.route-info small{font-size:10px;color:var(--muted)}.history-title{font-size:13px;margin:23px 0 20px}.timeline{list-style:none;margin:0;padding:0}.timeline li{position:relative;padding:0 26px 23px 0;border-right:1px solid #e0e9eb;margin-right:7px}.timeline li:last-child{padding-bottom:0;border:0}.timeline li:before{content:'';position:absolute;right:-5px;top:7px;width:9px;height:9px;background:#cbd6dd;border:2px solid #fff;border-radius:50%}.timeline li:first-child:before{background:var(--teal);box-shadow:0 0 0 4px #e5f3ef}.timeline h4{font-size:13px;margin:0 0 3px}.timeline p{font-size:11px;color:var(--muted);margin:0;display:flex;flex-wrap:wrap;gap:6px 14px}.timeline time{direction:ltr;display:inline-block}.original{display:block;color:#84909b;font:11px Arial,sans-serif;margin-bottom:5px;line-height:1.5}.demo-label{font-size:12px;color:#97651c;background:#fff7e7;border:1px solid #f2e5c7;border-radius:10px;padding:10px 15px}.result-note{font-size:11px;color:var(--muted);margin:14px 0 0}#results:focus{outline:none}.loading-ring{width:18px;height:18px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:600px){.header{height:83px;padding:0 22px}.brand{font-size:21px}.brand-icon{width:38px;height:42px}.preview-tag{font-size:10px;padding:4px 10px}main{padding:12px 18px 0}.hero{padding-top:22px}h1{font-size:33px;letter-spacing:-1px}.eyebrow{font-size:11px}.hero>p{font-size:12px;margin-bottom:24px}.search-card{padding:22px 18px 0;border-radius:18px}.search-row{flex-direction:column;gap:10px}input{padding:13px 14px;width:100%;font-size:20px}.search-row button{padding:13px}.supported{padding:18px 0;gap:10px}.carriers{gap:12px}.aramex{font-size:24px}.smsa{font-size:15px}.smsa b{font-size:10px}.connection{gap:8px 14px;font-size:10px}.connection-title{width:100%;text-align:center}.empty{padding:30px 0}.empty h2{font-size:17px}.empty p{font-size:11px}.result-card{padding:20px 17px}.result-head{align-items:flex-start}.status{max-width:50%;font-size:10px;padding:6px 10px}.route-info{gap:22px}.timeline p{font-size:10px}footer{flex-direction:column;text-align:center;padding:18px 0;gap:5px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}

:root{color:#171717;background:#f7f7f7;--muted:#777b80;--line:#e9e9e9;--teal:#ef4b19}body{background:radial-gradient(circle at 50% 0%,#fff5ef 0,transparent 440px),#f7f7f7}.brand{color:#111}.brand-icon{width:51px;height:51px;background:#fff;border:1px solid #f0e7e1;border-radius:14px;box-shadow:0 4px 12px #1111110a}.brand-icon svg{width:44px;height:44px}.eyebrow{color:#e74817}.search-card,.result-card{border-color:#ece8e5;box-shadow:0 14px 38px #23190f09}.search-row button{background:#f04b18;color:#fff;box-shadow:0 5px 15px #f04b1822}.search-row button:hover{background:#d83e0d}input{color:#171717;background:#fff}input:focus{outline-color:#ffad8e;border-color:#f04b18}button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#f8a17e}.status{background:#fff1e9;color:#b73b14}.timeline li:first-child .track-node{background:#fff0e8!important;color:#e94a18!important;border-color:#ffba9b!important;box-shadow:0 0 0 5px #fff6f1!important}.timeline:before{background:linear-gradient(#f04b18,#eaded8)!important}.timeline li:first-child .track-content{background:#fff9f5!important;border-color:#ffd7c3!important}.truck{color:#ed4b1a;background:#fff9f5;border-color:#f3ddd2}.route-dot{border-color:#e9ad92}.route-line{border-color:#e9c7b6}.route-pin{color:#e68d67}.feedback{background:#fff6f0;color:#8e4a31;border-color:#f3d8c8}@media(max-width:600px){.brand-icon{width:43px;height:43px}.brand-icon svg{width:37px;height:37px}}

.carrier-identity{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}.carrier-identity-label{font-size:.78rem;color:#78818a}.carrier-identity-name{display:inline-flex;align-items:center;border-radius:10px;background:#fff2eb;border:1px solid #f8d9c9;padding:4px 12px;font-size:.88rem;font-weight:800;color:#b9431b}@media(max-width:600px){.carrier-identity{gap:6px}.carrier-identity-name{font-size:.8rem;padding:4px 9px}}

/* Single accessible focus indicator for shipment number input */
.search-row input:focus,.search-row input:focus-visible{outline:2px solid #f04b18;outline-offset:0;border-color:#f04b18;box-shadow:none;-webkit-box-shadow:none}

/* Authentic carrier logo and confirmed delivery state */
.carrier-logo-smsa{display:block;width:76px;height:35px;object-fit:contain;object-position:center;max-width:100%}
.result-head .status.status-delivered{background:#e7f7ee;color:#167347;border:1px solid #bce6cd;font-weight:800}
.timeline li.timeline-delivered .track-node,.timeline li.timeline-delivered:first-child .track-node{background:#e7f7ee!important;color:#16834b!important;border-color:#8bd0a9!important;box-shadow:0 0 0 5px #f0faf4!important}
.timeline li.timeline-delivered .track-content,.timeline li.timeline-delivered:first-child .track-content{background:#f7fdf9!important;border-color:#c5e9d2!important}
.timeline li.timeline-delivered .track-content h4{color:#167347}

/* Delivered shipment: green check mark and bold labels */
.result-head .status.status-delivered{font-weight:800!important}
.timeline li.timeline-delivered .track-node,.timeline li.timeline-delivered:first-child .track-node{color:#16834b!important;border-color:#16834b!important}
.timeline li.timeline-delivered .track-node svg{stroke:#16834b!important;stroke-width:2.8!important}
.timeline li.timeline-delivered .track-content h4{font-weight:800!important;color:#167347!important}

/* Tracking upgrades: scoped, no layout redesign */
.result-head .status.status-danger{background:#fff0ee;color:#a83227;border:1px solid #f5cbc5;font-weight:800}
.result-head .status.status-warning{background:#fff5e4;color:#98600d;border:1px solid #f4d9a8;font-weight:800}
.result-head .status.status-active{background:#fff2e9;color:#b74a19;border:1px solid #f6d9c7;font-weight:800}
.result-head .status.status-delivered{background:#e7f7ee;color:#167347;font-weight:800}
.share-row{display:flex;justify-content:flex-start;margin-top:18px}
.share-button{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #f2c9b9;border-radius:12px;color:#bd4519;font-weight:800;font-size:12px;padding:10px 15px}
.share-button svg{width:18px;height:18px}
.share-button:focus-visible{outline:2px solid #f04b18;outline-offset:3px}

.timeline li.timeline-day{padding:4px 54px 12px 0!important;min-height:0!important;color:#6e7882;font-size:12px;font-weight:800;border:0!important}
.timeline li.timeline-day:before{display:none!important}
@media(max-width:600px){.timeline li.timeline-day{padding-right:48px!important}}

.carrier-logo-aramex{width:105px;max-width:100%;height:35px;object-fit:contain;object-position:right center;display:block}
.track-raw{direction:auto;unicode-bidi:plaintext;overflow-wrap:anywhere}
.route-info{flex-wrap:wrap;row-gap:14px}
@media(max-width:600px){.carrier-logo-aramex{width:88px;height:30px}}

/* V2.0 additive refinements, preserving brand layout */
.route-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:14px 18px;align-items:start}
.route-info>div{min-width:0;overflow-wrap:anywhere}
.share-row{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.timeline:not(.timeline-expanded) .timeline-extra{display:none}
.timeline-toggle{margin:10px 0 4px;padding:9px 15px;border:1px solid #e9d4c9;border-radius:10px;background:#fff;color:#b8461c;font-family:inherit;font-weight:700;cursor:pointer}
.timeline-latest .track-content{border-color:#b9e6cc}
@media(max-width:480px){.route-info{grid-template-columns:repeat(2,minmax(0,1fr))}.share-button{font-size:12px;padding:9px 11px}}

/* V2.0.1: aligned action controls and compact one-field shipment details */
.result-card .share-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;width:100%;margin-top:20px;direction:rtl}
.result-card .share-row .share-button{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:48px;padding:10px 8px;border:1px solid #edcbbb;border-radius:12px;background:#fff;color:#b74720;font-family:inherit;font-size:13px;font-weight:800;line-height:1.5;white-space:normal;text-align:center;cursor:pointer}
.result-card .share-row .share-button svg{flex:none;width:18px;height:18px}
.result-card .route-info.route-info-single{display:flex!important;justify-content:flex-start;align-items:center;gap:16px;min-height:0;padding-top:16px;padding-bottom:16px}
.result-card .route-info.route-info-single>div{display:flex;align-items:center;gap:12px;min-width:0}
.result-card .route-info.route-info-single>div small,.result-card .route-info.route-info-single>div span{margin:0;line-height:1.5}
@media(max-width:580px){.result-card .share-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}.result-card .share-row .share-refresh{grid-column:1/-1}.result-card .share-row .share-button{font-size:12px;min-height:46px}.result-card .route-info.route-info-single{padding-top:13px;padding-bottom:13px}}

/* Aramex verified tracking details - no inferred origin/destination */
.result-card .route-info{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:18px;align-items:start}
.result-card .route-info>div{min-width:0}
.result-card .route-info>div small{display:block;margin-bottom:7px}
.result-card .route-info>div span{display:block;overflow-wrap:anywhere;line-height:1.6}
@media(min-width:760px){.result-card .route-info{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Unified four-field shipment card for SMSA and Aramex */
.result-card .route-info.route-info-unified{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 16px!important;align-items:start;padding-top:20px;padding-bottom:20px}
.result-card .route-info.route-info-unified>div{display:block!important;min-width:0}
.result-card .route-info.route-info-unified>div small{display:block;margin-bottom:8px;color:#7b838d}
.result-card .route-info.route-info-unified>div span{display:block;overflow-wrap:anywhere;line-height:1.6}
@media(min-width:760px){.result-card .route-info.route-info-unified{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* Mobile timeline + action bar alignment fix */
.result-card .timeline{position:relative!important;list-style:none!important;padding:0!important;margin:0!important;min-width:0!important;overflow:visible!important}
.result-card .timeline:before{content:'';position:absolute;right:21px!important;left:auto!important;top:13px;bottom:18px;width:3px!important;border:0!important;border-radius:3px;background:linear-gradient(#ed4a1a,#e7d8d0)!important;z-index:0;pointer-events:none}
.result-card .timeline>li:not(.timeline-day){position:relative!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;column-gap:12px!important;align-items:start!important;padding:0 0 18px!important;margin:0!important;border:0!important;min-width:0!important;direction:rtl}
.result-card .timeline>li:not(.timeline-day):before{display:none!important}
.result-card .timeline .track-node{position:relative!important;right:auto!important;left:auto!important;top:auto!important;grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important;border:2px solid #d9e3ea!important;background:#edf4f8!important;color:#607f95!important;z-index:2!important;margin:0!important;transform:none!important;box-shadow:0 0 0 4px #fff!important}
.result-card .timeline .track-node svg{width:22px!important;height:22px!important;display:block!important;stroke:currentColor!important;stroke-width:1.8!important}
.result-card .timeline>li.timeline-delivered .track-node{background:#e7f7ee!important;border-color:#16834b!important;color:#16834b!important;box-shadow:0 0 0 4px #f0faf4!important}
.result-card .timeline>li:not(.timeline-day) .track-content{position:relative!important;grid-column:2!important;grid-row:1!important;min-width:0!important;width:auto!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
.result-card .timeline .track-content p,.result-card .timeline .track-content small{overflow-wrap:anywhere;word-break:normal}
.result-card .timeline li.timeline-day{position:relative!important;padding:5px 56px 12px 0!important;border:0!important;margin:0!important;min-height:0!important}
.result-card .share-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:18px 0 4px!important;width:100%!important}
.result-card .share-row .share-button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:70px!important;padding:11px 6px!important;border-radius:13px!important;border:1px solid #ebd3c7!important;background:#fff!important;color:#a94522!important;font-family:inherit!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;box-shadow:none!important}
.result-card .share-row .share-button svg{width:21px!important;height:21px!important;flex:0 0 21px!important;stroke-width:1.8!important}
.result-card .share-row .share-button span{display:block!important;text-align:center!important}
@media(max-width:480px){.result-card .share-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.result-card .share-row .share-refresh{grid-column:auto!important}.result-card .share-row .share-button{font-size:11px!important;min-height:72px!important}.result-card .timeline>li:not(.timeline-day){grid-template-columns:40px minmax(0,1fr)!important;column-gap:9px!important}.result-card .timeline:before{right:19px!important}.result-card .timeline .track-node{width:40px!important;height:40px!important;min-width:40px!important}.result-card .timeline li.timeline-day{padding-right:49px!important}}

/* Accessible first-visit language picker and header toggle */
.language-switch{border:1px solid #d8e0e7;background:#fff;color:#273b4d;border-radius:999px;padding:7px 13px;font:700 13px Cairo,sans-serif;cursor:pointer;white-space:nowrap;margin-inline-start:auto}
.language-switch:focus-visible,.language-choice:focus-visible,.share-button:focus-visible{outline:3px solid #ee572a;outline-offset:3px}
.language-overlay{position:fixed;inset:0;z-index:9999;background:#142333a6;display:flex;align-items:center;justify-content:center;padding:20px}
.language-panel{background:#fff;color:#152b3b;border-radius:22px;padding:28px 22px;width:min(420px,100%);box-shadow:0 18px 65px #101e2a55;text-align:center;font-family:Cairo,sans-serif}
.language-panel h2{font-size:21px;margin:0 0 10px}.language-panel p{color:#677782;margin:0 0 24px}
.language-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.language-choice{padding:14px;border-radius:12px;background:#fff;border:1px solid #e65b31;color:#b94119;font:700 17px Cairo,sans-serif;cursor:pointer}.language-choice:hover{background:#fff1ea}
.share-button.is-refreshing svg{animation:tracking-spin 1s linear infinite}@keyframes tracking-spin{to{transform:rotate(360deg)}}
html[lang=en] body{direction:ltr}html[lang=en] .timeline>li:not(.timeline-day){direction:rtl}html[lang=en] .track-content{text-align:left;direction:ltr}html[lang=en] .route-info-unified{text-align:left}html[lang=en] .header{direction:ltr}html[lang=en] .search-card{text-align:left}
@media(max-width:480px){.language-switch{padding:6px 10px;font-size:12px}.language-panel{padding:22px 16px}}

/* Neutral language-choice buttons; brand accent only on hover/focus */
.language-choice{border:1px solid #d8e0e7!important;color:#25394b!important;background:#fff!important;box-shadow:none!important;outline:none!important}
.language-choice:hover{background:#f5f7f9!important;border-color:#9eafba!important}
.language-choice:focus-visible{outline:2px solid #ed572d!important;outline-offset:3px!important}

.language-switch,.language-choice{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.language-switch svg,.language-choice svg{flex:none;display:block}
.language-switch{min-width:74px!important}
.language-switch span{font-family:Arial,sans-serif;font-size:14px;font-weight:700;letter-spacing:.3px}

/* Strictly hide older events, even when mobile timeline uses !important grid rules. */
.result-card .timeline>li.timeline-extra[hidden],.result-card .timeline>li.timeline-day[hidden]{display:none!important}

/* V2.1 responsive hardening: keep timeline, actions and metadata inside mobile viewport. */
html,body{max-width:100%;overflow-x:clip}.result-card,.track-content,.route-info,.search-card{min-width:0;max-width:100%}.track-content,.track-content p,.track-raw,.route-info span{overflow-wrap:anywhere;word-break:normal}.share-row{max-width:100%}.share-button{min-width:0}.share-button svg{flex-shrink:0}.timeline li.timeline-extra[hidden],.timeline li.timeline-day[hidden]{display:none!important}@media(max-width:480px){.share-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}.share-button{width:100%;padding:12px 4px!important;min-height:76px}.share-button span{font-size:12px;line-height:1.4}.route-info-unified{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Inline bulk service follows the original individual-tracking card design. */
#bulk-entry{width:100%;margin:16px 0 20px;padding:13px 16px;border:1px solid #dce5ec;border-radius:12px;background:#f8fafc;color:#182c42;display:flex;align-items:center;justify-content:center;gap:10px;font:700 14px Cairo,Arial,sans-serif;cursor:pointer;transition:background .2s,border-color .2s}#bulk-entry:hover,#bulk-entry[aria-expanded=true]{background:#edf5f8;border-color:#b4cedc}#bulk-entry svg{width:19px;height:19px;flex-shrink:0}#bulk-entry .bulk-chevron{margin-inline-start:auto;transition:transform .2s}#bulk-entry[aria-expanded=true] .bulk-chevron{transform:rotate(180deg)}#bulk-inline-panel{margin:0 -14px 20px;overflow:hidden}#bulk-inline-panel[hidden]{display:none!important}@media(max-width:600px){#bulk-inline-panel{margin:0 -12px 16px}#bulk-entry{font-size:13px;padding:13px 10px}}

/* Embedded multi-tracking: no clipping when cards or history expand. */
#bulk-inline-panel{overflow:visible!important;background:#fff;border-radius:0 0 12px 12px}#bulk-inline-panel iframe{background:#fff!important;overflow:hidden!important}#bulk-inline-panel:focus-within{outline:none}

/* iOS Safari: keep expanded tracking content visible and avoid nested frame clipping. */
#results,#results .result-card,#results .timeline,#results .timeline>li{height:auto!important;max-height:none!important;overflow:visible!important;contain:none!important}#bulk-inline-panel,#bulk-inline-panel iframe{max-height:none!important}#bulk-inline-panel{isolation:isolate}

/* iPhone Safari: prevent the embedded service from enlarging the page viewport. */
html,body{width:100%!important;max-width:100%!important;overflow-x:clip!important}main,.search-card,#bulk-inline-panel{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}#bulk-inline-panel{overflow:hidden!important;margin-inline:0!important;width:100%!important}#bulk-inline-panel iframe{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;border:0!important}#bulk-entry{max-width:100%!important}#results .result-card,#results .timeline{max-width:100%!important}

/* Native bulk panel, no nested scroll container */
#bulk-inline-panel{display:block;width:100%;max-width:100%;min-width:0;overflow:visible!important;margin:0 0 16px!important;background:#fff}#bulk-inline-panel[hidden]{display:none!important}


/* Production polish: consistent page backdrop and balanced brand header (2026-11) */
html{background:#f8f8f8!important}
body{background:linear-gradient(180deg,#fff9f5 0px,#fbf9f7 330px,#f8f8f8 760px,#f8f8f8 100%)!important;min-height:100vh}
.header{max-width:1136px;min-height:94px;height:auto;padding:20px 32px;gap:18px;align-items:center;position:relative;background:transparent}
.header .brand{display:inline-flex;align-items:center;gap:12px;min-width:0;font-size:25px;line-height:1.25;letter-spacing:0;font-weight:800}
.header .brand-icon{flex:0 0 50px;width:50px!important;height:50px!important;display:grid;place-items:center;border:1px solid #f1e9e4;border-radius:15px;background:#fff;box-shadow:0 5px 18px #34241a0b;overflow:hidden}
.header .brand-icon img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:12px}
.header .brand-sub{display:block;margin-top:4px;font-size:12px;line-height:1.35;font-weight:600;letter-spacing:0;color:#7d838a}
.header .language-switch{flex-shrink:0;margin-inline-start:auto;min-height:43px;min-width:82px!important;padding:8px 14px;border-color:#dbe3e8;box-shadow:0 2px 8px #1c2d3906}
@media(max-width:600px){.header{min-height:82px;height:auto;padding:15px 20px;gap:10px}.header .brand{gap:9px;font-size:22px;line-height:1.25}.header .brand-icon{flex-basis:45px;width:45px!important;height:45px!important;border-radius:13px}.header .brand-sub{font-size:11px;margin-top:3px}.header .language-switch{min-height:40px;min-width:76px!important;padding:7px 10px}}
@media(max-width:360px){.header{padding-inline:14px}.header .brand{font-size:20px}.header .brand-icon{flex-basis:42px;width:42px!important;height:42px!important}}
