/* Only the YST shell is styled; Viettel Post owns the embedded task. */
#shipment-tracking.shipment-page { width:min(1200px,calc(100% - 64px)); margin-inline:auto; padding-block:36px 48px; color:#182336; }
.shipment-heading { display:flex; align-items:center; gap:16px; margin-bottom:28px; }
.shipment-heading-icon { display:grid; place-items:center; width:56px; height:56px; flex:0 0 56px; border-radius:16px; background:#eaf2ff; color:#0057d9; }
.shipment-heading-icon .yst-icon { width:28px; height:28px; }
#shipment-tracking .shipment-heading h2 { margin:0 0 8px; font:600 clamp(28px,2.6vw,36px)/1.35 YSTBody,sans-serif; letter-spacing:-.025em; }
.shipment-heading p { margin:0; max-width:70ch; color:#5d6880; font-size:16px; line-height:1.75; }
.shipment-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; grid-template-areas:"hint guide" "task guide"; column-gap:40px; row-gap:16px; align-items:start; }
.shipment-code-hint { grid-area:hint; margin:0; padding:12px 16px; border-radius:10px; background:#eaf2ff; color:#354f75; font-size:14px; line-height:1.7; }
.shipment-code-hint strong { font-weight:600; }
.shipment-task { grid-area:task; min-width:0; border:1px solid #e2e8f0; border-radius:16px; background:#fff; overflow:hidden; }
.shipment-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; background:#f5f8fc; border-bottom:1px solid #e2e8f0; }
.shipment-source { display:grid; gap:4px; font-size:16px; line-height:1.5; }
.shipment-source span { color:#5d6880; font-size:14px; }
.shipment-reload { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 14px; border:1px solid #a9b8ce; border-radius:10px; background:#fff; color:#182336; font:600 14px/1.5 YSTBody,sans-serif; white-space:nowrap; cursor:pointer; transition:background-color 160ms ease,border-color 160ms ease; }
.shipment-reload:hover { background:#eaf2ff; border-color:#0057d9; }
.shipment-frame-wrap { padding:20px; }
.shipment-frame { display:block; width:100%; height:480px; border:0; }
.shipment-status { margin:0 0 16px; font-size:14px; line-height:1.6; color:#5d6880; }
.shipment-status[hidden] { display:none; }
.shipment-privacy { margin:0; padding:12px 20px; border-top:1px solid #edf1f6; color:#5d6880; font-size:14px; line-height:1.7; }
.shipment-guide { grid-area:guide; min-width:0; padding-top:4px; }
#shipment-tracking .shipment-guide h3 { margin:0 0 16px; font:600 18px/1.5 YSTBody,sans-serif; letter-spacing:-.02em; }
.shipment-steps { display:grid; gap:20px; margin:0; padding:0; list-style:none; counter-reset:shipment-step; }
.shipment-steps li { display:grid; grid-template-columns:28px minmax(0,1fr); column-gap:12px; counter-increment:shipment-step; }
.shipment-steps li::before { content:counter(shipment-step); grid-row:1/3; display:grid; place-items:center; align-self:start; width:28px; height:28px; border-radius:50%; background:#eaf2ff; color:#0057d9; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; }
.shipment-steps strong { font-size:14px; font-weight:600; line-height:1.7; }
.shipment-steps span { grid-column:2; margin-top:4px; color:#5d6880; font-size:14px; line-height:1.75; }
.shipment-help { margin-top:24px; border-top:1px solid #e2e8f0; color:#5d6880; font-size:14px; line-height:1.75; }
.shipment-help details { border-bottom:1px solid #e2e8f0; }
.shipment-help summary { min-height:48px; padding:12px 0; color:#182336; font-size:14px; font-weight:600; cursor:pointer; }
.shipment-help details p { margin:0 0 12px; }
.shipment-help a { display:inline-flex; align-items:center; min-height:44px; color:#0057d9; text-decoration:underline; text-underline-offset:3px; }
.shipment-contact { margin-top:24px; }
#shipment-tracking .shipment-contact h3 { margin-bottom:8px; font-size:16px; }
.shipment-contact p { margin:0 0 12px; color:#5d6880; font-size:14px; line-height:1.75; }
.shipment-contact-action { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; border-radius:10px; background:#eaf2ff; color:#0057d9; font-size:14px; font-weight:600; text-decoration:none; transition:background-color 160ms ease; }
.shipment-contact-action:hover { background:#dceaff; }
.shipment-reload:focus-visible,.shipment-help summary:focus-visible,.shipment-help a:focus-visible,.shipment-contact-action:focus-visible { outline:2px solid #182336; outline-offset:3px; }
body.storefront .topbar .header-contact.shipment-header-link { display:inline-flex; white-space:nowrap; }
body.storefront .topbar .header-contact.shipment-header-link.is-active { background:#0048b5; }
body.storefront .topbar #primaryNavigation .shipment-mobile-nav { display:none; }
.shipment-home-entry { display:none; }
.shipment-support-link { display:flex; align-items:center; gap:16px; max-width:720px; margin:0 0 28px; padding:16px 0; border-block:1px solid #e2e8f0; color:#0057d9; text-decoration:none; }
.shipment-support-link>.yst-icon { width:24px; height:24px; flex:0 0 24px; }
.shipment-support-link>.yst-icon:last-child { margin-left:auto; width:20px; height:20px; }
.shipment-support-link strong { display:block; font-size:16px; font-weight:600; }
.shipment-support-link small { display:block; margin-top:4px; color:#5d6880; font-size:14px; line-height:1.7; }
.shipment-support-link:hover strong { text-decoration:underline; text-underline-offset:3px; }
.shipment-order-entry { display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; margin:28px 0 0; padding-top:20px; border-top:1px solid #e2e8f0; font-size:14px; color:#5d6880; }
.shipment-order-entry a { display:inline-flex; align-items:center; min-height:44px; font-weight:600; color:#0057d9; text-underline-offset:3px; }
.shipment-header-link:focus-visible,.shipment-home-entry:focus-visible,.shipment-support-link:focus-visible,.shipment-order-entry a:focus-visible { outline:2px solid #182336; outline-offset:3px; }
.shipment-home-entry:hover strong { text-decoration:underline; text-underline-offset:3px; }
#shipmentTrackingTitle:focus { outline:none; }
@media(min-width:1101px) and (max-width:1390px) {
 body.storefront .topbar-inner { gap:8px; }
 body.storefront .topbar .header-contact.shipment-header-link { display:inline-flex; width:112px; min-width:112px; margin-left:0; padding:8px; font-size:14px; }
 body.storefront .shipment-header-link>.yst-icon { display:none; }
}
@media(max-width:1100px) {
 body.storefront .topbar .header-contact.shipment-header-link { display:none; }
 body.storefront .topbar #primaryNavigation .shipment-mobile-nav { display:flex; gap:12px; background:#eaf2ff; color:#0057d9; margin-bottom:8px; }
 body.storefront .shipment-mobile-nav>.yst-icon { width:22px; height:22px; flex:0 0 22px; }
 body.storefront #home .shipment-home-entry { display:flex; align-items:center; gap:12px; width:calc(100% - 32px); max-width:1280px; min-height:44px; margin:8px auto 0; padding:10px 0; border-bottom:1px solid #e2e8f0; color:#5d6880; font-size:14px; line-height:1.5; text-decoration:none; }
 .shipment-home-entry>.yst-icon { width:20px; height:20px; flex:0 0 20px; color:#0057d9; }
 .shipment-home-entry>.yst-icon:last-child { margin-left:auto; width:18px; height:18px; flex-basis:18px; }
 .shipment-home-entry strong { color:#0057d9; font-weight:600; }
}
@media(max-width:900px) {
 .shipment-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"hint" "task" "guide"; gap:16px; }
 .shipment-guide { padding-top:12px; max-width:70ch; }
 .shipment-steps { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
 .shipment-contact-action { width:auto; }
}
@media(max-width:600px) {
 #shipment-tracking.shipment-page { width:calc(100% - 32px); padding-block:24px 32px; }
 .shipment-heading { margin-bottom:20px; }
 .shipment-heading-icon { display:none; }
 .shipment-toolbar { padding:12px 16px; }
 .shipment-source { font-size:16px; }
 .shipment-frame-wrap { padding:16px 4px; }
 .shipment-frame { height:600px; }
 .shipment-code-hint { padding:12px; }
 .shipment-privacy { padding:12px 16px; }
 .shipment-steps { grid-template-columns:1fr; gap:16px; }
 .shipment-contact-action { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
 .shipment-reload,.shipment-contact-action { transition:none; }
}
