/* The four remote-area pages share the tool directory's restrained purple header. */
body[data-carrier] .hero{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:156px;background:radial-gradient(ellipse at 100% 0,#7934ae,transparent 65%),linear-gradient(120deg,#4d148c,#36105f)}
body[data-carrier] .hero>div:first-child{flex:1;min-width:0}
body[data-carrier] .carrier-switch a[aria-current="page"]{background:#f1e9fa;border-color:#4d148c;color:#4d148c;box-shadow:inset 0 -2px 0 #4d148c}
.remote-hero-brand{display:flex;flex:none;align-items:center;justify-content:center;gap:7px;width:145px;min-height:78px;padding:10px;border:1px solid #ffffff45;border-radius:15px;background:#ffffff15;color:#fff}
.remote-hero-brand img{display:block;width:48px;height:48px;object-fit:contain;border-radius:8px;background:#fff}
.remote-hero-brand b{font-size:21px;letter-spacing:-.03em}
.remote-hero-brand--all{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:152px}
.remote-hero-brand--all span{display:grid;place-items:center;min-height:27px;padding:2px;border-radius:6px;background:#fff;color:#4d148c;font-size:12px;font-weight:900}
.remote-hero-brand--all span:first-child{background:#ffcc00;color:#d40511}
.remote-hero-brand--all span:nth-child(2){color:#ff6600}
.remote-hero-brand--all span:nth-child(3){background:#e4bc67;color:#3d2918}
.remote-hero-brand--all span:nth-child(4){color:#e56620}
body[data-carrier] .query-panel .panel-head{padding-left:0}
body[data-carrier] .query-panel .panel-head::before{display:none}
.remote-panel-logo{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #e9e4f2;border-radius:10px;background:#fff}
.remote-panel-logo img{display:block;width:32px;height:32px;object-fit:contain}
.remote-panel-logo--all{grid-template-columns:repeat(2,1fr);gap:1px;padding:4px;background:#f6f1fb}
.remote-panel-logo--all span{display:grid;place-items:center;width:16px;height:15px;border-radius:2px;background:#fff;color:#4d148c;font-size:4px;font-weight:900}
.remote-panel-logo--all span:first-child{background:#ffcc00;color:#d40511}
/* Blend the hero mark into the banner; keep the query heading logos legible. */
body[data-carrier] .hero{position:relative;overflow:hidden}
.remote-hero-brand{width:auto;min-height:0;padding:0;border:0;border-radius:0;background:none;opacity:.19;pointer-events:none}
.remote-hero-brand img{display:none}
.remote-hero-brand b{font-size:clamp(54px,8vw,112px);line-height:1;font-weight:900;letter-spacing:-.08em;color:#fff}
.remote-hero-brand--all{display:grid;grid-template-columns:repeat(2,auto);gap:0 15px;width:auto}
.remote-hero-brand--all span{display:block;min-height:0;padding:0;border-radius:0;background:none!important;color:#fff!important;font-size:clamp(22px,3vw,38px);line-height:1.2;font-weight:900}
.remote-panel-logo--all{width:94px;height:44px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;border:0;background:transparent}
.remote-panel-logo--all span{width:auto;height:17px;border-radius:3px;font-size:9px;line-height:1;white-space:nowrap}
.remote-panel-logo--all span:nth-child(2){color:#f36b21}
.remote-panel-logo--all span:nth-child(3){color:#6b461e}
.remote-panel-logo--all span:nth-child(4){color:#e56620}
/* Use the homepage's slow violet/cyan outline on remote-query panels. */
@property --remote-line-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes remoteLineFlow{to{--remote-line-angle:360deg}}
.remote-hero-brand{transform:rotate(-10deg) skewX(-9deg);transform-origin:center center}
body[data-carrier] :is(.query-panel,.guide,#history-block,.remote-result-card){border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--remote-line-angle),#eae5f1 0deg,#eae5f1 240deg,#9564dd 280deg,#65d6dc 315deg,#eae5f1 355deg) border-box;animation:remoteLineFlow 7s linear infinite}
/* The DHL form uses an ID; the other three pages create their inputs in .apk-tool. */
body[data-carrier] #remote-form .field input,
body[data-carrier] .apk-tool :is(.country-input,.postal-input,.city-input){border:2px solid transparent!important;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--remote-line-angle),#d9c8e8 0deg,#d9c8e8 210deg,#7740b9 265deg,#25bcca 315deg,#d9c8e8 355deg) border-box!important;animation:remoteLineFlow 4.5s linear infinite}
body[data-carrier] #remote-form .field input:focus,
body[data-carrier] .apk-tool :is(.country-input,.postal-input,.city-input):focus{box-shadow:0 0 0 3px #8b58d329}
/* The empty-state instruction and lookup errors use a different result element from the carrier cards. */
body[data-carrier] #result.result,
body[data-carrier] .apk-tool .result:not(:empty):not(:has(.remote-result-card)){--remote-prompt-surface:#faf8fc;border:2px solid transparent!important;background:linear-gradient(var(--remote-prompt-surface),var(--remote-prompt-surface)) padding-box,conic-gradient(from var(--remote-line-angle),#d9c8e8 0deg,#d9c8e8 210deg,#7740b9 265deg,#25bcca 315deg,#d9c8e8 355deg) border-box!important;animation:remoteLineFlow 4.5s linear infinite}
body[data-carrier] #result.result.remote{--remote-prompt-surface:#fff2f2}
body[data-carrier] #result.result.normal{--remote-prompt-surface:#effaf1}
body[data-carrier] #result.result.unknown{--remote-prompt-surface:#fff9e9}
body[data-carrier] #result.result.error{--remote-prompt-surface:#fff5f5}
@media(prefers-reduced-motion:reduce){body[data-carrier] :is(.query-panel,.guide,#history-block,.remote-result-card,#result.result),body[data-carrier] #remote-form .field input,body[data-carrier] .apk-tool :is(.country-input,.postal-input,.city-input,.result:not(:empty)){animation:none!important}}
/* The smaller history cards and four carrier tabs carry a finer version of the same outline. */
body[data-carrier] :is(.history-item,.city-option,.carrier-switch a){border:1px solid transparent;background:linear-gradient(var(--remote-small-surface,#fff),var(--remote-small-surface,#fff)) padding-box,conic-gradient(from var(--remote-line-angle),#eae5f1 0deg,#eae5f1 250deg,#9564dd 285deg,#65d6dc 320deg,#eae5f1 355deg) border-box;animation:remoteLineFlow 7s linear infinite}
body[data-carrier] .carrier-switch a[aria-current="page"]{--remote-small-surface:#f1e9fa;border-color:transparent;background:linear-gradient(#f1e9fa,#f1e9fa) padding-box,conic-gradient(from var(--remote-line-angle),#eae5f1 0deg,#eae5f1 250deg,#9564dd 285deg,#65d6dc 320deg,#eae5f1 355deg) border-box}
body[data-carrier] :is(.history-item,.city-option,.carrier-switch a):hover{--remote-small-surface:#f7f1fc}
body[data-carrier] .remote-result-card--remote{--remote-result-surface:var(--remote-bg,#fff0f0)}
body[data-carrier] .remote-result-card--normal{--remote-result-surface:var(--normal-bg,#eaf7ed)}
body[data-carrier] .remote-result-card--unknown{--remote-result-surface:var(--unknown-bg,#f2f0f5)}
body[data-carrier] .remote-result-card{background:linear-gradient(var(--remote-result-surface,#fff),var(--remote-result-surface,#fff)) padding-box,conic-gradient(from var(--remote-line-angle),#eae5f1 0deg,#eae5f1 240deg,#9564dd 280deg,#65d6dc 315deg,#eae5f1 355deg) border-box}
@media(prefers-reduced-motion:reduce){body[data-carrier] :is(.history-item,.city-option,.carrier-switch a){animation:none}}
@media(max-width:600px){
 body[data-carrier] .hero{gap:10px;min-height:120px;padding:18px 16px}
 body[data-carrier] .hero h1{font-size:20px;line-height:1.25}
 body[data-carrier] .hero p{font-size:12px}
 .remote-hero-brand{width:68px;min-height:66px;padding:5px;flex-direction:column;gap:2px;border-radius:10px}
 .remote-hero-brand img{width:32px;height:32px}
 .remote-hero-brand b{font-size:10px}
 .remote-hero-brand--all{width:78px;min-height:64px;gap:3px;padding:5px}
 .remote-hero-brand--all span{min-height:23px;font-size:7px;padding:1px}
 .remote-panel-logo{width:36px;height:36px}
 .remote-panel-logo img{width:29px;height:29px}
 .remote-hero-brand{width:auto;min-height:0;padding:0;opacity:.15}
 .remote-hero-brand b{font-size:44px}
 .remote-hero-brand--all{width:auto;min-height:0;gap:1px 6px;padding:0}
 .remote-hero-brand--all span{min-height:0;font-size:16px;padding:0}
 .remote-panel-logo--all{width:88px;height:40px;padding:2px}
 .remote-panel-logo--all span{height:16px;font-size:8px}
}
