:root{
  --navy:#06255b;
  --navy-deep:#031735;
  --blue:#0b5fb7;
  --red:#e11b22;
  --white:#fff;
  --ice:#f5f7fa;
  --text:#10284f;
  --muted:#65758e;
  --line:#dbe4ef;
  --shadow:0 22px 60px rgba(5,31,72,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
.home-page{overflow-x:hidden}

.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  height:92px;display:grid;grid-template-columns:270px 1fr auto;align-items:center;
  gap:22px;padding:0 clamp(24px,4vw,64px);
  background:linear-gradient(180deg,rgba(2,22,50,.55),rgba(2,22,50,.05));
}

.site-header{
  transition:background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled{
  background:rgba(3,23,53,.94);
  box-shadow:0 8px 28px rgba(3,23,53,.2);
  backdrop-filter:blur(10px);
}

.brand{height:104px;display:flex;align-items:center;overflow:visible;min-width:285px}
.brand img{display:block;height:98px;width:auto;max-width:285px;object-fit:contain;object-position:center;image-rendering:auto}
.site-header nav{display:flex;justify-content:center;align-items:center;gap:clamp(20px,2.2vw,36px)}
.site-header nav a{font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#fff;padding:12px 0;text-shadow:0 1px 5px rgba(0,0,0,.18)}
.site-header nav a:hover,.site-header nav a:focus-visible{color:#ffd4d6}
.header-actions,.hero-actions{display:flex;align-items:center;gap:12px}
.btn{min-height:44px;padding:0 22px;border:1px solid transparent;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:850;letter-spacing:.02em;text-transform:uppercase;cursor:pointer;transition:.2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-red{background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(225,27,34,.2)}
.btn-red:hover{background:#c8151c}
.btn-ghost{color:var(--navy);background:#fff;border-color:#fff}
.btn-white{background:#fff;color:var(--navy)}
.btn-large{min-height:48px;padding:0 26px}
.menu-toggle{display:none;border:0;background:none;padding:8px}
.menu-toggle span{display:block;width:24px;height:2px;background:#fff;margin:5px 0}

.hero{position:relative;width:100%;min-height:630px;overflow:hidden;background:#193b62}
.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,23,53,.80) 0%,rgba(3,23,53,.55) 34%,rgba(3,23,53,.12) 67%,rgba(3,23,53,0) 82%)}
.hero-content{position:relative;z-index:2;max-width:620px;padding:142px 0 120px clamp(34px,4.6vw,68px);color:#fff}
.eyebrow{display:inline-flex;align-items:center;background:#fff;color:var(--navy);padding:8px 12px;font-size:12px;font-weight:900;letter-spacing:.08em;border-radius:3px}
.hero h1{font-size:clamp(54px,4.3vw,72px);line-height:.98;letter-spacing:-.035em;text-transform:uppercase;margin:20px 0;color:#fff}
.hero h1 span{color:var(--red)}
.hero p{max-width:530px;font-size:17px;line-height:1.62;margin:0 0 28px;color:rgba(255,255,255,.96)}

.utility-shell{position:relative;z-index:5;max-width:1280px;margin:-74px auto 0;padding:0 24px 88px}
.trust-bar{background:linear-gradient(100deg,#082d65,#0a4e9b);border-radius:12px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(3,1fr);color:#fff;overflow:hidden}
.trust-bar article{min-height:126px;padding:20px 30px;display:flex;align-items:center;gap:18px;position:relative}
.trust-bar article+article:before{content:"";position:absolute;left:0;top:26px;bottom:26px;width:1px;background:rgba(255,255,255,.3)}
.trust-icon{width:54px;height:54px;border:2px solid rgba(255,255,255,.82);border-radius:12px;display:grid;place-items:center;font-size:27px;flex:0 0 auto}
.trust-bar strong{display:block;font-size:27px;line-height:.95;text-transform:uppercase;letter-spacing:.01em}
.trust-bar .trust-number{font-size:50px;line-height:.78}
.trust-bar h3{font-size:15px;text-transform:uppercase;margin:3px 0 7px;letter-spacing:.02em}
.trust-bar p{font-size:12px;line-height:1.45;margin:0;color:rgba(255,255,255,.84)}

.rate-panel{background:#fff;display:grid;grid-template-columns:1.15fr 1fr 1fr 1.25fr auto;gap:18px;align-items:end;padding:28px 26px;border-radius:0 0 10px 10px;box-shadow:0 16px 40px rgba(6,37,91,.08)}
.rate-intro h2{margin:0;color:var(--navy);font-size:20px;line-height:1.1;text-transform:uppercase}
.rate-intro p{color:var(--muted);line-height:1.55;margin:8px 0 0;font-size:13px}
.rate-panel label{font-size:12px;font-weight:800;color:var(--navy)}
.rate-panel select,.rate-panel input{width:100%;height:46px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--text);padding:0 12px;margin-top:8px;outline:none}
.weight-group{display:grid;grid-template-columns:1fr 76px}.weight-group input{border-radius:4px 0 0 4px}.weight-group select{border-left:0;border-radius:0 4px 4px 0}
.btn-calculate{height:46px;white-space:nowrap}
.rate-panel output{grid-column:1/-1;color:var(--red);font-weight:800;font-size:13px}

.benefit-row{background:#fff;border-radius:10px;box-shadow:0 12px 36px rgba(6,37,91,.07);display:grid;grid-template-columns:repeat(5,1fr);margin-top:16px;padding:20px 10px}
.benefit-row article{min-height:92px;padding:10px 18px;display:flex;align-items:center;gap:13px;position:relative}
.benefit-row article+article:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:1px;background:#dfe6ef}
.benefit-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:22px;flex:0 0 auto}.benefit-icon.blue{background:#0c62bd}.benefit-icon.red{background:var(--red)}
.benefit-row h3{font-size:14px;margin:0 0 6px;color:var(--navy)}
.benefit-row p{font-size:11px;line-height:1.45;margin:0;color:var(--muted)}

.section-pad{padding:86px clamp(24px,6vw,88px)}
.section-copy.centered{text-align:center;max-width:650px;margin:0 auto 50px}
.section-copy h2{margin:0;color:var(--navy);font-size:36px;text-transform:uppercase;letter-spacing:-.02em}.section-copy h2:after{content:"";display:block;width:52px;height:3px;background:var(--red);margin:13px auto 0}.section-copy p{color:var(--muted);line-height:1.65;margin:10px 0 0}
.process{background:#fff}
.process-grid{display:grid;grid-template-columns:1fr 55px 1fr 55px 1fr 55px 1fr;align-items:center;max-width:1160px;margin:0 auto}
.process-grid article{text-align:center;position:relative;padding:0 14px}.step{position:absolute;left:17%;top:0;width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:850;z-index:2}.red-step{background:var(--red)}
.process-icon{width:96px;height:96px;border-radius:50%;background:#e9eff8;display:grid;place-items:center;font-size:43px;margin:14px auto 20px}.red-tint{background:#fde9ea}
.process-grid h3{font-size:15px;color:var(--navy);text-transform:uppercase;margin:0 0 8px}.process-grid p{font-size:12px;line-height:1.55;color:var(--muted);margin:0}.arrow{text-align:center;color:#c9d1dc;font-size:34px}

.tracking-band{max-width:1280px;margin:0 auto 80px;padding:30px 34px;border-radius:10px;background:linear-gradient(110deg,var(--navy),#0a4e9b);display:grid;grid-template-columns:.7fr 1.3fr;align-items:center;gap:40px;color:#fff;box-shadow:var(--shadow)}
.tracking-copy h2{margin:0;text-transform:uppercase;font-size:21px}.tracking-copy p{color:rgba(255,255,255,.8);font-size:13px;line-height:1.55;margin:8px 0 0}
.tracking-band form{display:grid;grid-template-columns:1fr auto;gap:14px}.tracking-band input{height:52px;border:0;border-radius:5px;padding:0 16px;outline:none;color:var(--text);min-width:0}.tracking-band .btn{min-width:200px}
#tracking-result{grid-column:1/-1;color:#fff;font-weight:750;margin:2px 8px 0;font-size:12px}

.faq{background:var(--ice)}.faq-list{max-width:900px;margin:0 auto}.faq details{background:#fff;border:1px solid #e2eaf3;border-radius:8px;margin:12px 0;padding:20px 22px}.faq summary{cursor:pointer;font-weight:850;color:var(--navy);list-style:none;display:flex;justify-content:space-between;gap:20px}.faq summary:after{content:"+";color:var(--red);font-size:20px}.faq details[open] summary:after{content:"−"}.faq details p{color:var(--muted);line-height:1.65;margin:14px 0 0}

footer{background:#fff;color:var(--navy);padding:54px clamp(24px,6vw,88px) 22px;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:46px;border-top:1px solid #e4e9f0}
.footer-brand img{max-width:235px;max-height:150px;object-fit:contain;display:block;margin-bottom:16px}.footer-brand p{color:var(--muted);max-width:300px;line-height:1.55;font-size:13px}footer h4{margin:0 0 16px;font-size:13px;text-transform:uppercase}footer a,footer p{display:block;color:#465c7c;margin:9px 0;font-size:13px}footer a:hover{color:var(--red)}.copyright{grid-column:1/-1;border-top:1px solid #e2e8f0;padding-top:20px;margin:8px 0 0;text-align:center;color:#6c7b91;font-size:12px}

@media(max-width:1120px){
  .site-header{grid-template-columns:235px 1fr auto;padding:0 24px}.brand{min-width:235px}.brand img{height:90px;max-width:235px}.site-header nav{gap:19px}.site-header nav a{font-size:11px}.rate-panel{grid-template-columns:1fr 1fr 1fr}.rate-intro{grid-column:1/-1}.btn-calculate{grid-column:1/-1}.benefit-row{grid-template-columns:repeat(3,1fr)}.benefit-row article:nth-child(4):before{display:none}
}
@media(max-width:860px){
  .site-header{height:78px;grid-template-columns:1fr auto;padding:0 18px;background:linear-gradient(180deg,rgba(3,23,53,.62),rgba(3,23,53,.08))}.brand{height:72px;min-width:0}.brand img{height:68px;max-width:190px}.site-header nav,.header-actions{display:none}.menu-toggle{display:block}.site-header.open nav{display:flex;position:absolute;left:16px;right:16px;top:70px;background:#fff;border-radius:10px;padding:18px;flex-direction:column;align-items:stretch;box-shadow:var(--shadow)}.site-header.open nav a{text-align:center;color:var(--navy)}
  .hero{min-height:690px}.hero-content{padding:130px 28px 120px;max-width:590px}.hero h1{font-size:52px}.hero-image{object-position:58% center}.hero-shade{background:linear-gradient(90deg,rgba(3,23,53,.84),rgba(3,23,53,.5) 65%,rgba(3,23,53,.1))}
  .trust-bar{grid-template-columns:1fr}.trust-bar article+article:before{left:28px;right:28px;top:0;bottom:auto;width:auto;height:1px}.rate-panel{grid-template-columns:1fr 1fr}.benefit-row{grid-template-columns:1fr 1fr}.benefit-row article:nth-child(odd):before{display:none}.process-grid{grid-template-columns:1fr 1fr;gap:30px}.arrow{display:none}.tracking-band{margin:0 22px 70px;grid-template-columns:1fr}.tracking-band form{grid-template-columns:1fr auto}footer{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}
}
@media(max-width:580px){
  .hero{min-height:650px}.hero-content{padding:116px 20px 116px}.hero h1{font-size:42px}.hero p{font-size:15px}.hero-actions{flex-direction:column;align-items:stretch;max-width:230px}.hero-image{object-position:64% center}.utility-shell{margin:-54px auto 0;padding:0 12px 60px}.trust-bar article{padding:18px}.trust-bar .trust-number{font-size:44px}.rate-panel{grid-template-columns:1fr;padding:22px}.benefit-row{grid-template-columns:1fr}.benefit-row article+article:before{left:18px;right:18px;top:0;bottom:auto;width:auto;height:1px}.section-pad{padding:64px 18px}.process-grid{grid-template-columns:1fr}.tracking-band{margin:0 12px 60px;padding:26px 20px}.tracking-band form{grid-template-columns:1fr}.tracking-band .btn{min-width:0}.footer-brand img{max-width:210px}footer{grid-template-columns:1fr;padding:42px 20px 22px}.footer-brand{grid-column:auto}.copyright{grid-column:1}
}

/* Existing portal/auth pages */
.portal-body{display:flex;min-height:100vh;background:#eef2f7}.sidebar{width:250px;background:var(--navy);color:#fff;padding:25px 18px;position:fixed;inset:0 auto 0 0}.sidebar .brand{min-width:0;margin-bottom:35px}.sidebar .brand img{width:150px;height:90px;object-fit:contain}.sidebar nav a{display:block;padding:13px 15px;border-radius:6px;color:#d9e5f6;font-size:13px;margin:5px 0}.sidebar nav a.active,.sidebar nav a:hover{background:#0d4389;color:#fff}.portal-main{margin-left:250px;width:calc(100% - 250px);padding:30px}.portal-top{display:flex;justify-content:space-between;align-items:center}.portal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:28px 0}.stat-card,.panel{background:#fff;border-radius:10px;padding:22px;box-shadow:0 8px 25px rgba(6,37,91,.08)}.stat-card strong{font-size:30px;color:var(--navy);display:block;margin-top:8px}.panel{margin:20px 0}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:13px;border-bottom:1px solid #e7ebf1;font-size:13px}.badge{padding:5px 9px;border-radius:20px;background:#e7f0ff;color:#0753a6;font-size:11px;font-weight:800}.badge.ready{background:#e5f8ea;color:#16843a}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.auth-visual{background:url('assets/mile-i-hero.webp') center/cover;position:relative}.auth-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,26,67,.75),rgba(3,26,67,.2))}.auth-card{padding:60px;display:flex;flex-direction:column;justify-content:center}.auth-card .brand{margin-bottom:40px}.auth-card h1{font-size:34px;color:var(--navy)}.auth-card input{height:48px;border:1px solid #d3dbe7;padding:12px;border-radius:5px;margin:8px 0;width:100%}

@media(max-width:1120px){
  .site-header{grid-template-columns:235px 1fr auto;padding:0 28px;gap:16px}.brand{min-width:235px}.brand img{height:90px;max-width:235px}.site-header nav{gap:18px}.site-header nav a{font-size:11px}.rate-panel{grid-template-columns:1fr 1fr 1fr}.rate-intro{grid-column:1/-1}.promise-grid{grid-template-columns:1fr}.experience-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .site-header{position:absolute;height:82px;grid-template-columns:1fr auto;padding:0 18px}.brand{height:76px;min-width:0}.brand img{height:70px;max-width:195px}.site-header nav,.header-actions{display:none}.menu-toggle{display:block}.site-header.open nav{display:flex;position:absolute;left:16px;right:16px;top:76px;background:#fff;border-radius:14px;padding:20px;flex-direction:column;align-items:stretch;box-shadow:var(--shadow)}.site-header.open nav a{text-align:center}.hero{min-height:760px}.hero-content{padding:150px 28px 100px;max-width:570px}.hero h1{font-size:54px}.hero-image{object-position:60% center}.hero-shade{background:linear-gradient(90deg,rgba(3,23,53,.82),rgba(3,23,53,.44) 64%,rgba(3,23,53,.18))}.rate-panel{grid-template-columns:1fr 1fr}.btn-calculate{grid-column:1/-1}.tracking-band,.why{grid-template-columns:1fr}.why-visual{height:420px}.tracking-band{padding:40px}.contact{flex-direction:column;align-items:flex-start}.portal-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:580px){
  .hero{min-height:730px}.hero-content{padding:128px 20px 80px}.hero h1{font-size:42px}.hero p{font-size:15px}.hero-actions,.hero-trust{gap:10px}.hero-actions{flex-direction:column;align-items:stretch;max-width:230px}.hero-image{object-position:66% center}.utility-shell{margin:-32px auto 0;padding:0 14px 60px}.rate-panel{grid-template-columns:1fr;padding:22px}.promise-grid article{padding:20px}.section-pad{padding:72px 20px}.experience-grid{grid-template-columns:1fr}.tracking-band{margin:0 14px;padding:30px 22px}.tracking-band form{grid-template-columns:1fr}.why{gap:36px}.why-visual{height:320px}.contact{padding:56px 20px}.contact-actions{width:100%;flex-direction:column}.contact-actions .btn{width:100%}footer{grid-template-columns:1fr 1fr;padding:50px 20px 24px}.footer-brand{grid-column:1/-1}.sidebar{width:76px}.sidebar nav a{font-size:0}.portal-main{margin-left:76px;width:calc(100% - 76px);padding:18px}.portal-grid{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-visual{display:none}.auth-card{padding:35px 22px}
}


/* v12 hero treatment
   Desktop/laptop: preserve the complete 3:2 hero image with no blurred side fill.
   Mobile: display the full image first, then place the hero copy below it for readability. */
.hero{
  position:relative;
  width:100%;
  min-height:0;
  aspect-ratio:3 / 2;
  overflow:hidden;
  background:#0b315b;
}
.hero::before{display:none}
.hero-image{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
  background:#0b315b;
}
.hero-shade{
  z-index:1;
  background:linear-gradient(90deg,rgba(3,23,53,.82) 0%,rgba(3,23,53,.55) 31%,rgba(3,23,53,.16) 58%,rgba(3,23,53,0) 77%);
}
.hero-content{
  z-index:2;
  max-width:620px;
  padding-top:clamp(140px,12vw,180px);
  padding-bottom:80px;
}

/* Preserve the complete image at standard Chrome 100% zoom on common desktop widths. */
@media (min-width:861px){
  .hero{
    min-height:auto;
    aspect-ratio:3 / 2;
  }
  .hero-image{
    object-fit:contain;
    object-position:center top;
  }
}

/* Mobile layout: show the entire landscape photo without cropping, then keep copy readable below it. */
@media (max-width:860px){
  .site-header{
    position:fixed;
  }
  .hero{
    aspect-ratio:auto;
    min-height:0;
    padding-top:78px;
    background:#082a59;
    overflow:visible;
  }
  .hero-image{
    position:relative;
    inset:auto;
    width:100%;
    height:auto;
    aspect-ratio:3 / 2;
    object-fit:contain;
    object-position:center center;
    background:#082a59;
  }
  .hero-shade{
    display:none;
  }
  .hero-content{
    position:relative;
    max-width:none;
    padding:34px 24px 112px;
    background:linear-gradient(135deg,#06255b,#0a4e9b);
  }
  .hero h1{
    font-size:clamp(42px,12vw,56px);
  }
  .utility-shell{
    margin-top:-72px;
  }
}

@media (max-width:580px){
  .hero-content{
    padding:30px 20px 104px;
  }
  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .hero-actions .btn{
    width:100%;
  }
}

/* V14 targeted refinements */
.site-header .brand{height:90px;min-width:250px}
.site-header .brand img{height:82px;max-width:250px}

/* More inviting footer: deep ocean teal-blue, complementary to the brand and not red. */
footer{background:#073b4c}

/* Services */
.services{background:#f7f9fc}
.section-kicker{display:inline-block;color:var(--red);font-size:12px;font-weight:900;letter-spacing:.16em;margin-bottom:8px}
.service-grid{max-width:1296px;margin:34px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service-grid article{background:#fff;border:1px solid #e3eaf3;border-radius:14px;padding:28px;box-shadow:0 12px 32px rgba(6,37,91,.07);transition:.2s ease}
.service-grid article:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(6,37,91,.12)}
.service-icon{width:52px;height:52px;border-radius:14px;background:#e7f1ff;color:var(--blue);display:grid;place-items:center;font-size:25px;margin-bottom:18px}
.service-grid h3{margin:0 0 9px;color:var(--navy);font-size:19px}
.service-grid p{margin:0 0 16px;color:var(--muted);line-height:1.65}
.service-grid a{color:var(--red);font-weight:850;font-size:12px;text-transform:uppercase;letter-spacing:.04em}

/* Rate table */
.rate-table-card{background:#fff;border-radius:12px;box-shadow:var(--shadow);margin-top:22px;padding:30px}
.rate-table-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:22px}
.rate-table-heading h2{margin:3px 0 5px;color:var(--navy);font-size:27px}
.rate-table-heading p{margin:0;color:var(--muted)}
.btn-outline{background:#fff;color:var(--navy);border-color:#9fb0c6}
.rate-table-wrap{overflow-x:auto;border:1px solid #e1e8f0;border-radius:10px}
.public-rate-table{width:100%;border-collapse:collapse;min-width:760px}
.public-rate-table th,.public-rate-table td{padding:16px 18px;text-align:left;border-bottom:1px solid #e5ebf2;font-size:14px}
.public-rate-table th{background:#eef4fa;color:var(--navy);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.public-rate-table tr:last-child td{border-bottom:0}
.rate-note{color:var(--muted);font-size:12px;margin:14px 0 0}

/* FAQ cargo invitation */
.faq-cargo-card{max-width:1120px;margin:42px auto 0;display:grid;grid-template-columns:1.1fr .9fr;border-radius:18px;overflow:hidden;background:#073b4c;box-shadow:var(--shadow)}
.faq-cargo-card img{width:100%;height:100%;min-height:300px;object-fit:cover;object-position:center}
.faq-cargo-copy{padding:42px;color:#fff;display:flex;flex-direction:column;justify-content:center}
.faq-cargo-copy h3{font-size:30px;line-height:1.15;margin:4px 0 12px}
.faq-cargo-copy p{color:#d9edf1;line-height:1.7;margin:0 0 22px}
.faq-cargo-actions{display:flex;gap:12px}

/* Portal tabs and working views */
.portal-nav a{cursor:pointer}
.portal-view{display:none}
.portal-view.active{display:block}
.portal-form{max-width:780px;display:grid;grid-template-columns:1fr 1fr;gap:18px}
.portal-form label{display:flex;flex-direction:column;gap:7px;font-weight:750;color:var(--navy);font-size:13px}
.portal-form input,.portal-form select,.portal-search{height:46px;border:1px solid #cfd9e6;border-radius:6px;padding:0 12px;background:#fff}
.portal-form button,.portal-form .form-result{grid-column:1/-1}
.form-result{color:#16843a;font-weight:750}
.timeline p,.notification-list p{padding:15px;border-left:4px solid var(--blue);background:#f5f8fc;border-radius:5px}
.table-action{border:0;background:#e8f1fb;color:var(--navy);font-weight:800;padding:7px 10px;border-radius:5px;cursor:pointer}
.portal-search{width:min(420px,100%);margin-bottom:18px}
@media(max-width:860px){
  .site-header .brand{height:70px;min-width:0}
  .site-header .brand img{height:62px;max-width:178px}
  .service-grid{grid-template-columns:1fr 1fr}
  .faq-cargo-card{grid-template-columns:1fr}.faq-cargo-card img{min-height:260px}
  .portal-form{grid-template-columns:1fr}
}
@media(max-width:580px){
  .service-grid{grid-template-columns:1fr}
  .rate-table-heading{align-items:flex-start;flex-direction:column}
  .faq-cargo-copy{padding:30px 22px}.faq-cargo-actions{flex-direction:column}
}

/* V15 feature-parity enhancements — original Mile I visual identity preserved */
.advanced-calculator{grid-template-columns:1.25fr repeat(5,minmax(120px,1fr)) auto;align-items:end}
.advanced-calculator .rate-intro{min-width:220px}
.dimension-group{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.dimension-group input{width:100%}
.payment-strip{max-width:1296px;margin:0 auto 28px;padding:34px 38px;background:linear-gradient(135deg,#073b4c,#0a5d73);color:#fff;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:var(--shadow)}
.payment-strip h2{margin:4px 0 8px;font-size:28px}.payment-strip p{margin:0;color:#d9edf1}
.payment-methods{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.payment-methods span{padding:10px 14px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:rgba(255,255,255,.08);font-size:13px;font-weight:800}
.contact-section{background:#eef4f8}.contact-card{max-width:1180px;margin:auto;display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;background:#fff;border-radius:18px;padding:42px;box-shadow:var(--shadow)}
.contact-copy h2{font-size:34px;color:var(--navy);margin:4px 0 12px}.contact-copy p{color:var(--muted);line-height:1.7}.contact-copy ul{list-style:none;padding:0;margin:22px 0 0}.contact-copy li{padding:10px 0;border-bottom:1px solid #e5ebf2}
.contact-form{display:grid;gap:16px}.contact-form label,.auth-form label{display:flex;flex-direction:column;gap:7px;font-weight:750;color:var(--navy);font-size:13px}.contact-form input,.contact-form select,.contact-form textarea,.auth-form input,.auth-form select{border:1px solid #cfd9e6;border-radius:7px;padding:12px;background:#fff;font:inherit}.contact-form textarea{resize:vertical}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-three{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.auth-page{min-height:100vh;background:linear-gradient(135deg,#eef4f8,#dfeaf2);padding:34px 18px}.auth-shell{max-width:560px;margin:auto;background:#fff;border-radius:18px;padding:34px;box-shadow:var(--shadow)}.auth-wide{max-width:900px}.auth-logo{display:flex;justify-content:center;margin-bottom:18px}.auth-logo img{max-width:260px;height:auto}.auth-heading{text-align:center;margin-bottom:24px}.auth-heading h1{margin:4px 0 8px;color:var(--navy);font-size:32px}.auth-heading p{margin:0;color:var(--muted)}.auth-form{display:grid;gap:18px}.auth-form fieldset{border:1px solid #e1e8f0;border-radius:12px;padding:20px;display:grid;gap:14px}.auth-form legend{font-weight:900;color:var(--navy);padding:0 8px}.check-row{flex-direction:row!important;align-items:flex-start}.check-row input{width:auto;margin-top:3px}.auth-switch,.auth-note{text-align:center;color:var(--muted)}.password-row{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid #cfd9e6;border-radius:7px;overflow:hidden}.password-row input{border:0!important}.password-row a{padding:0 12px;font-size:12px;font-weight:800;color:var(--blue)}
.info-page{background:#f5f8fb;color:#1d2b3a}.simple-header{height:92px;padding:0 6vw;background:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 4px 20px rgba(3,23,53,.08)}.simple-header img{height:78px;width:auto}.info-shell{max-width:920px;margin:50px auto;padding:0 22px}.info-shell h1{font-size:42px;color:var(--navy);margin:4px 0 26px}.info-shell section{background:#fff;border-radius:14px;padding:28px;margin-bottom:18px;box-shadow:0 8px 26px rgba(3,23,53,.07)}.info-shell h2{color:var(--navy);margin-top:0}.info-shell li,.info-shell p{line-height:1.75}.simple-footer{background:#073b4c;color:#fff;text-align:center;padding:24px}
@media(max-width:1180px){.advanced-calculator{grid-template-columns:repeat(3,1fr)}.advanced-calculator .rate-intro,.advanced-calculator output{grid-column:1/-1}.contact-card{grid-template-columns:1fr}}
@media(max-width:760px){.advanced-calculator{grid-template-columns:1fr}.payment-strip{flex-direction:column;align-items:flex-start}.payment-methods{justify-content:flex-start}.form-two,.form-three{grid-template-columns:1fr}.auth-shell{padding:24px 18px}.contact-card{padding:28px 20px}}

/* V16: Restore clean white footer */
footer{
  background:#ffffff !important;
  color:#06255B !important;
  border-top:1px solid #dfe7f0;
}
footer h4{color:#06255B !important}
footer a{color:#4b5f75 !important}
footer a:hover{color:#D71920 !important}
footer .footer-note, footer p{color:#6b7d90 !important}
footer .footer-bottom{
  border-top:1px solid #e3eaf2 !important;
  color:#6b7d90 !important;
}

/* V16: Desktop-first split authentication pages */
.auth-page{
  min-height:100vh;
  margin:0;
  background:#eef4f8;
  padding:0;
  display:flex;
  align-items:stretch;
  justify-content:center;
}
.auth-layout{
  width:100%;
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(420px, 0.95fr) minmax(520px, 1.05fr);
}
.auth-visual{
  position:relative;
  overflow:hidden;
  min-height:100vh;
  background:#06255B;
}
.auth-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.auth-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(3,23,53,.08),rgba(3,23,53,.50));
}
.auth-visual-copy{
  position:absolute;
  z-index:2;
  left:clamp(28px,5vw,70px);
  right:clamp(28px,5vw,70px);
  bottom:clamp(34px,6vw,72px);
  color:#fff;
}
.auth-visual-copy .section-kicker{color:#fff}
.auth-visual-copy h2{
  margin:8px 0 12px;
  font-size:clamp(34px,4vw,58px);
  line-height:1.02;
}
.auth-visual-copy p{
  margin:0;
  max-width:540px;
  line-height:1.7;
  color:rgba(255,255,255,.88);
}
.auth-panel{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px clamp(26px,5vw,74px);
  background:#fff;
}
.auth-shell{
  width:min(100%,680px);
  max-width:none;
  margin:0;
  padding:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
.auth-wide{width:min(100%,820px)}
.auth-logo{
  justify-content:flex-start;
  margin-bottom:22px;
}
.auth-logo img{
  max-width:260px;
  height:auto;
}
.auth-heading{text-align:left;margin-bottom:26px}
.auth-heading h1{
  font-size:clamp(34px,4vw,52px);
  line-height:1.05;
}
.auth-heading p{font-size:16px;line-height:1.65}
.auth-form fieldset{
  background:#f9fbfd;
}
.auth-switch,.auth-note{text-align:left}
.auth-panel .btn{width:100%}
.auth-panel .form-two,
.auth-panel .form-three{
  gap:16px;
}
.auth-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
  color:#06255B;
  font-size:13px;
  font-weight:800;
}
.auth-back:hover{color:#D71920}
@media(max-width:980px){
  .auth-layout{grid-template-columns:1fr}
  .auth-visual{
    min-height:360px;
    height:42vh;
  }
  .auth-panel{
    min-height:auto;
    padding:42px 24px 56px;
  }
}
@media(max-width:620px){
  .auth-visual{
    min-height:280px;
    height:34vh;
  }
  .auth-visual-copy{
    left:22px;right:22px;bottom:24px;
  }
  .auth-visual-copy h2{font-size:34px}
  .auth-panel{padding:30px 18px 42px}
  .auth-logo img{max-width:210px}
  .auth-heading h1{font-size:34px}
  .auth-form fieldset{padding:16px}
}

/* V17: Dashboard, calculator and contact improvements */
.dashboard-button{
  min-width:112px;
  justify-content:center;
}

/* Calculator */
.calculator-shell{
  max-width:1050px;
  margin:28px auto 0;
}
.calculator-heading{
  text-align:center;
  margin-bottom:24px;
}
.calculator-heading h2{
  color:var(--navy);
  font-size:clamp(30px,4vw,44px);
  margin:4px 0 8px;
}
.calculator-heading p{
  color:var(--muted);
  margin:0;
}
.package-details-card{
  background:#fff;
  border:1px solid #dfe7f0;
  border-radius:16px;
  padding:30px;
  box-shadow:0 18px 46px rgba(6,37,91,.10);
}
.package-details-title{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:20px;
  margin-bottom:22px;
  border-bottom:1px solid #e5ebf2;
}
.package-details-icon{
  width:54px;
  height:54px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#e9f2fb;
  font-size:26px;
}
.package-details-title h3{
  margin:0 0 4px;
  color:var(--navy);
  font-size:23px;
}
.package-details-title p{
  margin:0;
  color:var(--muted);
}
.package-details-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 22px;
}
.package-details-grid > label,
.dimension-group label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--navy);
  font-size:13px;
  font-weight:800;
}
.package-details-grid label span{
  color:var(--red);
}
.package-details-grid input,
.package-details-grid select{
  width:100%;
  min-height:48px;
  border:1px solid #cbd7e5;
  border-radius:7px;
  padding:0 13px;
  background:#fff;
  color:#1c2d40;
  font:inherit;
}
.calculator-dimensions{
  grid-column:1/-1;
  padding:18px;
  background:#f6f9fc;
  border:1px solid #e3eaf2;
  border-radius:10px;
}
.calculator-dimension-heading{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
  color:var(--navy);
}
.calculator-dimension-heading span{
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}
.calculator-submit{
  width:100%;
  min-height:52px;
  margin-top:22px;
  font-size:14px;
}
.calculator-result{
  display:block;
  margin-top:14px;
  min-height:22px;
  color:#0b6a3c;
  font-weight:850;
  text-align:center;
}

/* Contact section */
.contact-heading{
  max-width:720px;
  margin:0 auto 30px;
}
.contact-heading h2{
  color:var(--navy);
  font-size:clamp(32px,4vw,46px);
  margin:4px 0 8px;
}
.contact-card-expanded{
  grid-template-columns:.9fr 1.1fr;
  padding:0;
  overflow:hidden;
}
.contact-card-expanded .contact-copy{
  padding:42px;
  background:linear-gradient(155deg,#f2f7fb,#ffffff);
}
.contact-logo{
  width:min(250px,80%);
  height:auto;
  display:block;
  margin-bottom:20px;
}
.contact-copy h3{
  margin:0 0 9px;
  color:var(--navy);
  font-size:25px;
}
.contact-details-list{
  display:grid;
  gap:12px;
  margin-top:24px;
}
.contact-details-list a{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:13px;
  border:1px solid #dfe7f0;
  border-radius:10px;
  background:#fff;
  color:#30475f;
}
.contact-details-list strong{
  display:block;
  color:var(--navy);
  margin-bottom:3px;
}
.contact-detail-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  border-radius:9px;
  background:#e9f2fb;
  color:var(--blue);
  font-weight:900;
}
.contact-social{
  margin-top:26px;
}
.contact-social > strong{
  display:block;
  color:var(--navy);
  margin-bottom:12px;
}
.social-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.social-button{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:0 15px;
  border-radius:8px;
  color:#fff;
  font-size:13px;
  font-weight:850;
}
.social-button svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.social-button.instagram{
  background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
}
.social-button.whatsapp{
  background:#168f52;
}
.contact-form-panel{
  padding:42px;
}
.contact-form-panel h3{
  margin:0 0 7px;
  color:var(--navy);
  font-size:28px;
}
.contact-form-panel > p{
  margin:0 0 22px;
  color:var(--muted);
}
.contact-response-note{
  margin-top:12px!important;
  font-size:12px;
}

/* Centered customer utility links */
.portal-links-bar{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:11px;
  padding:20px 18px;
  border-top:1px solid #e2e9f1;
  border-bottom:1px solid #e2e9f1;
  background:#fff;
}
.portal-links-bar a{
  color:var(--navy);
  font-size:13px;
  font-weight:850;
}
.portal-links-bar a:hover{
  color:var(--red);
}
.portal-links-bar span{
  color:#9aacbe;
}

@media(max-width:980px){
  .contact-card-expanded{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .package-details-card{
    padding:22px 18px;
  }
  .package-details-grid{
    grid-template-columns:1fr;
  }
  .calculator-dimensions{
    grid-column:auto;
  }
  .calculator-dimension-heading{
    flex-direction:column;
  }
  .dimension-group{
    grid-template-columns:1fr;
  }
  .contact-card-expanded .contact-copy,
  .contact-form-panel{
    padding:30px 22px;
  }
}

/* V19 interactive courier platform */
.calculator-pro{padding-top:56px}
.quote-workspace{max-width:1180px;margin:34px auto 0;display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:stretch}
.quote-form-card,.quote-result-card,.rate-explorer{background:#fff;border:1px solid #dfe7f0;border-radius:18px;box-shadow:0 18px 50px rgba(6,37,91,.09)}
.quote-form-card{padding:28px}
.quote-card-head{display:flex;gap:14px;align-items:center;margin-bottom:22px}
.quote-card-head h3{margin:0;color:var(--navy);font-size:24px}.quote-card-head p{margin:3px 0 0;color:var(--muted)}
.quote-step{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e9f2fb;color:var(--blue);font-weight:900}
.service-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}
.service-choice{min-height:48px;border:1px solid #cbd7e5;background:#f8fafc;border-radius:9px;color:var(--navy);font-weight:900;cursor:pointer}
.service-choice.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.quote-grid label,.dimension-group label{display:grid;gap:7px;color:var(--navy);font-size:12px;font-weight:900}
.quote-grid input,.quote-grid select,.dimension-group input{width:100%;min-height:48px;border:1px solid #cbd7e5;border-radius:8px;padding:0 12px;background:#fff}
.input-with-unit{display:flex;align-items:center;border:1px solid #cbd7e5;border-radius:8px;overflow:hidden;background:#fff}
.input-with-unit input{border:0;border-radius:0}.input-with-unit b{padding:0 12px;color:#526579;font-size:12px}
.dimension-toggle{margin:18px 0 12px;border:0;background:transparent;color:var(--blue);font-weight:900;cursor:pointer;padding:0}
.dimension-toggle small{font-weight:500;color:var(--muted)}
.dimension-panel{padding:16px;background:#f7f9fc;border-radius:10px;margin-bottom:16px}
.dimension-group{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.calculator-submit{width:100%;min-height:52px;margin-top:8px}
.quote-result-card{padding:30px;background:linear-gradient(150deg,#06255B,#0A4E9B);color:#fff;position:relative;overflow:hidden}
.quote-result-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.06);right:-80px;top:-80px}
.result-step{background:rgba(255,255,255,.14);color:#fff;margin-bottom:24px}
.quote-result-card>small{color:#bcd2e9;font-weight:900;letter-spacing:.08em}
.estimate-total{font-size:48px;font-weight:950;margin:8px 0 2px}.estimate-caption{color:#c8d9eb;margin-top:0}
.estimate-breakdown{margin:26px 0;border-top:1px solid rgba(255,255,255,.18)}
.estimate-breakdown div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.13);font-size:13px}
.estimate-breakdown span{color:#c8d9eb}.estimate-notice{font-size:12px;line-height:1.5;padding:13px;background:rgba(255,255,255,.1);border-radius:9px}
.compact-result{margin-top:12px;color:#fff}
.rate-explorer{max-width:1180px;margin:24px auto 0;padding:28px}
.rate-explorer-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.rate-explorer-head h2{margin:4px 0;color:var(--navy)}
.rate-tabs{display:flex;gap:8px}.rate-tab{border:1px solid #cbd7e5;background:#fff;border-radius:999px;padding:10px 16px;font-weight:900;color:var(--navy);cursor:pointer}.rate-tab.active{background:var(--navy);color:#fff}
.rate-panel{display:none}.rate-panel.active{display:block}.rate-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}
.rate-cards article{padding:22px;border:1px solid #e0e8f1;border-radius:13px;background:#f9fbfd}.rate-cards span{font-size:11px;font-weight:900;color:var(--red);letter-spacing:.08em}.rate-cards strong{display:block;color:var(--navy);font-size:20px;margin:6px 0}.rate-cards p{color:var(--muted);margin:0;line-height:1.55}
.shipping-journey{background:#f7f9fc}.journey-track{max-width:1180px;margin:34px auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.journey-step{background:#fff;border:1px solid #e0e8f1;border-radius:14px;padding:22px;display:flex;gap:14px;transition:.25s ease;cursor:default}.journey-step:hover,.journey-step.active{transform:translateY(-5px);box-shadow:0 16px 35px rgba(6,37,91,.1);border-color:#b9cde2}
.journey-step b{flex:0 0 38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff}.journey-step span{font-size:10px;font-weight:900;color:var(--blue);letter-spacing:.08em}.journey-step h3{margin:5px 0 7px;color:var(--navy)}.journey-step p{margin:0;color:var(--muted);line-height:1.55;font-size:13px}
.quick-actions{position:fixed;right:22px;bottom:22px;z-index:80}.quick-actions>button{width:54px;height:54px;border-radius:50%;border:0;background:var(--red);color:#fff;font-size:30px;box-shadow:0 12px 30px rgba(0,0,0,.22);cursor:pointer;transition:.2s}.quick-actions.open>button{transform:rotate(45deg)}
.quick-actions-menu{position:absolute;right:0;bottom:66px;width:190px;background:#fff;border:1px solid #e0e8f1;border-radius:12px;box-shadow:0 18px 45px rgba(6,37,91,.18);padding:8px;display:none}.quick-actions.open .quick-actions-menu{display:grid}.quick-actions-menu a{padding:11px;border-radius:8px;color:var(--navy);font-weight:800;font-size:13px}.quick-actions-menu a:hover{background:#f0f5fa}
@media(max-width:900px){.quote-workspace{grid-template-columns:1fr}.journey-track{grid-template-columns:1fr 1fr}.rate-cards{grid-template-columns:1fr}.rate-explorer-head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.quote-grid{grid-template-columns:1fr}.dimension-group{grid-template-columns:1fr}.journey-track{grid-template-columns:1fr}.rate-tabs{width:100%}.rate-tab{flex:1}.estimate-total{font-size:40px}}

/* V20 premium vector logo */
.site-header .brand{min-width:270px;height:92px}
.site-header .brand img{height:78px;max-width:285px;width:auto;object-fit:contain}
.contact-logo{max-width:310px!important;width:100%!important;height:auto!important}
footer .brand img,.footer .brand img{height:84px;max-width:300px;width:auto}
.auth-logo img,.simple-header img,.sidebar .brand img{object-fit:contain}
@media(max-width:860px){.site-header .brand{min-width:0;height:70px}.site-header .brand img{height:58px;max-width:205px}}

/* V21 navigation, rate sheet, flow and logo refinements */
html{scroll-padding-top:112px}
#home,#services,#calculator,#rate-sheet,#tracking,#faq,#contact-form{scroll-margin-top:112px}

/* Make the new horizontal vector mark read clearly without enlarging the header. */
.site-header .brand{
  min-width:255px;
  height:86px;
}
.site-header .brand img{
  width:255px;
  height:auto;
  max-width:255px;
  max-height:80px;
  object-fit:contain;
}
footer .brand img,
.footer .brand img{
  width:235px;
  height:auto;
  max-width:235px;
  max-height:none;
}

/* Dedicated rate sheet */
.rate-sheet-section{
  max-width:1180px;
  margin:26px auto 0;
  background:#fff;
  border:1px solid #dfe7f0;
  border-radius:18px;
  padding:30px;
  box-shadow:0 18px 46px rgba(6,37,91,.08);
}
.rate-sheet-header{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.rate-sheet-header h2{
  color:var(--navy);
  font-size:clamp(28px,3.4vw,40px);
  margin:4px 0 7px;
}
.rate-sheet-header p{margin:0;color:var(--muted);max-width:760px}
.rate-sheet-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}
.rate-sheet-tab{
  border:1px solid #cbd7e5;
  background:#f7f9fc;
  color:var(--navy);
  border-radius:999px;
  padding:10px 17px;
  font-weight:900;
  cursor:pointer;
}
.rate-sheet-tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.rate-sheet-panel{display:none}
.rate-sheet-panel.active{display:block}
.rate-sheet-table-wrap{overflow-x:auto;border:1px solid #e0e8f1;border-radius:12px}
.rate-sheet-table{width:100%;border-collapse:collapse;min-width:760px}
.rate-sheet-table th,.rate-sheet-table td{padding:15px 16px;text-align:left;border-bottom:1px solid #e5ebf2;font-size:13px}
.rate-sheet-table th{background:#eef4fa;color:var(--navy);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.rate-sheet-table tbody tr:last-child td{border-bottom:0}
.rate-sheet-note{font-size:12px;color:var(--muted);margin:14px 0 0}

/* Reduce footer height while preserving content. */
footer,
.footer{
  padding-top:30px!important;
  padding-bottom:14px!important;
}
.footer-grid{
  gap:20px!important;
}
footer p,.footer p{
  margin:8px 0!important;
  line-height:1.45!important;
}
footer h4,.footer h4{
  margin-bottom:8px!important;
}
footer a,.footer a{
  padding:2px 0!important;
}
.footer-bottom{
  margin-top:20px!important;
  padding-top:12px!important;
}

/* Prevent fixed header from hiding target section headings. */
section[id]{position:relative}

@media(max-width:980px){
  html{scroll-padding-top:84px}
  #home,#services,#calculator,#rate-sheet,#tracking,#faq,#contact-form{scroll-margin-top:84px}
  .site-header .brand{min-width:205px}
  .site-header .brand img{width:205px;max-width:205px}
  .rate-sheet-header{align-items:flex-start;flex-direction:column}
}
@media(max-width:620px){
  .site-header .brand{min-width:0}
  .site-header .brand img{width:185px;max-width:185px}
  .rate-sheet-section{padding:22px 16px}
}

/* V22 requested layout, calculator, rates and header-logo updates */
.site-header .brand{
  width:330px!important;
  min-width:330px!important;
  height:90px!important;
  padding:4px 10px;
  border-radius:10px;
  background:rgba(4,34,75,.38);
}
.site-header .brand img{
  width:315px!important;
  max-width:315px!important;
  height:auto!important;
  max-height:82px!important;
  object-fit:contain!important;
}
.site-header.scrolled .brand{background:rgba(4,34,75,.64)}
footer .brand img,.footer .brand img{
  width:280px!important;
  max-width:280px!important;
  height:auto!important;
}

/* Highlights now sit immediately below the hero. */
.hero-trust-wrap{
  position:relative;
  z-index:8;
  width:min(1296px,calc(100% - 64px));
  margin:-62px auto 0;
}
.hero-trust-wrap .trust-bar{
  margin:0;
  width:100%;
}
.utility-shell{padding-top:76px}

/* Centered calculator patterned after the approved reference. */
.smart-calculator-section{
  max-width:1120px;
  margin:0 auto 66px;
  padding-top:28px;
}
.smart-calculator-section .calculator-heading{
  max-width:900px;
  margin:0 auto 36px;
}
.smart-calculator-section .calculator-heading h2{
  color:var(--navy);
  font-size:clamp(38px,5vw,58px);
  margin:8px 0 12px;
}
.smart-calculator-section .calculator-heading p{
  font-size:17px;
  color:var(--muted);
}
.smart-calculator-card{
  max-width:920px;
  margin:auto;
  padding:42px 34px 30px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e5ebf2;
  box-shadow:0 22px 55px rgba(6,37,91,.11);
  text-align:center;
}
.smart-calculator-icon{
  width:62px;height:62px;margin:0 auto 18px;
  border-radius:16px;display:grid;place-items:center;
  background:linear-gradient(135deg,#dfeeff,#d7f7e5);
  color:#176ef0;font-size:30px;font-weight:900;
}
.smart-calculator-card h3{
  margin:0;color:var(--navy);font-size:26px;
}
.smart-calculator-subtitle{margin:8px 0 34px;color:var(--muted)}
.smart-calculator-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:22px 24px;text-align:left;
}
.smart-calculator-grid label{
  display:grid;gap:8px;color:#31445a;font-size:13px;font-weight:800;
}
.smart-calculator-grid label span{color:#e1252d}
.smart-calculator-grid input,.smart-calculator-grid select{
  width:100%;height:52px;border:1px solid #cbd5e1;border-radius:8px;
  padding:0 14px;background:#fff;color:#23364a;font:inherit;
}
.money-input{
  display:flex;align-items:center;height:52px;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden;
}
.money-input b{padding-left:14px;color:#8696aa;font-size:22px}
.money-input input{border:0;height:50px}
.smart-dimensions{grid-column:1/-1}
.smart-dimensions-head{
  display:flex;justify-content:space-between;gap:18px;margin-bottom:12px;
}
.smart-dimensions-head strong{color:#31445a}
.smart-dimensions-head span{color:#176ef0;font-size:12px;border:1px solid #9ac2ff;background:#edf5ff;padding:4px 9px;border-radius:7px}
.smart-full{grid-column:1/-1}
.smart-calculator-button{
  width:100%;height:58px;margin-top:28px;border:0;border-radius:9px;
  color:#fff;font-weight:900;font-size:16px;cursor:pointer;
  background:linear-gradient(90deg,#1667eb,#05a54a);
  box-shadow:0 12px 24px rgba(15,112,164,.22);
}
.smart-calculator-result{display:block;margin-top:14px;color:#096f3b;font-weight:850}
.smart-calculator-result:empty{display:none}

/* Rate cards patterned after the approved pricing reference. */
.shipping-rates-showcase{
  max-width:1180px;margin:35px auto 62px;padding:66px 24px 28px;
  background:#fff;border-radius:18px;
}
.shipping-rates-heading{text-align:center;max-width:760px;margin:0 auto 42px}
.shipping-rates-heading h2{color:var(--navy);font-size:clamp(38px,5vw,54px);margin:8px 0 10px}
.shipping-rates-heading p{color:var(--muted);margin:0}
.shipping-rate-cards{
  display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;
}
.shipping-rate-card{
  background:#fff;border:1px solid #dce5ef;border-radius:14px;
  padding:22px;box-shadow:0 10px 24px rgba(6,37,91,.04);
}
.shipping-rate-card.featured{border:2px solid #3c82f6}
.shipping-rate-card.sea-card{grid-column:1/2}
.rate-card-top{display:flex;justify-content:space-between;align-items:center}
.rate-card-icon{
  width:38px;height:38px;display:grid;place-items:center;
  border-radius:10px;background:#e7f0ff;color:#176ef0;font-size:20px;
}
.rate-badge{
  color:#1680b9;background:#e5f5ff;border:1px solid #a9d9f2;
  padding:3px 8px;border-radius:6px;font-size:10px;font-weight:800;
}
.shipping-rate-card h3{font-size:22px;color:#172436;margin:18px 0 5px}
.shipping-rate-card>p{color:#6f7e90;margin:0 0 14px;font-size:13px}
.shipping-rate-card>small{color:#176ef0;font-weight:800}
.mini-rate-table{margin-top:13px;border:1px solid #dce5ef;border-radius:8px;overflow:hidden}
.mini-rate-table table{width:100%;border-collapse:collapse}
.mini-rate-table th,.mini-rate-table td{
  padding:8px 9px;border-bottom:1px solid #e8edf3;font-size:11px;text-align:left;
}
.mini-rate-table th{background:#f5f7fa;color:#26374a}
.mini-rate-table th:last-child,.mini-rate-table td:last-child{text-align:right;font-weight:800;color:#172436}
.mini-rate-table tr:last-child td{border-bottom:0}
.fixed-rate-row{
  display:flex;justify-content:space-between;gap:15px;
  margin-top:10px;padding:11px;border-radius:8px;
  color:#176ef0;background:#edf5ff;border:1px solid #b4d3ff;font-size:11px;
}
.shipping-rate-disclaimer{text-align:center;color:#7b8796;font-size:11px;margin:42px 0 0}

/* Fixed header navigation now lands cleanly at Smart Calculator. */
#calculator{scroll-margin-top:100px}

/* Reduce empty visual weight around the footer. */
footer,.footer{padding-top:24px!important;padding-bottom:12px!important}

@media(max-width:1120px){
  .site-header .brand{width:255px!important;min-width:255px!important}
  .site-header .brand img{width:242px!important;max-width:242px!important}
}
@media(max-width:860px){
  .hero-trust-wrap{width:calc(100% - 32px);margin-top:-34px}
  .smart-calculator-grid,.shipping-rate-cards{grid-template-columns:1fr}
  .shipping-rate-card.sea-card{grid-column:auto}
  .site-header .brand{width:220px!important;min-width:0!important}
  .site-header .brand img{width:210px!important;max-width:210px!important}
}
@media(max-width:580px){
  .hero-trust-wrap{width:calc(100% - 20px);margin-top:-20px}
  .smart-calculator-card{padding:30px 18px 24px}
  .smart-dimensions-head{flex-direction:column}
  .shipping-rates-showcase{padding:42px 12px 22px}
}

/* V23 polished presentation */
.site-header .brand{
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.site-header .brand img{
  width:305px!important;
  max-width:305px!important;
  max-height:78px!important;
}
footer .brand img,.footer .brand img{
  width:235px!important;
  max-width:235px!important;
}

/* More premium hero trust bar */
.hero-trust-wrap{margin-top:-54px}
.premium-trust-bar{
  position:relative;
  overflow:hidden;
  background:linear-gradient(115deg,#072b61 0%,#0b4a93 48%,#1262b5 100%)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:18px!important;
  box-shadow:0 20px 45px rgba(6,37,91,.24)!important;
}
.premium-trust-bar::before{
  content:"";
  position:absolute;inset:0 auto auto 0;width:100%;height:4px;
  background:linear-gradient(90deg,#d71920,#ffffff,#d71920);
}
.premium-trust-bar article{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  padding:24px 26px!important;
}
.premium-trust-bar article+article{border-left:1px solid rgba(255,255,255,.2)}
.premium-trust-bar strong{display:block;font-size:16px;color:#fff;margin-bottom:3px}
.premium-trust-bar span{color:#dbe9f8!important;font-size:12px!important}
.trust-icon{
  width:58px;height:58px;flex:0 0 58px;border-radius:16px;
  display:grid;place-items:center;color:#fff;font-size:24px;font-weight:950;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.trust-red{background:linear-gradient(145deg,#e8373f,#b9131b)}
.trust-blue{background:linear-gradient(145deg,#2f87dc,#0a4b98)}
.trust-gold{background:linear-gradient(145deg,#f0b440,#d48209)}
.trust-red{font-size:22px}

/* Interactive rate sheet */
.interactive-rate-tabs{
  display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:28px;
}
.interactive-rate-tab{
  border:1px solid #c9d5e3;background:#f7f9fc;color:var(--navy);
  border-radius:999px;padding:11px 18px;font-weight:900;cursor:pointer;
}
.interactive-rate-tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.interactive-rate-view{display:none}
.interactive-rate-view.active{display:block}
.single-rate-row{grid-template-columns:minmax(0,560px)!important;justify-content:center}
.rate-summary{
  margin:18px 0;padding:15px;border-radius:10px;background:#f2f7fc;
  display:flex;justify-content:space-between;align-items:center;gap:15px;
}
.rate-summary strong{font-size:20px;color:var(--navy)}
.rate-summary span{font-size:12px;color:var(--muted)}
.rate-expand{
  width:100%;min-height:44px;border:1px solid #8eb8ec;background:#edf5ff;
  color:#0b5ab5;border-radius:8px;font-weight:900;cursor:pointer;
}
.rate-expand:hover{background:#dfeeff}
.rate-details{display:none;margin-top:14px}
.shipping-rate-card.open .rate-details{display:block}
.shipping-rate-card.open .rate-expand{background:var(--navy);color:#fff}
.mini-rate-table tbody tr{transition:.18s}
.mini-rate-table tbody tr:hover{background:#edf5ff}

/* Contact cleanup */
.contact-card-clean{
  max-width:1100px!important;
  grid-template-columns:.9fr 1.1fr!important;
  padding:0!important;
  overflow:hidden;
}
.contact-summary{
  padding:34px;background:linear-gradient(150deg,#eef5fb,#ffffff);
}
.contact-summary .contact-logo{width:230px;margin-bottom:24px}
.contact-summary-grid{display:grid;gap:12px}
.contact-summary-grid a{
  display:flex;align-items:flex-start;gap:12px;padding:13px;
  background:#fff;border:1px solid #dfe7f0;border-radius:10px;color:#30475f;
}
.contact-summary-grid a>span{
  width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;
  border-radius:9px;background:#e8f2fb;color:#0a5aa7;font-weight:900;
}
.contact-summary-grid small{display:block;color:#7b8a9a;font-size:10px;font-weight:900;letter-spacing:.08em}
.contact-summary-grid strong{font-size:13px;color:var(--navy)}
.contact-social-clean{display:flex;align-items:center;justify-content:space-between;margin-top:22px}
.contact-social-clean>span{font-size:12px;color:var(--muted);font-weight:800}
.contact-social-clean>div{display:flex;gap:8px}
.social-icon-button{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  color:#fff!important;font-size:16px;font-weight:900;
}
.social-icon-button.instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}
.social-icon-button.whatsapp{background:#20a65a}
.contact-form-panel{padding:34px!important}
.contact-form-panel h3{font-size:25px!important}
.contact-form{gap:12px!important}
.contact-form input,.contact-form select{height:44px!important}
.contact-form textarea{min-height:112px!important}

/* Shorter footer */
footer,.footer{
  padding-top:18px!important;
  padding-bottom:8px!important;
}
.footer-grid{gap:14px!important}
footer .brand,.footer .brand{margin-bottom:4px!important}
footer p,.footer p{font-size:12px!important;margin:4px 0!important}
footer h4,.footer h4{font-size:13px!important;margin-bottom:5px!important}
footer a,.footer a{font-size:11px!important;padding:1px 0!important}
.footer-bottom{margin-top:10px!important;padding-top:8px!important;font-size:10px!important}

/* Keep light-background logo tagline visible everywhere */
.contact-logo,.footer .brand img,footer .brand img,.auth-logo img,.simple-header img{
  filter:none!important;
}

@media(max-width:980px){
  .premium-trust-bar article{padding:20px!important}
  .trust-icon{width:50px;height:50px;flex-basis:50px}
  .contact-card-clean{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .premium-trust-bar{display:grid!important;grid-template-columns:1fr!important}
  .premium-trust-bar article+article{border-left:0;border-top:1px solid rgba(255,255,255,.18)}
  .site-header .brand img{width:210px!important;max-width:210px!important}
}

/* V24 developed logo, always-visible rate tables and compact footer */
.site-header .brand img{
  width:320px!important;
  max-width:320px!important;
  max-height:82px!important;
  object-fit:contain!important;
}
.contact-logo,
.auth-logo img,
.simple-header img{
  content:url("assets/mile-i-logo-light-premium.png");
}
footer img{filter:none!important}

/* Always-visible interactive rate tables */
.visible-rate-sheet{
  max-width:1180px;
  margin:40px auto 64px;
  padding:46px 26px 30px;
  background:linear-gradient(180deg,#ffffff,#f8fbfe);
  border:1px solid #dfe7f0;
  box-shadow:0 20px 50px rgba(6,37,91,.08);
}
.visible-rate-tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.visible-rate-tab{
  border:1px solid #c8d6e5;
  background:#fff;
  color:var(--navy);
  padding:11px 20px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  transition:.2s;
}
.visible-rate-tab.active{
  background:linear-gradient(135deg,#06255B,#0A4E9B);
  color:#fff;
  border-color:transparent;
  box-shadow:0 8px 20px rgba(6,37,91,.18);
}
.visible-rate-panel{display:none}
.visible-rate-panel.active{display:block}
.always-visible-rate-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.always-visible-rate-card{
  background:#fff;
  border:1px solid #dbe5ef;
  border-radius:15px;
  padding:22px;
  box-shadow:0 10px 24px rgba(6,37,91,.05);
}
.always-visible-rate-card.featured{border:2px solid #3f83f8}
.single-visible-rate{max-width:720px;margin:auto}
.always-rate-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.always-rate-head>div{
  display:flex;
  gap:12px;
  align-items:center;
}
.always-rate-head small{
  color:#176ef0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}
.always-rate-head h3{
  margin:3px 0 0;
  color:var(--navy);
  font-size:21px;
}
.always-visible-rate-card>p{
  color:var(--muted);
  margin:14px 0 18px;
}
.always-rate-table{
  width:100%;
  border-collapse:collapse;
  border:1px solid #dfe7f0;
  border-radius:9px;
  overflow:hidden;
}
.always-rate-table th,
.always-rate-table td{
  padding:10px 12px;
  border-bottom:1px solid #e7edf3;
  font-size:12px;
  text-align:left;
}
.always-rate-table th{
  background:#f3f6fa;
  color:#31455c;
}
.always-rate-table th:last-child,
.always-rate-table td:last-child{
  text-align:right;
  font-weight:850;
}
.always-rate-table tbody tr:hover{background:#edf5ff}
.always-rate-table tr:last-child td{border-bottom:0}
.always-rate-footer{
  display:flex;
  justify-content:space-between;
  margin-top:12px;
  padding:12px;
  border-radius:8px;
  background:#edf5ff;
  color:#176ef0;
  font-size:12px;
}

/* Compact footer */
.compact-footer{
  display:block!important;
  padding:14px 4vw 8px!important;
  background:#fff!important;
  color:#30475f!important;
  border-top:1px solid #dfe7f0;
}
.compact-footer-main{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr .9fr;
  gap:24px;
  align-items:start;
  max-width:1500px;
  margin:auto;
}
.compact-footer-brand img{
  width:205px!important;
  max-width:205px!important;
  height:auto!important;
}
.compact-footer-brand p{
  margin:3px 0 0!important;
  font-size:11px!important;
  color:#687b8f!important;
}
.compact-footer h4{
  margin:3px 0 6px!important;
  font-size:11px!important;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#06255B!important;
}
.compact-link-row{
  display:flex;
  flex-wrap:wrap;
  gap:4px 13px;
}
.compact-footer a,
.compact-footer span{
  font-size:10px!important;
  line-height:1.45;
}
.compact-footer a{color:#52697f!important}
.compact-footer-contact{
  display:grid;
  gap:2px;
}
.compact-footer-bottom{
  max-width:1500px;
  margin:8px auto 0;
  padding-top:6px;
  border-top:1px solid #e5ebf1;
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#7c8a99;
}
.portal-links-bar{display:none!important}

/* Remove inherited footer minimum spacing */
.compact-footer .copyright{display:none!important}

@media(max-width:900px){
  .always-visible-rate-grid{grid-template-columns:1fr}
  .compact-footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .compact-footer-main{grid-template-columns:1fr}
  .compact-footer-bottom{flex-direction:column}
  .site-header .brand img{width:215px!important;max-width:215px!important}
}


/* V25 Customer Portal upgrade — extends the approved V24 brand */
.portal-v25{background:#f4f6f9;color:var(--text)}
.portal-sidebar{width:272px;padding:18px 15px;background:linear-gradient(180deg,var(--navy-deep),#041a3b);border-right:1px solid rgba(255,255,255,.08);overflow-y:auto}
.portal-sidebar .portal-brand{display:flex;justify-content:flex-start;align-items:center;height:105px;margin:0 0 14px;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.08)}
.portal-sidebar .portal-brand img{width:205px;height:88px;object-fit:contain;object-position:left center}
.portal-nav-label{padding:16px 10px 6px;color:#8ea4c3;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}
.portal-nav a{display:flex!important;align-items:center;gap:12px;padding:11px 12px!important;border-radius:8px!important;font-size:13px!important}
.portal-nav a span{width:22px;text-align:center;font-size:16px}
.portal-nav a.active,.portal-nav a:hover{background:linear-gradient(90deg,var(--red),#c4131a)!important;color:#fff!important;box-shadow:0 10px 24px rgba(225,27,34,.20)}
.portal-help-card{margin:22px 3px 4px;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;display:flex;gap:12px;background:rgba(255,255,255,.03)}
.portal-help-icon{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;background:rgba(225,27,34,.15);color:#ff6066;flex:0 0 auto}
.portal-help-card strong,.portal-help-card span,.portal-help-card a{display:block}
.portal-help-card strong{font-size:13px}.portal-help-card span{color:#aebed5;font-size:11px;margin:4px 0 8px}.portal-help-card a{color:#ff5c62;font-size:12px;font-weight:850}
.portal-main-v25{margin-left:272px;width:calc(100% - 272px);padding:0 28px 0;background:#f4f6f9;min-height:100vh}
.portal-appbar{height:68px;margin:0 -28px 26px;padding:0 28px;display:flex;align-items:center;gap:16px;background:#fff;border-bottom:1px solid #dde5ef;position:sticky;top:0;z-index:20}
.portal-appbar>span{font-weight:900;color:var(--navy);font-size:14px}
.portal-menu-button{width:36px;height:36px;border:1px solid #dce4ed;border-radius:8px;background:#fff;color:var(--navy);font-size:18px}
.portal-appbar-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
.portal-appbar-actions>button{position:relative;border:0;background:transparent;font-size:18px;color:var(--navy)}
.portal-appbar-actions>button b{position:absolute;right:-7px;top:-7px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-size:9px}
.portal-user-chip{display:flex;align-items:center;gap:9px;font-size:13px}
.portal-user-chip span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-weight:900}
.portal-top-v25{margin-bottom:22px}.portal-top-v25 h1{margin:3px 0 6px;color:var(--navy);font-size:31px}.portal-top-v25 p{margin:0;color:var(--muted)}
.portal-grid-v25{margin:0 0 30px;gap:22px!important}.portal-grid-v25 .stat-card{min-height:138px;padding:25px!important;border:1px solid #e0e7ef;border-radius:16px;box-shadow:0 12px 30px rgba(6,37,91,.075)}
.portal-grid-v25 .stat-card small{font-size:10px!important;letter-spacing:.09em!important}.portal-grid-v25 .stat-card strong{font-size:36px!important;margin-top:12px!important}.portal-grid-v25 .stat-card span{display:block;color:var(--muted);font-size:13px;margin-top:7px;line-height:1.45}
.portal-dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,390px);gap:28px;align-items:start}
.portal-side-stack{display:grid;gap:22px;align-content:start}
.panel-heading-row{display:flex;align-items:center;justify-content:space-between}.panel-heading-row h3{margin:3px 0 0}.panel-heading-row small{color:var(--muted);font-size:10px;font-weight:850}
.text-button{border:0;background:transparent;color:var(--red);font-weight:850;font-size:12px;cursor:pointer}
.package-list-v25 article{display:grid;grid-template-columns:52px minmax(0,1fr) auto 110px;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #e7ecf2}
.package-list-v25 article:last-child{border-bottom:0}
.package-icon{width:38px;height:38px;border-radius:9px;background:#edf3fa;display:grid;place-items:center;color:var(--blue)}
.package-list-v25 strong,.package-list-v25 span{display:block}.package-list-v25 strong{font-size:16px!important}.package-list-v25 span{font-size:13px;color:var(--muted);margin-top:4px}.package-list-v25 article>b{font-size:15px!important;text-align:right}
.status-pill{padding:6px 9px;border-radius:999px;font-size:10px!important;font-weight:850}.status-pill.transit{background:#e7f0ff;color:#0753a6}.status-pill.ready{background:#e5f8ea;color:#16843a}.status-pill.received{background:#fff3dc;color:#a66600}
.address-summary-panel{display:flex;align-items:center;gap:20px;min-height:126px}.address-summary-icon{width:58px;height:58px;border-radius:15px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:25px;flex:0 0 58px}.address-summary-panel>div:nth-child(2){flex:1;min-width:0}.address-summary-panel small{color:var(--muted);font-size:11px;font-weight:850}.address-summary-panel h3{margin:5px 0 7px;font-size:20px!important}.address-summary-panel p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.account-overview-card h3,.quick-actions-card h3{margin-top:0}
.account-metrics{display:grid;grid-template-columns:1fr 1fr}.account-metrics div{padding:21px 12px;border-bottom:1px solid #e6ebf1}.account-metrics div:nth-child(odd){border-right:1px solid #e6ebf1}.account-metrics div:nth-child(n+3){border-bottom:0}.account-metrics strong,.account-metrics span{display:block}.account-metrics strong{font-size:31px;color:var(--navy)}.account-metrics span{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.35}
.referral-card{padding:29px;border-radius:16px;background:linear-gradient(145deg,var(--navy-deep),var(--navy));color:#fff;box-shadow:0 15px 34px rgba(3,23,53,.20)}.referral-card small{color:#b9c7dc;font-size:11px;font-weight:850}.referral-card h3{margin:9px 0 11px;font-size:24px;line-height:1.2}.referral-card p{font-size:14px;line-height:1.6;color:#dce6f5}.referral-card .btn{min-height:48px!important;margin-top:5px!important}
.quick-actions-card h3{font-size:21px!important;margin-bottom:11px!important}.quick-actions-card button{width:100%;min-height:52px;border:0;border-bottom:1px solid #e7ecf2;background:#fff;padding:15px 2px;display:flex;justify-content:space-between;align-items:center;color:var(--text);font-weight:800;font-size:14px}.quick-actions-card button:last-child{border-bottom:0}
.portal-alert{display:flex;gap:14px;padding:17px 18px;margin-bottom:20px;border:1px solid rgba(225,27,34,.35);border-radius:10px;background:#fff8f8}.portal-alert>div:first-child{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--red);color:var(--red)}.portal-alert strong{color:var(--red)}.portal-alert p{margin:4px 0 0;color:var(--muted);font-size:12px}
.address-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.shipping-address-card{background:#fff;border:1px solid #dde5ef;border-radius:12px;padding:16px;box-shadow:0 10px 28px rgba(6,37,91,.06)}
.address-card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.address-card-title>div{display:flex;align-items:center;gap:8px}.address-card-title h3{margin:0;color:var(--navy);font-size:15px}.service-dot{width:8px;height:8px;border-radius:50%}.service-dot.green{background:#1aa36f}.service-dot.blue{background:#0b5fb7}.service-dot.teal{background:#0d9e9b}.default-chip{padding:4px 8px;border-radius:999px;background:#eef3f9;color:var(--navy);font-size:9px;font-weight:850}
.address-fields{display:grid;gap:10px}.address-fields label{color:var(--muted);font-size:10px;font-weight:750}.address-fields label>div{margin-top:5px;min-height:40px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;border:1px solid #dbe4ef;border-radius:7px;background:#f9fbfd;color:#1a2b42;font-size:12px;font-weight:750}.address-fields button{border:0;background:transparent;color:var(--muted);cursor:pointer}
.address-two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.address-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.address-card-actions button{height:38px;border:1px solid #dce4ed;border-radius:7px;background:#fff;color:var(--navy);font-weight:800}.address-card-actions button.danger{border-color:#ef9699;color:var(--red)}
.address-accuracy-card{display:flex;align-items:center;gap:16px;margin-top:18px}.address-accuracy-icon{width:48px;height:48px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:22px}.address-accuracy-card h3{margin:0 0 5px}.address-accuracy-card p{margin:0;color:var(--muted);font-size:12px}
.portal-footer-v25{margin:28px -28px 0;padding:22px 28px;border-top:1px solid #dce4ed;display:flex;justify-content:space-between;color:var(--muted);font-size:11px;background:#fff}.portal-footer-v25 div{display:flex;gap:12px}
@media(max-width:1180px){.address-card-grid{grid-template-columns:1fr 1fr}.portal-dashboard-layout{grid-template-columns:1fr}.portal-side-stack{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.portal-sidebar{width:82px;padding:14px 9px}.portal-sidebar .portal-brand img{width:62px;height:62px}.portal-sidebar .portal-brand{height:78px;padding:0}.portal-nav-label,.portal-nav a{font-size:0!important}.portal-nav a span{font-size:16px}.portal-help-card{display:none}.portal-main-v25{margin-left:82px;width:calc(100% - 82px);padding:0 18px}.portal-appbar{margin:0 -18px 22px;padding:0 18px}.portal-grid-v25{grid-template-columns:1fr 1fr}.portal-side-stack{grid-template-columns:1fr}.address-card-grid{grid-template-columns:1fr}.portal-footer-v25{margin-left:-18px;margin-right:-18px}}
@media(max-width:620px){.portal-main-v25{padding:0 12px}.portal-appbar{margin-left:-12px;margin-right:-12px;padding:0 12px}.portal-user-chip strong{display:none}.portal-grid-v25{grid-template-columns:1fr}.portal-top-v25{align-items:flex-start;gap:12px;flex-direction:column}.portal-dashboard-layout{display:block}.portal-side-stack{margin-top:18px}.address-two-col{grid-template-columns:1fr}.portal-footer-v25{margin-left:-12px;margin-right:-12px;flex-direction:column;gap:8px}}


/* V26 portal upgrades based on expanded reference screens */
.table-wrap{overflow:auto}
.wide-table{min-width:1050px}
.wide-table th,.wide-table td{white-space:nowrap}
.empty-row td{text-align:center;color:var(--muted);padding:34px!important}
.portal-modal{width:min(720px,92vw);border:0;border-radius:14px;padding:0;box-shadow:0 30px 80px rgba(3,23,53,.28)}
.portal-modal::backdrop{background:rgba(3,23,53,.58)}
.modal-form{margin:0;max-width:none;box-shadow:none;border:0}
.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.modal-heading h3{margin:3px 0 0}
.modal-close{width:36px;height:36px;border:0;border-radius:50%;background:#eef3f8;font-size:22px;color:var(--navy)}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-grid-2 .full{grid-column:1/-1}
.referral-balance-banner{display:flex;align-items:center;gap:16px;padding:26px;border-radius:14px;background:linear-gradient(135deg,#1a0f3a,#35105d);color:#fff;border:1px solid #7b2bff;box-shadow:0 16px 36px rgba(63,22,118,.18);margin-bottom:20px}
.referral-balance-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#ff9500;font-size:22px}
.referral-balance-banner small,.referral-balance-banner strong{display:block}.referral-balance-banner>div:nth-child(2)>strong{font-size:30px}.referral-value{margin-left:auto;text-align:right}.referral-value span,.referral-value strong{display:block}.referral-value span{color:#bfb5d7;font-size:11px}.referral-value strong{color:#28dd8d;font-size:20px}
.referral-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr);gap:20px}
.referral-main-card{text-align:center}
.fake-qr{width:230px;height:230px;margin:28px auto 16px;background:#fff;border:16px solid #fff;border-radius:14px;box-shadow:inset 0 0 0 2px #111}
.qr-grid{width:100%;height:100%;background:
linear-gradient(90deg,#111 8px,transparent 8px) 0 0/18px 18px,
linear-gradient(#111 8px,transparent 8px) 0 0/18px 18px,
radial-gradient(circle,#111 42%,transparent 44%) 9px 9px/18px 18px}
.referral-main-card hr{border:0;border-top:1px solid #e5ebf1;margin:22px 0}
.copy-field{display:grid;grid-template-columns:1fr 44px;gap:8px}
.copy-field input{margin:0}.copy-field button{border:1px solid #dce4ed;border-radius:8px;background:#fff}
.referral-side-column{display:grid;gap:18px}
.mini-stat-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mini-stat-card small,.mini-stat-card strong{display:block}.mini-stat-card strong{font-size:28px;margin-top:18px}
.how-it-works-card ol{list-style:none;padding:0;margin:18px 0 0}.how-it-works-card li{display:flex;gap:12px;margin-bottom:16px}.how-it-works-card li>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#7b2bff;color:#fff;font-weight:900}.how-it-works-card li strong,.how-it-works-card li p{display:block}.how-it-works-card li p{margin:3px 0 0;color:var(--muted);font-size:12px}
.portal-info-banner{display:flex;gap:14px;padding:18px;margin-bottom:20px;border:1px solid #6b4eff;border-radius:12px;background:#f7f5ff}.portal-info-banner>div:first-child{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ece8ff;color:#5d3df1}.portal-info-banner p{margin:4px 0 0;color:var(--muted);font-size:12px}
.calculator-form{max-width:none}.service-description-card{align-self:end;padding:14px;border:1px solid #6b4eff;border-radius:10px;background:#faf9ff}.service-description-card strong,.service-description-card span{display:block}.service-description-card span{color:#6b4eff;font-size:11px;margin-top:4px}.full-width-button{width:100%;margin-top:18px}.calculator-result{margin-top:16px;padding:14px;border-radius:10px;background:#eef5ff;color:var(--blue);font-weight:850;display:none}
.settings-layout{display:grid;gap:20px;max-width:900px}.delivery-address-card{position:relative;margin-top:20px;padding:22px;border:1px solid #dce4ed;border-radius:12px}.delivery-address-card h4{margin-top:0}.delivery-address-card p{color:var(--muted);line-height:1.55}.delivery-card-actions{position:absolute;top:18px;right:18px;display:flex;gap:8px}.delivery-card-actions button{border:0;background:transparent;color:var(--navy)}.delivery-card-actions button.danger{color:var(--red)}.danger-zone-card{border-color:#ef8b8f;background:#fff8f8}.danger-zone-card h3{color:var(--red)}
@media(max-width:900px){.referral-layout{grid-template-columns:1fr}.form-grid-2{grid-template-columns:1fr}.form-grid-2 .full{grid-column:auto}.mini-stat-row{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.mini-stat-row{grid-template-columns:1fr}.referral-balance-banner{align-items:flex-start;flex-wrap:wrap}.referral-value{width:100%;text-align:left;margin-left:64px}.fake-qr{width:190px;height:190px}}


/* V27 comprehensive customer portal cleanup */
html,body.portal-v25{min-height:100%}
.portal-v25{display:flex}
.portal-sidebar{width:288px;transition:width .25s ease,padding .25s ease;z-index:40}
.portal-sidebar .portal-brand{height:126px!important;padding:10px 4px!important;justify-content:center!important;background:rgba(255,255,255,.04);border-radius:13px}
.portal-sidebar .portal-brand img{width:250px!important;height:105px!important;object-fit:contain!important;filter:brightness(1.18) contrast(1.08) drop-shadow(0 8px 18px rgba(255,255,255,.12))}
.portal-main-v25{margin-left:288px;width:calc(100% - 288px);min-height:100vh;display:flex;flex-direction:column;transition:margin-left .25s ease,width .25s ease}
.portal-view{flex:1}
.portal-footer-v25{margin-top:auto!important}
body.portal-sidebar-collapsed .portal-sidebar{width:86px;padding-left:8px;padding-right:8px}
body.portal-sidebar-collapsed .portal-sidebar .portal-brand{height:86px!important}
body.portal-sidebar-collapsed .portal-sidebar .portal-brand img{width:68px!important;height:68px!important;object-fit:cover!important;object-position:left!important}
body.portal-sidebar-collapsed .portal-nav-label,
body.portal-sidebar-collapsed .portal-nav a{font-size:0!important}
body.portal-sidebar-collapsed .portal-nav a span{font-size:17px!important;margin:auto}
body.portal-sidebar-collapsed .portal-help-card{display:none}
body.portal-sidebar-collapsed .portal-main-v25{margin-left:86px;width:calc(100% - 86px)}
.portal-menu-button{cursor:pointer}

.admin-controlled-alert{border-color:#b7c8df;background:#f5f8fc}.admin-controlled-alert strong{color:var(--navy)}
.service-chip{padding:4px 8px;border-radius:999px;background:#eef3f9;color:var(--blue);font-size:9px;font-weight:850}
.copy-complete-address{width:100%;height:42px;margin-top:14px;border:1px solid var(--navy);border-radius:8px;background:#fff;color:var(--navy);font-weight:850}
.copy-complete-address:hover{background:var(--navy);color:#fff}

.package-filter-tabs{display:flex;gap:8px;overflow:auto;margin-bottom:16px;padding-bottom:2px}
.package-filter-tabs button{white-space:nowrap;border:1px solid #dce4ed;border-radius:9px;background:#fff;padding:10px 14px;color:var(--muted);font-weight:800}
.package-filter-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.package-filter-tabs span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;border-radius:999px;background:#eef3f8;color:var(--navy);font-size:10px}
.package-filter-tabs button.active span{background:rgba(255,255,255,.17);color:#fff}
.package-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:16px}
.search-control{flex:1;display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border:1px solid #dce4ed;border-radius:8px;background:#fff;color:var(--muted)}
.search-control input{flex:1;border:0;outline:0;margin:0;background:transparent}
.package-toolbar select{height:42px;border:1px solid #dce4ed;border-radius:8px;background:#fff;padding:0 11px}
.enhanced-package-table{min-width:1320px}
.enhanced-package-table td{vertical-align:middle}
.enhanced-package-table td:nth-child(2) strong,.enhanced-package-table td:nth-child(2) small{display:block}.enhanced-package-table td:nth-child(2) small{color:var(--blue);margin-top:3px}
.store-logo{display:inline-flex;align-items:center;justify-content:center;min-width:74px;height:34px;border-radius:8px;font-weight:950;font-size:12px}
.store-logo.amazon{background:#111827;color:#fff;text-transform:lowercase}.store-logo.amazon:after{content:"⌣";color:#ff9900;margin-left:2px}
.store-logo.shein{background:#000;color:#fff;letter-spacing:1px}
.store-logo.ebay{background:#fff;border:1px solid #dce4ed;color:#e53238}
.store-logo.walmart{background:#0672ce;color:#fff}
.invoice-chip{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850}.invoice-chip.paid{background:#e7f8ed;color:#14823b}.invoice-chip.missing{background:#fff0f0;color:var(--red)}.invoice-chip.outstanding{background:#fff5df;color:#a66a00}
.icon-action{width:34px;height:34px;border:1px solid #dce4ed;border-radius:7px;background:#fff}.small-button{min-height:34px!important;padding:0 12px!important;font-size:10px!important}

.tracking-layout{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr);gap:20px}
.tracking-search-card{text-align:center;padding:34px}.tracking-search-icon{width:64px;height:64px;margin:0 auto 15px;border-radius:18px;display:grid;place-items:center;background:var(--navy);color:#fff;font-size:30px}.tracking-search-card h3{font-size:22px;margin:0 0 8px}.tracking-search-card p{color:var(--muted)}
.tracking-input-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin:22px 0 14px}.tracking-input-row input{height:48px;border:1px solid #dce4ed;border-radius:8px;padding:0 13px}
.tracking-quick-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.tracking-quick-links button{border:0;border-radius:999px;background:#eef3f8;color:var(--blue);padding:7px 10px;font-size:10px}
.tracking-result-card{min-height:390px}.empty-tracking-state{height:100%;min-height:340px;display:grid;place-items:center;align-content:center;text-align:center;color:var(--muted)}.empty-tracking-state>div{font-size:40px;color:var(--blue)}.tracking-result-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e7ecf2;padding-bottom:15px}.tracking-result-header h3{margin:0}.tracking-result-header span{padding:6px 10px;border-radius:999px;background:#e7f0ff;color:#0753a6;font-size:10px;font-weight:850}
.tracking-timeline{list-style:none;padding:0;margin:22px 0 0}.tracking-timeline li{position:relative;display:grid;grid-template-columns:26px 1fr;gap:12px;padding-bottom:20px}.tracking-timeline li:not(:last-child):before{content:"";position:absolute;left:12px;top:26px;bottom:0;width:2px;background:#dce5ef}.tracking-timeline .timeline-dot{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:var(--blue);z-index:1}.tracking-timeline li.complete .timeline-dot{background:#e5f8ea;color:#16843a}.tracking-timeline strong,.tracking-timeline span,.tracking-timeline small{display:block}.tracking-timeline span{color:var(--muted);font-size:12px;margin-top:3px}.tracking-timeline small{color:#8493a8;margin-top:3px}

.prealert-summary-grid,.invoice-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.prealert-summary-grid article,.invoice-summary-grid article{background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:18px;box-shadow:0 9px 24px rgba(6,37,91,.05)}.prealert-summary-grid article{display:grid;grid-template-columns:44px 1fr;column-gap:12px}.prealert-summary-grid article>div{grid-row:1/3;width:42px;height:42px;border-radius:10px;background:#eef3f9;display:grid;place-items:center;color:var(--blue)}.prealert-summary-grid strong,.prealert-summary-grid span,.invoice-summary-grid small,.invoice-summary-grid strong,.invoice-summary-grid span{display:block}.prealert-summary-grid strong,.invoice-summary-grid strong{font-size:25px;color:var(--navy)}.prealert-summary-grid span,.invoice-summary-grid span{font-size:11px;color:var(--muted);margin-top:4px}.invoice-summary-grid small{font-size:10px;color:var(--muted);font-weight:850}
.empty-table-state{display:grid;place-items:center;text-align:center;padding:18px}.empty-table-state span{font-size:34px;color:var(--blue)}.empty-table-state strong{margin-top:8px}.empty-table-state p{margin:5px 0 0;color:var(--muted)}
.invoice-upload-field span{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.invoice-dropzone{display:block;padding:22px;border:2px dashed #b9c9dc;border-radius:12px;background:#f7f9fc;text-align:center}.invoice-dropzone input{display:block;margin:0 auto 8px}.invoice-dropzone span{color:var(--muted);font-size:12px}

.notifications-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.notification-count{padding:5px 9px;border-radius:999px;background:#fff0f0;color:var(--red);font-size:10px;font-weight:850}.notification-item{display:grid;grid-template-columns:46px 1fr auto;gap:13px;padding:17px 0;border-bottom:1px solid #e8edf2}.notification-item:last-child{border-bottom:0}.notification-item.unread{background:linear-gradient(90deg,#fff8f8,transparent);margin:0 -12px;padding-left:12px;padding-right:12px;border-radius:8px}.notification-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center}.notification-icon.ready{background:#e5f8ea;color:#16843a}.notification-icon.transit{background:#e7f0ff;color:#0753a6}.notification-icon.invoice{background:#fff0f0;color:var(--red)}.notification-icon.delivered{background:#eef3f9;color:var(--navy)}.notification-item strong,.notification-item p,.notification-item small{display:block}.notification-item p{margin:4px 0;color:var(--muted);font-size:12px}.notification-item small{color:#8a98aa}.notification-item button{border:0;background:transparent;color:var(--blue);font-weight:800}
.notification-settings label{display:flex;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #e8edf2}.notification-settings label span strong,.notification-settings label span small{display:block}.notification-settings label span small{color:var(--muted);margin-top:3px}.notification-settings input{width:42px;height:22px;accent-color:var(--red)}

.neutral-referral-banner{background:linear-gradient(135deg,var(--navy),#0c4b91)!important;border-color:#1f5fa6!important}.neutral-referral-banner .referral-balance-icon{background:var(--red)!important}.neutral-referral-banner>div:nth-child(2)>span{display:block;color:#c9d7eb;font-size:11px;margin-top:4px}.real-qr-panel{width:250px;height:250px;margin:24px auto 16px;padding:13px;background:#fff;border:1px solid #e0e7ef;border-radius:14px;box-shadow:0 12px 28px rgba(6,37,91,.10)}.real-qr-panel img{width:100%;height:100%;object-fit:contain}.referral-description{color:var(--muted);max-width:580px;margin:0 auto 10px}.referral-share-buttons{display:flex;gap:8px;margin-top:14px}.referral-share-buttons button{flex:1;height:38px;border:1px solid #dce4ed;border-radius:7px;background:#fff;color:var(--navy);font-weight:800}.mini-stat-card span{display:block;color:var(--muted);font-size:10px;margin-top:5px}

.calculator-professional-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:20px}.professional-calculator{max-width:none}.calculator-service-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.calculator-service-tabs button{min-height:105px;border:1px solid #dce4ed;border-radius:11px;background:#fff;padding:13px;text-align:left}.calculator-service-tabs button.active{border-color:var(--red);box-shadow:0 0 0 2px rgba(225,27,34,.10);background:#fff8f8}.calculator-service-tabs span,.calculator-service-tabs strong,.calculator-service-tabs small{display:block}.calculator-service-tabs span{font-size:22px}.calculator-service-tabs strong{margin:8px 0 3px;color:var(--navy)}.calculator-service-tabs small{color:var(--muted)}
.dimension-details{margin-top:15px;border:1px solid #dce4ed;border-radius:9px;padding:12px}.dimension-details summary{cursor:pointer;color:var(--blue);font-weight:850}.dimension-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.calculator-breakdown{align-self:start;position:sticky;top:92px}.calculator-empty-icon{width:54px;height:54px;margin:20px auto 10px;border-radius:15px;display:grid;place-items:center;background:#eef3f8;color:var(--blue);font-size:25px}#calculator-empty-state{text-align:center;color:var(--muted);padding:20px 0}.detailed-result{display:none!important;background:transparent!important;padding:0!important}.detailed-result.visible{display:block!important}.detailed-result>div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e7ecf2}.detailed-result span{color:var(--muted)}.detailed-result .estimate-total-row{margin-top:6px;border:0;background:var(--navy);color:#fff;padding:16px;border-radius:9px}.detailed-result .estimate-total-row span{color:#d8e5f5}.detailed-result p{font-size:10px;color:var(--muted);line-height:1.5}

.payment-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.empty-payment-state{text-align:center;padding:22px}.payment-card-visual{width:min(390px,100%);height:205px;margin:12px auto 24px;padding:24px;border-radius:18px;background:linear-gradient(135deg,var(--navy-deep),var(--blue));color:#fff;text-align:left;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 18px 36px rgba(3,23,53,.22)}.payment-card-visual span,.payment-card-visual strong,.payment-card-visual small{display:block}.payment-card-visual span{font-size:17px;font-weight:900}.payment-card-visual strong{font-size:24px;letter-spacing:2px}.payment-card-visual small{color:#cbd9eb}.empty-payment-state p{max-width:560px;margin:0 auto 18px;color:var(--muted)}.payment-security-card{text-align:center}.security-shield{width:64px;height:64px;margin:0 auto 15px;border-radius:50%;display:grid;place-items:center;background:#e7f0ff;color:var(--blue);font-size:28px}.payment-security-card p{color:var(--muted);line-height:1.6}.payment-security-card ul{text-align:left;line-height:2;color:var(--muted)}

.profile-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px}.profile-photo-card{text-align:center;align-self:start}.profile-photo-preview{width:130px;height:130px;margin:10px auto 15px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;font-size:34px;font-weight:900;overflow:hidden;border:5px solid #edf3f9}.profile-photo-preview img{width:100%;height:100%;object-fit:cover}.profile-photo-card p{color:var(--muted)}.photo-upload-button{display:block;width:100%;padding:11px;border-radius:8px;background:var(--red);color:#fff;font-weight:850;cursor:pointer}.photo-upload-button input{display:none}.profile-photo-card .text-button{margin:10px 0}.profile-photo-card>small{display:block;color:var(--muted)}.profile-details-card hr{border:0;border-top:1px solid #e7ecf2;margin:24px 0}.profile-security-row{display:flex;justify-content:space-between;padding:14px 0;color:var(--muted)}.profile-form-actions{display:flex;align-items:center;gap:15px;margin-top:20px}

.support-page-view{padding-bottom:30px}.help-hero-card{padding:30px;margin-bottom:20px;border-radius:14px;background:linear-gradient(135deg,var(--navy-deep),var(--blue));color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.help-hero-card small{color:#bbcee7;font-weight:850}.help-hero-card h2{font-size:27px;margin:5px 0}.help-hero-card p{color:#d9e5f3}.help-search{width:min(500px,100%);height:52px;display:flex;align-items:center;gap:10px;padding:0 15px;border-radius:10px;background:#fff;color:var(--muted)}.help-search input{flex:1;border:0;outline:0}
.help-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.help-category-grid article{background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:20px;box-shadow:0 9px 24px rgba(6,37,91,.05)}.help-category-grid article>div{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:#eef3f9;color:var(--blue);font-size:20px}.help-category-grid h3{margin:13px 0 7px}.help-category-grid p{color:var(--muted);font-size:12px;line-height:1.5}.help-category-grid button{border:0;background:transparent;color:var(--red);font-weight:850;padding:0}
.support-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.help-faq-panel details{padding:15px 0;border-bottom:1px solid #e7ecf2}.help-faq-panel details:last-child{border-bottom:0}.help-faq-panel summary{cursor:pointer;font-weight:850}.help-faq-panel p{color:var(--muted);line-height:1.55}.still-need-help-card{text-align:center;align-self:start}.still-need-help-card>div{width:60px;height:60px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#fff0f0;color:var(--red);font-size:27px}.still-need-help-card p{color:var(--muted);line-height:1.6}

.contact-channel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.contact-channel-grid article{background:#fff;border:1px solid #dfe7ef;border-radius:13px;padding:22px;box-shadow:0 9px 24px rgba(6,37,91,.05)}.contact-channel-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-size:21px;margin-bottom:14px}.contact-channel-icon.phone{background:#e7f0ff;color:var(--blue)}.contact-channel-icon.whatsapp{background:#e5f8ea;color:#16843a}.contact-channel-icon.email{background:#fff0f0;color:var(--red)}.contact-channel-grid small{color:var(--muted);font-weight:850}.contact-channel-grid h3{margin:6px 0}.contact-channel-grid p{color:var(--muted);line-height:1.55}.contact-channel-grid a{color:var(--red);font-weight:850}
.contact-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px}.contact-support-form{max-width:none}.contact-side-column{display:grid;gap:16px;align-content:start}.business-hours-card>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e7ecf2}.business-hours-card>div:last-child{border-bottom:0}.business-hours-card span{color:var(--muted)}.location-card p{color:var(--muted);line-height:1.6}.map-placeholder{height:155px;margin:14px 0;border-radius:10px;background:linear-gradient(135deg,#eaf1f8,#dbe7f4);display:grid;place-items:center;align-content:center;color:var(--navy)}.map-placeholder span{font-size:30px;color:var(--red)}.map-placeholder strong,.map-placeholder small{display:block}.response-time-card{padding:17px;border-radius:11px;background:var(--navy);color:#fff}.response-time-card strong,.response-time-card span{display:block}.response-time-card span{color:#c7d6e9;margin-top:4px}
textarea{width:100%;border:1px solid #dce4ed;border-radius:8px;padding:12px;font:inherit}

@media(max-width:1180px){
  .calculator-professional-layout,.tracking-layout,.payment-layout,.contact-main-grid{grid-template-columns:1fr}
  .notifications-layout{grid-template-columns:1fr}
  .profile-layout{grid-template-columns:260px minmax(0,1fr)}
  .help-category-grid{grid-template-columns:1fr 1fr}
  .contact-channel-grid{grid-template-columns:1fr}
  .support-bottom-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  .portal-sidebar{width:86px}
  .portal-main-v25{margin-left:86px;width:calc(100% - 86px)}
  .portal-sidebar .portal-brand img{width:68px!important;height:68px!important;object-fit:cover!important;object-position:left!important}
  .portal-sidebar .portal-brand{height:86px!important}
  .package-toolbar{flex-wrap:wrap}.search-control{min-width:100%}
  .prealert-summary-grid,.invoice-summary-grid{grid-template-columns:1fr}
  .profile-layout{grid-template-columns:1fr}
  .help-hero-card{display:block}.help-search{margin-top:20px}
}
@media(max-width:620px){
  .calculator-service-tabs,.dimension-grid,.help-category-grid{grid-template-columns:1fr}
  .profile-form-actions{display:block}.profile-form-actions .form-result{margin-top:10px}
  .tracking-input-row{grid-template-columns:1fr}
  .contact-channel-grid{grid-template-columns:1fr}
  .referral-share-buttons{display:grid}
  .portal-footer-v25{position:static!important}
}


/* V28 global visual-system polish */
:root{
  --portal-bg:#f2f5f8;
  --portal-surface:#ffffff;
  --portal-surface-soft:#f8fafc;
  --portal-border:#dfe7ef;
  --portal-border-strong:#cfdbe7;
  --portal-text:#10233f;
  --portal-muted:#687a91;
  --portal-shadow:0 14px 34px rgba(6,37,91,.07);
  --portal-shadow-hover:0 18px 42px rgba(6,37,91,.11);
}
.portal-v25{background:var(--portal-bg)!important;color:var(--portal-text)!important}
.portal-main-v25{background:
  radial-gradient(circle at 95% 0%,rgba(15,80,150,.06),transparent 28%),
  linear-gradient(180deg,#f8fafc 0,#f2f5f8 240px)!important}
.portal-view{animation:portalFade .22s ease both;padding-bottom:36px}
@keyframes portalFade{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}
.portal-top-v25{padding:4px 2px 2px!important}
.portal-top-v25 small{letter-spacing:1.25px;color:var(--red)!important;font-weight:900!important}
.portal-top-v25 h1{letter-spacing:-.7px;font-size:34px!important}
.portal-top-v25 p{font-size:13px!important;line-height:1.55!important}
.panel,.shipping-address-card,.stat-card,.contact-channel-grid article,.help-category-grid article,
.prealert-summary-grid article,.invoice-summary-grid article{
  border:1px solid var(--portal-border)!important;
  box-shadow:var(--portal-shadow)!important;
  background:rgba(255,255,255,.98)!important;
}
.panel{border-radius:14px!important}
.panel:hover,.shipping-address-card:hover,.help-category-grid article:hover,.contact-channel-grid article:hover{
  box-shadow:var(--portal-shadow-hover)!important;
  transform:translateY(-1px);
  transition:transform .18s ease,box-shadow .18s ease;
}
.portal-appbar{box-shadow:0 1px 0 rgba(6,37,91,.06),0 8px 24px rgba(6,37,91,.035)!important}
.portal-nav{display:grid;gap:3px}
.portal-nav a{position:relative;min-height:44px;padding:11px 13px!important;border:1px solid transparent}
.portal-nav a span{
  width:27px!important;height:27px!important;border-radius:8px;
  display:grid!important;place-items:center!important;
  background:rgba(255,255,255,.06);
}
.portal-nav a:hover{background:rgba(255,255,255,.08)!important;box-shadow:none!important}
.portal-nav a.active{
  background:linear-gradient(90deg,#d71920,#e9353c)!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 10px 22px rgba(215,25,32,.22)!important;
}
.portal-nav a.active span{background:rgba(255,255,255,.15)}
.portal-nav-label{margin-top:4px!important}
.button,.btn{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.button:hover,.btn:hover{transform:translateY(-1px)}
.btn-red{box-shadow:0 10px 22px rgba(215,25,32,.18)!important}
input,select,textarea{
  min-height:44px!important;
  border:1px solid var(--portal-border-strong)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--portal-text)!important;
  outline:none!important;
  transition:border .16s ease,box-shadow .16s ease;
}
input:focus,select:focus,textarea:focus{
  border-color:#2769ac!important;
  box-shadow:0 0 0 3px rgba(39,105,172,.11)!important;
}
table{border-collapse:separate!important;border-spacing:0!important}
.table thead th{
  background:#eef3f8!important;color:#425a75!important;
  border-bottom:1px solid var(--portal-border-strong)!important;
  font-size:10px!important;letter-spacing:.55px!important;text-transform:uppercase!important
}
.table tbody tr{transition:background .15s ease}
.table tbody tr:hover{background:#f8fbfe}
.table td{border-bottom:1px solid #e7edf3!important}
.package-table-panel,.invoice-list-panel{padding:18px!important}
.package-filter-tabs{padding:6px;background:#e9eff5;border-radius:12px;gap:5px}
.package-filter-tabs button{border:0!important;background:transparent!important;border-radius:8px!important}
.package-filter-tabs button.active{background:#fff!important;color:var(--navy)!important;box-shadow:0 5px 14px rgba(6,37,91,.09)!important}
.package-filter-tabs button.active span{background:#e8eef6!important;color:var(--navy)!important}
.status-pill,.invoice-chip{border:1px solid transparent}
.status-pill.transit{border-color:#bcd3ef}.status-pill.ready{border-color:#bfe5ca}.status-pill.received{border-color:#ead8b4}
.tracking-search-card{background:linear-gradient(180deg,#fff,#f8fbfe)!important}
.tracking-result-card{background:linear-gradient(180deg,#fff,#fafcfe)!important}
.tracking-quick-links button{border:1px solid #dce6f0!important}
.notification-feed,.notification-settings{overflow:hidden}
.notification-item{margin:0!important;padding:17px 14px!important}
.notification-item.unread{border-left:3px solid var(--red);background:#fff8f8!important;border-radius:0!important}
.help-topic-tabs{
  display:flex;gap:7px;overflow:auto;padding:6px;margin-bottom:16px;
  background:#e9eff5;border-radius:12px;
}
.help-topic-tabs button{
  border:0;background:transparent;padding:10px 15px;border-radius:8px;
  color:#60738a;font-weight:850;white-space:nowrap
}
.help-topic-tabs button.active{background:#fff;color:var(--navy);box-shadow:0 5px 14px rgba(6,37,91,.08)}
.help-category-grid article{min-height:205px;display:flex;flex-direction:column}
.help-category-grid article button{margin-top:auto}
.help-category-grid article>div{background:linear-gradient(135deg,#eaf2fb,#dce9f7)!important}
.help-faq-panel details{background:#fbfcfe;margin:8px 0;padding:15px!important;border:1px solid #e2e9f0!important;border-radius:10px}
.help-faq-panel details[open]{background:#fff}
.contact-channel-grid article{min-height:235px;display:flex;flex-direction:column}
.contact-channel-grid article a{margin-top:auto}
.contact-main-grid{align-items:start}
.contact-support-form{padding:25px!important}
.contact-form-heading{align-items:flex-start!important;padding-bottom:18px;border-bottom:1px solid #e5ebf1}
.contact-form-heading p{margin:4px 0 0;color:var(--portal-muted);font-size:12px}
.contact-customer-chip{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #dce5ee;border-radius:10px;background:#f8fafc}
.contact-customer-chip>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900}
.contact-customer-chip strong,.contact-customer-chip small{display:block}
.contact-customer-chip small{color:var(--portal-muted);margin-top:2px}
.contact-form-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px;margin-top:21px
}
.contact-form-grid label{display:flex!important;flex-direction:column!important;margin:0!important;min-width:0}
.contact-form-grid label>span{display:block;margin:0 0 7px;color:#435a73;font-size:11px;font-weight:850}
.contact-form-grid input,.contact-form-grid select,.contact-form-grid textarea{width:100%;margin:0!important}
.contact-form-grid .full{grid-column:1/-1}
.contact-form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}
.privacy-note{max-width:430px;color:var(--portal-muted);font-size:11px;line-height:1.5}
.business-hours-card,.location-card{padding:21px!important}
.map-card{
  position:relative;height:205px;margin:15px 0;border-radius:12px;overflow:hidden;
  border:1px solid #d7e2ec;background:#e4edf6
}
.map-card img{width:100%;height:100%;object-fit:cover;display:block}
.map-card-overlay{
  position:absolute;left:12px;right:12px;bottom:12px;
  display:flex;align-items:center;gap:10px;padding:11px 12px;
  background:rgba(255,255,255,.94);backdrop-filter:blur(7px);
  border:1px solid rgba(207,219,231,.9);border-radius:10px;
  box-shadow:0 8px 20px rgba(6,37,91,.12)
}
.map-pin{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#fff0f0;color:var(--red);font-size:19px}
.map-card-overlay strong,.map-card-overlay small{display:block}
.map-card-overlay small{color:var(--portal-muted);font-size:10px;margin-top:3px}
.response-time-card{box-shadow:0 12px 27px rgba(6,37,91,.13)}
.profile-details-card,.profile-photo-card{min-height:100%}
.profile-details-card label{display:flex;flex-direction:column;margin:0}
.profile-details-card label input,.profile-details-card label select{margin-top:7px!important}
.calculator-professional-layout,.payment-layout,.profile-layout,.tracking-layout,.notifications-layout,.contact-main-grid,.support-bottom-grid{gap:22px!important}
.calculator-service-tabs button{transition:all .16s ease}
.calculator-service-tabs button:hover{border-color:#a7bdd3;transform:translateY(-1px)}
.calculator-service-tabs button.active{background:linear-gradient(180deg,#fff9f9,#fff)!important}
.portal-footer-v25{
  min-height:72px!important;align-items:center!important;
  border-top:1px solid #dce5ed!important;background:#fff!important;
  box-shadow:0 -6px 20px rgba(6,37,91,.025)
}
@media(max-width:900px){
  .contact-form-heading{display:block!important}
  .contact-customer-chip{margin-top:14px;width:max-content}
}
@media(max-width:680px){
  .contact-form-grid{grid-template-columns:1fr}
  .contact-form-grid .full{grid-column:auto}
  .contact-form-footer{display:block}
  .contact-form-footer .btn{margin-top:14px;width:100%}
}


/* V29 customer and admin refinement */
.profile-menu-wrap{position:relative}
.profile-menu-button{border:0;background:transparent;cursor:pointer;padding:4px 6px;border-radius:10px}
.profile-menu-button:hover{background:#f2f6fa}
.profile-menu-button i{font-style:normal;color:#75879c;transition:transform .18s ease}
.profile-menu-button[aria-expanded="true"] i{transform:rotate(180deg)}
.profile-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:250px;background:#fff;border:1px solid #dce5ed;border-radius:12px;box-shadow:0 22px 55px rgba(6,37,91,.18);padding:9px;z-index:100}
.profile-dropdown-head{display:flex;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #e7edf3;margin-bottom:5px}
.profile-dropdown-head>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900}
.profile-dropdown-head strong,.profile-dropdown-head small{display:block}.profile-dropdown-head small{color:var(--muted);margin-top:2px}
.profile-dropdown button,.profile-dropdown a{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:#fff;padding:10px;border-radius:8px;color:var(--navy);font-weight:800;font-size:12px;text-align:left}
.profile-dropdown button:hover,.profile-dropdown a:hover{background:#f2f6fa}.profile-dropdown hr{border:0;border-top:1px solid #e7edf3;margin:5px 0}.profile-dropdown b{background:var(--red);color:#fff;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:9px}

.store-icon.amazon-mini,.activity-store.amazon-mini{background:#111827!important;color:#fff!important}.store-icon.amazon-mini:after,.activity-store.amazon-mini:after{content:"⌣";color:#ff9900}
.store-icon.shein-mini,.activity-store.shein-mini{background:#000!important;color:#fff!important}
.store-icon.ebay-mini,.activity-store.ebay-mini{background:#fff!important;color:#e53238!important;border:1px solid #dce4ed}
.activity-store.walmart-mini{background:#0672ce;color:#fff}

.package-details-modal{width:min(650px,92vw)}
.package-detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.package-detail-summary div{padding:14px;border:1px solid #dce5ed;border-radius:10px;background:#f8fafc}
.package-detail-summary span,.package-detail-summary strong{display:block}.package-detail-summary span{color:var(--muted);font-size:10px}.package-detail-summary strong{margin-top:5px;color:var(--navy)}
.package-detail-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}

.payment-preference-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px}
.payment-option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}
.payment-option-grid button{min-height:125px;border:1px solid #dce5ed;border-radius:12px;background:#fff;text-align:left;padding:16px}
.payment-option-grid button.active{border-color:var(--red);background:#fff8f8;box-shadow:0 0 0 3px rgba(215,25,32,.09)}
.payment-option-grid span,.payment-option-grid strong,.payment-option-grid small{display:block}.payment-option-grid span{font-size:25px}.payment-option-grid strong{margin:10px 0 4px;color:var(--navy)}.payment-option-grid small{color:var(--muted)}
.payment-preference-summary{display:flex;justify-content:space-between;padding:15px;border-radius:10px;background:#f3f7fb;margin-bottom:16px}.payment-information-card p,.payment-information-card li{color:var(--muted);line-height:1.65}

.admin-v29{display:flex;background:#f2f5f8}
.admin-sidebar{width:292px}
.admin-main-v29{margin-left:292px;width:calc(100% - 292px)}
.admin-role-chip{margin:5px 8px 14px;padding:11px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.04)}
.admin-role-chip span,.admin-role-chip strong{display:block}.admin-role-chip span{color:#ff777d;font-size:9px;font-weight:900;letter-spacing:1px}.admin-role-chip strong{color:#fff;font-size:12px;margin-top:4px}
.admin-top-actions{display:flex;gap:10px}
.admin-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}
.admin-kpi-grid.compact{grid-template-columns:repeat(3,1fr)}
.admin-kpi-grid article{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #dfe7ef;border-radius:13px;background:#fff;box-shadow:0 10px 26px rgba(6,37,91,.055)}
.admin-kpi-grid small,.admin-kpi-grid strong,.admin-kpi-grid em{display:block}.admin-kpi-grid small{color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.5px}.admin-kpi-grid strong{font-size:27px;color:var(--navy);margin-top:4px}.admin-kpi-grid em{font-style:normal;color:#7d8da2;font-size:10px;margin-top:4px}
.kpi-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-weight:900}.kpi-icon.blue{background:#e7f0ff;color:#0753a6}.kpi-icon.green{background:#e5f8ea;color:#16843a}.kpi-icon.purple{background:#f0e9ff;color:#7b2bff}.kpi-icon.orange{background:#fff4df;color:#a66a00}.kpi-icon.red{background:#fff0f0;color:var(--red)}.kpi-icon.navy{background:#e9eef5;color:var(--navy)}
.admin-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}
.admin-dashboard-side{display:grid;gap:16px;align-content:start}
.admin-activity-list article{display:grid;grid-template-columns:42px 1fr auto 65px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #e7edf3}.admin-activity-list article:last-child{border-bottom:0}
.activity-store{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;font-weight:950}
.admin-activity-list strong,.admin-activity-list small{display:block}.admin-activity-list small{color:var(--muted);margin-top:3px}
.admin-alert-card button{width:100%;display:grid;grid-template-columns:30px 1fr auto;align-items:center;text-align:left;border:0;border-bottom:1px solid #e7edf3;background:#fff;padding:13px 0;color:var(--navy);font-weight:800}.admin-alert-card button span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#fff0f0;color:var(--red)}
.shipment-progress-card p{color:var(--muted)}.shipment-progress{height:8px;border-radius:999px;background:#e7edf3;overflow:hidden}.shipment-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--red),#ff6e73)}.shipment-progress-card>div:last-child{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:var(--muted)}
.admin-filter-bar,.report-filter-bar{display:flex;gap:10px;align-items:center;margin-bottom:15px}.admin-filter-bar .search-control{flex:1}.admin-filter-bar select,.report-filter-bar select{height:42px;border:1px solid #dce5ed;border-radius:8px;padding:0 11px;background:#fff}
.admin-table-panel{padding:18px}.admin-data-table{min-width:1000px}.admin-data-table.wide{min-width:1250px}.admin-data-table td strong,.admin-data-table td small{display:block}.admin-data-table td small{color:var(--muted);margin-top:3px}
.table-customer{display:flex;align-items:center;gap:10px}.table-customer>span{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-size:11px;font-weight:900}
.admin-row-action{min-width:38px;height:34px;border:1px solid #dce5ed;border-radius:8px;background:#fff;color:var(--navy);font-weight:900}
.shipment-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.shipment-card-head{display:flex;justify-content:space-between}.shipment-card-head h3{margin:4px 0}.shipment-route{display:flex;align-items:center;justify-content:space-between;margin:20px 0;padding:15px;border-radius:10px;background:#f3f7fb}.shipment-route span{font-weight:900;color:var(--navy)}.shipment-card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.shipment-card-metrics div{text-align:center;padding:12px;border:1px solid #e0e7ef;border-radius:9px}.shipment-card-metrics strong,.shipment-card-metrics span{display:block}.shipment-card-metrics span{color:var(--muted);font-size:10px;margin-top:4px}
.rate-rule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.rate-rule-card>div:first-child{display:flex;align-items:center;gap:12px}.rate-rule-card>div:first-child>span{width:45px;height:45px;border-radius:11px;display:grid;place-items:center;background:#eef3f8;font-size:22px}.rate-rule-card h3{margin:4px 0}.rate-rule-card dl{display:grid;grid-template-columns:1fr auto;gap:12px;margin:22px 0}.rate-rule-card dt{color:var(--muted)}.rate-rule-card dd{margin:0;font-weight:900;color:var(--navy)}
.admin-notification-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.admin-message-list article{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #e7edf3}.channel-status div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e7edf3}.channel-status .online{color:#16843a}.channel-status .pending{color:#a66a00}
.report-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:20px}.bar-chart{height:230px;display:flex;align-items:end;gap:18px;padding:20px 10px 0}.bar-chart span{flex:1;background:linear-gradient(180deg,#ef5a60,var(--red));border-radius:6px 6px 0 0}.chart-labels{display:flex;justify-content:space-around;color:var(--muted);font-size:10px}.service-breakdown-card>div{display:flex;justify-content:space-between;margin:18px 0 7px}.service-breakdown-card progress{width:100%;height:9px;accent-color:var(--red)}
.role-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.role-card>span{display:inline-flex;padding:6px 8px;border-radius:999px;background:#eef3f8;color:var(--blue);font-size:9px;font-weight:900}.role-card p{color:var(--muted);line-height:1.55}.role-card>strong{color:var(--navy)}
.admin-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin-settings-form label{display:flex;flex-direction:column;margin-top:14px}.admin-settings-form input,.admin-settings-form select,.admin-settings-form textarea{margin-top:6px}.admin-settings-form .btn{margin-top:18px}
.admin-action-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.admin-action-options button{min-height:48px;border:1px solid #dce5ed;border-radius:9px;background:#fff;color:var(--navy);font-weight:850}
body.admin-sidebar-collapsed .admin-sidebar{width:86px;padding-left:8px;padding-right:8px}body.admin-sidebar-collapsed .admin-main-v29{margin-left:86px;width:calc(100% - 86px)}body.admin-sidebar-collapsed .admin-role-chip,body.admin-sidebar-collapsed .portal-nav-label{display:none}body.admin-sidebar-collapsed .portal-nav a{font-size:0!important}body.admin-sidebar-collapsed .portal-nav a span{font-size:17px!important;margin:auto}

@media(max-width:1200px){
  .admin-kpi-grid{grid-template-columns:1fr 1fr}
  .admin-dashboard-grid,.admin-notification-layout,.report-grid{grid-template-columns:1fr}
  .rate-rule-grid{grid-template-columns:1fr 1fr}
  .role-card-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .admin-sidebar{width:86px}.admin-main-v29{margin-left:86px;width:calc(100% - 86px)}.admin-role-chip,.admin-sidebar .portal-nav-label{display:none}.admin-sidebar .portal-nav a{font-size:0!important}.admin-sidebar .portal-nav a span{font-size:17px!important;margin:auto}
  .admin-settings-grid,.shipment-card-grid,.payment-preference-layout{grid-template-columns:1fr}
}
@media(max-width:620px){
  .admin-kpi-grid,.admin-kpi-grid.compact,.rate-rule-grid,.role-card-grid,.payment-option-grid{grid-template-columns:1fr}
  .admin-top-actions{display:grid;width:100%}
  .admin-filter-bar,.report-filter-bar{flex-wrap:wrap}.admin-filter-bar .search-control{min-width:100%}
  .package-detail-actions{grid-template-columns:1fr}
}


/* V30 FINAL UPGRADE LAYER */

body.admin-sidebar-collapsed .admin-sidebar .portal-brand img{opacity:0!important;visibility:hidden!important;transform:scale(.8)!important}body.admin-sidebar-collapsed .admin-sidebar .portal-brand{background:transparent!important;border:0!important;box-shadow:none!important}.admin-notification-wrap{position:relative}.admin-notification-popover{position:absolute;right:0;top:calc(100% + 12px);width:360px;padding:10px;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border:1px solid #dce5ed;border-radius:14px;box-shadow:0 24px 65px rgba(6,37,91,.22);z-index:120}.notification-popover-head{display:flex;align-items:center;justify-content:space-between;padding:10px;border-bottom:1px solid #e6ecf2}.notification-popover-head strong,.notification-popover-head span{display:block}.notification-popover-head span{color:var(--muted);font-size:10px;margin-top:3px}.notification-popover-head button{border:0;background:transparent;color:var(--red);font-weight:850}.notification-preview-item{width:100%;display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;text-align:left;border:0;background:#fff;padding:12px;border-radius:10px}.notification-preview-item:hover{background:#f5f8fb}.notification-preview-item strong,.notification-preview-item small{display:block}.notification-preview-item small{color:var(--muted);margin-top:3px}.notification-preview-item i{font-style:normal;color:#8b9caf}.admin-top-actions .button,.admin-top-actions .btn,.portal-top .button,.portal-top .btn{border-radius:11px!important;box-shadow:0 10px 22px rgba(6,37,91,.08)}.admin-filter-bar,.report-filter-bar{padding:10px;background:#e9eff5;border-radius:12px}.search-control{overflow:hidden}.search-control:after{display:none!important;content:none!important}.admin-action-modal{width:min(620px,92vw)}.admin-action-options button{min-height:54px;border-radius:11px;background:linear-gradient(180deg,#fff,#f8fafc);transition:all .16s ease}.admin-action-options button:hover{border-color:#9db2c8;transform:translateY(-1px);box-shadow:0 9px 20px rgba(6,37,91,.08)}.admin-action-feedback{margin-top:12px;padding:14px;border-radius:10px;background:#eef5ff;color:var(--blue);font-weight:800}.shipment-card-head{align-items:flex-start}.shipment-card-head>div{min-height:52px}.shipment-card-head .status-pill{margin-top:2px;min-width:78px;justify-content:center}.shipment-batch-card{display:flex;flex-direction:column}.shipment-batch-card .button{margin-top:auto}.shipment-card-grid{align-items:stretch}.upgraded-report-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important}.report-chart-card{grid-column:1/2}.service-breakdown-card{grid-column:2/3}.report-trend{padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900}.report-trend.positive{background:#e7f8ed;color:#16843a}.line-chart{height:280px;margin-top:10px}.line-chart svg{width:100%;height:100%;display:block}.chart-grid line{stroke:#e5ebf1;stroke-width:1}.donut-wrap{display:grid;place-items:center;margin:18px 0}.donut-chart{width:180px;height:180px;border-radius:50%;background:conic-gradient(#e11b22 0 52%,#2d6fb5 52% 80%,#06255b 80% 100%);display:grid;place-items:center;position:relative}.donut-chart:before{content:"";position:absolute;width:112px;height:112px;border-radius:50%;background:#fff}.donut-chart span{position:relative;z-index:1;text-align:center;font-size:28px;font-weight:950;color:var(--navy)}.donut-chart span small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.service-legend{display:grid;gap:10px}.service-legend div{display:grid;grid-template-columns:12px 1fr auto;gap:8px;align-items:center}.legend-dot{width:10px;height:10px;border-radius:50%}.legend-dot.red{background:#e11b22}.legend-dot.blue{background:#2d6fb5}.legend-dot.navy{background:#06255b}.rank-list article{display:grid;grid-template-columns:34px 1fr auto;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid #e7edf3}.rank-list article>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:var(--navy);font-weight:900}.rank-list small{display:block;color:var(--muted);margin-top:3px}.operational-metrics-card>div{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e7edf3}.operational-metrics-card>div:last-child{border-bottom:0}.operational-metrics-card span{color:var(--muted)}.role-summary-strip,.audit-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.role-summary-strip article{padding:16px;border:1px solid #dfe7ef;border-radius:12px;background:#fff;box-shadow:0 9px 22px rgba(6,37,91,.05)}.role-summary-strip strong,.role-summary-strip span{display:block}.role-summary-strip strong{font-size:25px;color:var(--navy)}.role-summary-strip span{color:var(--muted);font-size:11px;margin-top:4px}.staff-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.compact-search{max-width:260px}.permission-summary-card>div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e7edf3}.permission-summary-card>div:last-of-type{margin-bottom:14px}.permission-summary-card span{color:var(--muted)}.audit-summary-grid article{display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid #dfe7ef;border-radius:12px;box-shadow:0 9px 22px rgba(6,37,91,.05)}.audit-summary-grid small,.audit-summary-grid strong{display:block}.audit-summary-grid small{color:var(--muted);font-size:9px}.audit-summary-grid strong{font-size:24px;color:var(--navy);margin-top:3px}.settings-tab-bar{display:flex;gap:6px;padding:6px;margin-bottom:18px;background:#e9eff5;border-radius:12px;overflow:auto}.settings-tab-bar button{border:0;background:transparent;padding:10px 14px;border-radius:8px;color:var(--muted);font-weight:850;white-space:nowrap}.settings-tab-bar button.active{background:#fff;color:var(--navy);box-shadow:0 5px 14px rgba(6,37,91,.08)}.settings-panel{display:none}.settings-panel.active{display:block}.security-status-list div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e7edf3}.security-status-list span{color:var(--muted)}.admin-settings-form .button+.button{margin-top:10px}.calculator-shell{display:grid;gap:18px}.calculator-service-rail{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.calculator-service-rail button{display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;min-height:94px;padding:16px;border:1px solid #dce5ed;border-radius:14px;background:#fff;text-align:left}.calculator-service-rail button>span{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:#eef3f8;font-size:21px}.calculator-service-rail strong,.calculator-service-rail small{display:block}.calculator-service-rail small{color:var(--muted);margin-top:4px}.calculator-service-rail b{font-size:10px;color:var(--muted)}.calculator-service-rail button.active{border-color:var(--red);background:#fff8f8;box-shadow:0 0 0 3px rgba(225,27,34,.08)}.calculator-service-rail button.active>b{color:var(--red)}.calculator-main-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:22px}.tidy-calculator{padding:24px!important}.calculator-step-chip,.estimate-status{padding:6px 9px;border-radius:999px;background:#eef3f8;color:var(--navy);font-size:9px;font-weight:900}.calculator-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:20px}.calculator-input-grid label,.dimension-grid label{display:flex;flex-direction:column;margin:0}.calculator-input-grid label>span,.dimension-grid label>span{display:block;margin-bottom:7px;color:#425b74;font-size:11px;font-weight:850}.input-with-suffix,.input-with-prefix{display:grid;align-items:center;border:1px solid #cfdbe7;border-radius:9px;background:#fff;overflow:hidden}.input-with-suffix{grid-template-columns:1fr 52px}.input-with-prefix{grid-template-columns:58px 1fr}.input-with-suffix input,.input-with-prefix input{border:0!important;box-shadow:none!important;margin:0!important}.input-with-suffix b,.input-with-prefix b{height:100%;display:grid;place-items:center;background:#f3f6f9;color:#60738a;font-size:11px;border-left:1px solid #dce5ed}.input-with-prefix b{border-left:0;border-right:1px solid #dce5ed}.dimension-details{background:#fafcfe}.dimension-details>p{color:var(--muted);font-size:11px;margin:8px 0 0}.calculator-form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}.calculator-form-footer>span{color:var(--muted);font-size:10px;max-width:320px}.tidy-breakdown{position:sticky;top:92px;align-self:start;padding:24px!important}.calculator-empty-state{text-align:center;padding:34px 18px}.calculator-empty-state h4{margin:10px 0 5px}.calculator-empty-state p{color:var(--muted)}.detailed-result.visible{display:block!important}.estimate-status{background:#fff4df;color:#a66a00}.estimate-status.ready{background:#e7f8ed;color:#16843a}@media(max-width:1200px){.upgraded-report-grid{grid-template-columns:1fr!important}.report-chart-card,.service-breakdown-card{grid-column:auto}.staff-layout{grid-template-columns:1fr}.calculator-main-grid{grid-template-columns:1fr}.tidy-breakdown{position:static}}@media(max-width:900px){.role-summary-strip,.audit-summary-grid{grid-template-columns:1fr 1fr}.calculator-service-rail{grid-template-columns:1fr}}@media(max-width:620px){.role-summary-strip,.audit-summary-grid{grid-template-columns:1fr}.calculator-input-grid{grid-template-columns:1fr}.calculator-form-footer{display:block}.calculator-form-footer .btn{width:100%;margin-top:12px}}


/* V31 QUALITY RESTORATION */
body.portal-sidebar-collapsed .portal-sidebar .portal-brand img,
body.admin-sidebar-collapsed .admin-sidebar .portal-brand img{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}
body.portal-sidebar-collapsed .portal-sidebar .portal-brand,
body.admin-sidebar-collapsed .admin-sidebar .portal-brand{
  height:52px!important;
  min-height:52px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.portal-main-v25{
  background:
    radial-gradient(circle at 92% 0%,rgba(33,91,156,.07),transparent 31%),
    linear-gradient(180deg,#fafbfd 0,#f3f6f9 260px)!important;
}
.portal-appbar{
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(14px)!important;
}
.premium-bell-button{
  position:relative!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #d7e1ec!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#ffffff,#f3f7fb)!important;
  box-shadow:0 8px 18px rgba(6,37,91,.08)!important;
  color:var(--navy)!important;
}
.premium-bell-button:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(6,37,91,.13)!important;
}
.premium-bell-button .bell-symbol{
  font-size:18px;
  filter:saturate(1.1);
}
.premium-bell-button b{
  right:-5px!important;
  top:-5px!important;
  width:19px!important;
  height:19px!important;
  box-shadow:0 0 0 3px #fff;
}
.admin-notification-popover{
  border-radius:16px!important;
  overflow:hidden;
  padding:8px!important;
  background:rgba(255,255,255,.985)!important;
}
.notification-popover-head{
  padding:12px 12px 13px!important;
}
.notification-preview-item{
  margin-top:4px;
  border:1px solid transparent!important;
  transition:background .15s ease,border .15s ease,transform .15s ease;
}
.notification-preview-item:hover{
  background:#f6f9fc!important;
  border-color:#e0e8f0!important;
  transform:translateX(2px);
}
.package-icon.store-icon,
.activity-store{
  width:54px!important;
  height:38px!important;
  border-radius:9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px;
  font-weight:950!important;
  font-size:10px!important;
  letter-spacing:.1px;
}
.amazon-mini{
  background:#111827!important;
  color:#fff!important;
}
.amazon-mini>span{
  text-transform:lowercase;
}
.amazon-mini>i{
  color:#ff9900;
  font-style:normal;
  font-size:13px;
  margin-left:-2px;
}
.shein-mini{
  background:#000!important;
  color:#fff!important;
  letter-spacing:.7px;
}
.ebay-mini{
  background:#fff!important;
  color:#e53238!important;
  border:1px solid #d6e0ea!important;
}
.walmart-mini{
  background:#0672ce!important;
  color:#fff!important;
}
.panel,
.stat-card,
.shipping-address-card,
.help-category-grid article,
.contact-channel-grid article,
.admin-kpi-grid article{
  border-radius:16px!important;
  border-color:#dbe4ed!important;
  box-shadow:0 12px 30px rgba(6,37,91,.065)!important;
}
.panel:hover,
.shipping-address-card:hover,
.help-category-grid article:hover,
.contact-channel-grid article:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 18px 38px rgba(6,37,91,.10)!important;
}
.portal-top-v25 h1{
  font-size:35px!important;
  letter-spacing:-.8px!important;
}
.portal-top-v25 p{
  max-width:780px;
}
.help-topic-tabs{
  position:sticky;
  top:74px;
  z-index:8;
  background:rgba(233,239,245,.92)!important;
  backdrop-filter:blur(10px);
  border:1px solid #dce5ee;
  box-shadow:0 8px 18px rgba(6,37,91,.05);
}
.help-topic-tabs button{
  transition:all .16s ease;
}
.help-topic-tabs button:hover{
  background:rgba(255,255,255,.7)!important;
}
.help-topic-tabs button.active{
  background:linear-gradient(180deg,#fff,#f9fbfd)!important;
  color:var(--navy)!important;
  box-shadow:0 6px 16px rgba(6,37,91,.10)!important;
}
.help-category-grid article{
  transition:opacity .18s ease,transform .18s ease,box-shadow .18s ease;
}
.help-category-grid article[hidden],
.help-faq-panel details[hidden]{
  display:none!important;
}
.admin-filter-bar,
.report-filter-bar,
.package-filter-tabs,
.settings-tab-bar{
  border:1px solid #dbe4ed!important;
  box-shadow:0 8px 20px rgba(6,37,91,.045);
}
.search-control{
  background:#fff!important;
  border:1px solid #d5e0eb!important;
  box-shadow:inset 0 1px 0 rgba(6,37,91,.02);
}
.admin-action-modal .modal-form,
.package-details-modal .modal-form,
.portal-modal .modal-form{
  background:#fff!important;
  border-radius:18px!important;
}
.admin-action-options{
  gap:12px!important;
}
.admin-action-options button{
  background:#fff!important;
  border:1px solid #d9e3ed!important;
  border-radius:12px!important;
  box-shadow:0 6px 14px rgba(6,37,91,.045);
}
.admin-action-options button:hover{
  background:#f7fafc!important;
  border-color:#a9bfd4!important;
}
.report-chart-card,
.service-breakdown-card,
.top-customers-card,
.operational-metrics-card{
  min-height:100%;
}
.calculator-service-rail button,
.tidy-calculator,
.tidy-breakdown{
  border-radius:16px!important;
}
.calculator-input-grid{
  align-items:start!important;
}
.calculator-input-grid>label{
  min-width:0;
}
.calculator-input-grid select,
.calculator-input-grid .input-with-prefix,
.calculator-input-grid .input-with-suffix{
  width:100%!important;
  min-height:46px!important;
}
.calculator-breakdown{
  overflow:hidden;
}
.portal-footer-v25{
  margin-top:auto!important;
}
@media(max-width:900px){
  .help-topic-tabs{top:68px}
}


/* V32 FLAGSHIP ENTERPRISE POLISH */
:root{
  --enterprise-radius:18px;
  --enterprise-shadow:0 16px 40px rgba(6,37,91,.08);
  --enterprise-shadow-hover:0 22px 50px rgba(6,37,91,.12);
}
.trust-bar-flagship{
  margin-left:3.2%!important;
  margin-right:3.2%!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  min-height:110px!important;
}
.trust-bar-flagship article{
  padding:26px 40px!important;
}
.highlight-strip-flagship{
  margin-left:3.2%!important;
  margin-right:3.2%!important;
}
.flex-payment-title{
  display:block;
  font-size:18px;
  font-weight:950;
  color:var(--navy);
}
.flex-payment-copy{
  display:block;
  margin-top:4px;
  font-size:14px;
  line-height:1.45;
  color:var(--muted);
}
.contact-anchor-fix{
  scroll-margin-top:86px!important;
}
.brand-badge{
  width:72px!important;
  min-width:72px!important;
  height:42px!important;
  border-radius:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  box-shadow:0 6px 14px rgba(6,37,91,.08);
}
.brand-badge .brand-word{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.amazon-badge{
  background:#111827!important;
  color:#fff!important;
  flex-direction:column!important;
  gap:0!important;
}
.amazon-badge .brand-word{
  font-size:11px!important;
  text-transform:lowercase!important;
  transform:translateY(2px);
}
.amazon-badge .brand-smile{
  color:#ff9900!important;
  font-size:16px!important;
  line-height:.8!important;
  transform:translateY(-1px);
}
.shein-badge{
  background:#000!important;color:#fff!important;
}
.shein-badge .brand-word{
  font-size:10px!important;
  letter-spacing:1px!important;
  font-weight:950!important;
}
.ebay-badge{
  background:#fff!important;
  border:1px solid #d7e1eb!important;
  color:#e53238!important;
}
.ebay-badge .brand-word{
  font-size:12px!important;
  font-weight:900!important;
}
.walmart-badge{
  background:#0672ce!important;color:#fff!important;
}
.walmart-badge .brand-word{
  font-size:10px!important;font-weight:900!important;
}
.package-icon.brand-badge,
.activity-store.brand-badge{
  padding:0!important;
}
.help-dynamic-panel{
  margin-bottom:18px;
  border:1px solid #dce5ee;
  border-radius:16px;
  background:linear-gradient(135deg,#fff,#f7faff);
  box-shadow:var(--enterprise-shadow);
  overflow:hidden;
}
.help-panel{
  display:none;
  min-height:150px;
  padding:24px;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.help-panel.active{
  display:flex;
  animation:helpPanelIn .2s ease both;
}
@keyframes helpPanelIn{
  from{opacity:.25;transform:translateY(5px)}
  to{opacity:1;transform:none}
}
.help-panel-copy small{
  color:var(--red);
  font-size:10px;
  font-weight:900;
  letter-spacing:1px;
}
.help-panel-copy h3{
  margin:5px 0 7px;
  font-size:22px;
  color:var(--navy);
}
.help-panel-copy p{
  max-width:700px;
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.help-panel-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.help-panel-actions button{
  border:1px solid #d8e2ec;
  border-radius:10px;
  background:#fff;
  padding:11px 14px;
  color:var(--navy);
  font-weight:850;
}
.help-panel-actions button:hover{
  background:#f5f8fb;
}
.danger-request-button{
  border-color:#efb1b4!important;
  color:var(--red)!important;
}
.danger-request-button:hover{
  background:#fff4f4!important;
}
.portal-nav a,
.admin-kpi-grid article,
.panel,
.stat-card,
.shipping-address-card,
.contact-channel-grid article,
.help-category-grid article{
  border-radius:var(--enterprise-radius)!important;
}
.portal-nav a{
  min-height:46px!important;
}
.panel,
.stat-card,
.shipping-address-card,
.contact-channel-grid article,
.help-category-grid article,
.admin-kpi-grid article{
  box-shadow:var(--enterprise-shadow)!important;
}
.panel:hover,
.shipping-address-card:hover,
.contact-channel-grid article:hover,
.help-category-grid article:hover{
  box-shadow:var(--enterprise-shadow-hover)!important;
}
.admin-activity-list article,
.package-list-v25 article{
  min-height:68px;
}
.admin-activity-list article{
  grid-template-columns:78px 1fr auto 70px!important;
}
.package-list-v25 article{
  grid-template-columns:78px 1fr auto 90px!important;
}
.portal-appbar{
  border-bottom:1px solid rgba(6,37,91,.06)!important;
}
.admin-notification-popover,
.profile-dropdown,
.portal-modal{
  border-radius:18px!important;
}
@media(max-width:900px){
  .trust-bar-flagship,.highlight-strip-flagship{margin-left:0!important;margin-right:0!important}
  .help-panel{display:none}
  .help-panel.active{display:block}
  .help-panel-actions{margin-top:14px}
}


/* V33 FUNCTIONAL ENTERPRISE PASS */
.customer-notification-wrap,.admin-notification-wrap,.export-menu-wrap{position:relative}
.customer-notification-popover{width:360px!important}
.premium-bell-button{
  width:44px!important;height:44px!important;border-radius:13px!important;
  background:linear-gradient(180deg,#fff,#f4f7fb)!important;
  border:1px solid #d7e1ec!important;
  box-shadow:0 9px 20px rgba(6,37,91,.09)!important;
}
.premium-bell-button b{
  background:#e11b22!important;color:#fff!important;
  width:20px!important;height:20px!important;right:-5px!important;top:-6px!important;
  box-shadow:0 0 0 3px #fff!important;
}
.flagship-benefits{
  width:auto!important;
  margin-left:2.2%!important;margin-right:2.2%!important;
  min-height:122px!important;
  border-radius:18px 18px 0 0!important;
}
.flagship-benefits article{padding:29px 46px!important}
.flagship-benefits strong{font-size:15px!important}
.flagship-benefits span{font-size:13px!important;line-height:1.5!important}
.flagship-payments{
  width:auto!important;
  margin-left:2.2%!important;margin-right:2.2%!important;
  min-height:142px!important;
  border-radius:18px!important;
}
.flagship-payments article{padding:27px 30px!important}
.flagship-payments strong{font-size:16px!important}
.flagship-payments span{font-size:13px!important;line-height:1.5!important}
.portal-modal{
  border:0!important;border-radius:20px!important;padding:0!important;
  box-shadow:0 35px 90px rgba(3,23,53,.30)!important;
}
.portal-modal::backdrop{background:rgba(3,20,48,.62)!important;backdrop-filter:blur(4px)}
.portal-modal .modal-form{padding:26px!important}
.modal-heading{padding-bottom:17px!important;border-bottom:1px solid #e6ecf2!important}
.modal-heading h3{font-size:22px!important}
.modal-close{flex:0 0 auto!important}
.form-grid-2{align-items:start!important}
.form-grid-2 label{min-width:0!important;display:flex!important;flex-direction:column!important}
.form-grid-2 label input,.form-grid-2 label select{width:100%!important}
.invoice-dropzone,.invoice-upload-field{
  overflow:hidden!important;word-break:normal!important;
}
.invoice-dropzone span,.invoice-upload-field span{
  max-width:100%!important;line-height:1.45!important;
}
.professional-success-message{
  margin-top:14px;padding:13px 14px;border-radius:10px;
  background:#e8f7ed;color:#15783a;border:1px solid #bfe2ca;
  font-weight:800;font-size:12px;
}
.export-choice-menu{
  position:absolute;right:0;top:calc(100% + 8px);z-index:50;
  width:170px;padding:7px;background:#fff;border:1px solid #dce5ed;
  border-radius:11px;box-shadow:0 18px 45px rgba(6,37,91,.18);
}
.export-choice-menu button{
  width:100%;border:0;background:#fff;text-align:left;padding:10px;border-radius:7px;color:var(--navy);font-weight:800;
}
.export-choice-menu button:hover{background:#f2f6fa}
.enterprise-workflow-modal{width:min(780px,94vw)!important}
.workflow-section{
  margin-top:16px;padding:16px;border:1px solid #e0e7ef;border-radius:12px;background:#f9fbfd;
}
.workflow-section h4{margin:0 0 12px;color:var(--navy)}
.workflow-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.workflow-grid label{display:flex;flex-direction:column;gap:7px;color:#425a74;font-size:11px;font-weight:850}
.workflow-grid .full{grid-column:1/-1}
.workflow-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.invoice-document{
  background:#fff;border:1px solid #dce5ed;border-radius:14px;padding:22px;
}
.invoice-document-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:2px solid var(--navy)}
.invoice-document-head img{width:150px;height:70px;object-fit:contain}
.invoice-document-head div{text-align:right}
.invoice-document-head strong,.invoice-document-head span{display:block}
.invoice-line-table{width:100%;margin-top:18px;border-collapse:collapse!important}
.invoice-line-table th,.invoice-line-table td{padding:10px;border-bottom:1px solid #e3eaf1;text-align:left}
.invoice-line-table input{width:100%;min-height:38px!important}
.invoice-total-box{margin-left:auto;width:min(320px,100%);margin-top:18px}
.invoice-total-box div{display:flex;justify-content:space-between;padding:9px 0}
.invoice-total-box .grand-total{border-top:2px solid var(--navy);font-size:18px;font-weight:950}
.action-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.action-choice-grid button{min-height:52px;border:1px solid #dbe4ed;border-radius:11px;background:#fff;color:var(--navy);font-weight:850}
.action-choice-grid button:hover{background:#f6f9fc;border-color:#a9bfd4}
@media(max-width:680px){
  .workflow-grid,.action-choice-grid{grid-template-columns:1fr}
  .invoice-document-head{display:block}.invoice-document-head div{text-align:left;margin-top:12px}
  .flagship-benefits,.flagship-payments{margin-left:0!important;margin-right:0!important}
}


/* V34 POLISHED FUNCTIONAL PASS */
.contact-anchor-fix{scroll-margin-top:72px!important}
.contact-section-raised{padding-top:44px!important}
.compact-footer{
  display:block!important;
  background:linear-gradient(180deg,#061b38,#031226)!important;
  color:#fff!important;
}
.compact-footer-main{
  max-width:1440px!important;margin:0 auto!important;
  display:grid!important;grid-template-columns:1.3fr 1fr 1fr 1.1fr!important;
  gap:34px!important;padding:46px 5% 30px!important;
}
.compact-footer-bottom{
  max-width:1440px!important;margin:0 auto!important;
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  padding:18px 5%!important;border-top:1px solid rgba(255,255,255,.12)!important;
  color:#b9c9dd!important;font-size:12px!important;text-align:left!important;
}
.compact-footer-brand img{width:185px!important;height:88px!important;object-fit:contain!important;object-position:left center!important}
.compact-footer-brand p{max-width:300px!important;color:#c5d3e5!important;line-height:1.6!important}
.compact-footer-column h4,.compact-footer-contact h4{color:#fff!important;margin:0 0 12px!important}
.compact-link-row{display:grid!important;gap:9px!important}
.compact-footer a,.compact-footer span{color:#c5d3e5!important}
.compact-footer a:hover{color:#fff!important}
.social-icon-button svg,.contact-channel-icon.whatsapp svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-icon-button.instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)!important;color:#fff!important}
.social-icon-button.whatsapp,.contact-channel-icon.whatsapp{background:#25D366!important;color:#fff!important}
.flagship-benefits{
  margin-left:2%!important;margin-right:2%!important;
  min-height:128px!important;border-radius:20px 20px 0 0!important;
  box-shadow:0 18px 46px rgba(6,37,91,.15)!important
}
.flagship-benefits article{padding:31px 48px!important}
.flagship-benefits .trust-icon{width:60px!important;height:60px!important;font-size:27px!important}
.flagship-payments{
  margin-left:2%!important;margin-right:2%!important;
  min-height:150px!important;border-radius:20px!important;
  box-shadow:0 18px 46px rgba(6,37,91,.10)!important
}
.flagship-payments article{padding:30px 32px!important}
.customer-notification-wrap,.admin-notification-wrap{position:relative}
.notification-popover{
  position:absolute;right:0;top:calc(100% + 12px);z-index:150;
  width:370px;padding:9px;background:rgba(255,255,255,.99);
  border:1px solid #d9e3ed;border-radius:17px;
  box-shadow:0 26px 70px rgba(6,37,91,.24);backdrop-filter:blur(12px)
}
.notification-popover-head{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #e7edf3}
.notification-popover-head strong,.notification-popover-head span{display:block}
.notification-popover-head span{font-size:10px;color:var(--muted);margin-top:3px}
.notification-popover-head button{border:0;background:transparent;color:var(--red);font-weight:850}
.notification-preview-item{width:100%;display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;text-align:left;border:1px solid transparent;background:#fff;padding:12px;border-radius:11px}
.notification-preview-item:hover{background:#f5f8fb;border-color:#dfe7ef;transform:translateX(2px)}
.notification-preview-item.read{opacity:.62}
.notice-symbol{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;font-weight:900}
.notice-symbol.ready{background:#e5f8ea;color:#16843a}.notice-symbol.transit{background:#e7f0ff;color:#0753a6}.notice-symbol.invoice{background:#fff0f0;color:var(--red)}
.bell-glyph{width:18px;height:18px;border:3px solid var(--navy);border-radius:11px 11px 7px 7px;position:relative;background:transparent}
.bell-glyph:before{content:"";position:absolute;width:7px;height:3px;border-radius:99px;background:var(--navy);left:50%;bottom:-7px;transform:translateX(-50%)}
.help-panel{display:none!important}
.help-panel.active{display:flex!important}
.help-inline-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.help-inline-actions button{border:1px solid #d8e2ec;border-radius:10px;background:#fff;padding:10px 13px;color:var(--navy);font-weight:850}
.help-inline-actions button:hover{background:#f3f7fb}
.portal-modal{overflow:visible!important}
.portal-modal .modal-form{position:relative!important;padding:28px!important}
.portal-modal .modal-heading{position:relative!important;padding-right:52px!important}
.portal-modal .modal-close{
  position:absolute!important;top:18px!important;right:18px!important;
  width:38px!important;height:38px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;z-index:4!important
}
.portal-modal label{min-width:0!important}
.portal-modal input,.portal-modal select,.portal-modal textarea{max-width:100%!important}
.invoice-dropzone,.invoice-upload-field{box-sizing:border-box!important}
.account-delete-request-button{
  min-height:46px;padding:0 18px;border-radius:11px;border:1px solid #e58b90;
  background:linear-gradient(180deg,#fff,#fff7f7);color:#bd181e;font-weight:900;cursor:pointer
}
.account-delete-request-button:hover{background:#fff0f0;box-shadow:0 9px 22px rgba(190,24,30,.10);transform:translateY(-1px)}
.invoice-required-banner{
  display:grid;grid-template-columns:46px 1fr auto;gap:14px;align-items:center;
  margin-bottom:18px;padding:17px;border:1px solid #efb2b5;border-radius:13px;background:#fff7f7
}
.invoice-required-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:#e11b22;color:#fff;font-weight:950}
.invoice-required-banner strong,.invoice-required-banner p{display:block}.invoice-required-banner p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.ebay-badge,.store-logo.ebay{background:#fff!important;border:1px solid #d8e2eb!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important}
.ebay-e{color:#e53238}.ebay-b{color:#0064d2}.ebay-a{color:#f5af02}.ebay-y{color:#86b817}
.prealert-link-button{min-width:94px!important;color:var(--blue)!important}
.workflow-toast{
  position:fixed;right:24px;bottom:24px;z-index:300;min-width:280px;max-width:420px;
  padding:15px 16px;border-radius:12px;background:#06255b;color:#fff;box-shadow:0 20px 50px rgba(6,37,91,.28)
}
.workflow-toast.success{background:#176d3a}.workflow-toast.error{background:#ad1820}
.pdf-invoice-preview{
  background:#fff;border:1px solid #dce5ee;border-radius:14px;padding:24px;box-shadow:0 14px 35px rgba(6,37,91,.08)
}
@media(max-width:900px){
  .compact-footer-main{grid-template-columns:1fr 1fr!important}
  .compact-footer-bottom{display:grid!important;gap:6px!important}
}
@media(max-width:620px){
  .compact-footer-main{grid-template-columns:1fr!important}
  .invoice-required-banner{grid-template-columns:42px 1fr}.invoice-required-banner button{grid-column:1/-1;width:100%}
  .notification-popover{position:fixed;left:12px;right:12px;top:74px;width:auto}
}


/* V35 REVIEW FIXES */
.admin-sidebar{width:260px!important}
.admin-main-v29{margin-left:260px!important;width:calc(100% - 260px)!important}
.admin-sidebar .portal-brand{height:142px!important}
.admin-sidebar .portal-brand img{
  width:232px!important;height:118px!important;object-fit:contain!important;
  filter:brightness(1.22) contrast(1.08) drop-shadow(0 7px 16px rgba(255,255,255,.10))!important
}
body.admin-sidebar-collapsed .admin-sidebar{width:72px!important}
body.admin-sidebar-collapsed .admin-main-v29{margin-left:72px!important;width:calc(100% - 72px)!important}
body.admin-sidebar-collapsed .admin-sidebar .portal-nav a.active{
  background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:#9fb1c8!important
}
body.admin-sidebar-collapsed .admin-sidebar .portal-nav a.active span{
  background:rgba(255,255,255,.07)!important;color:#c7d6e9!important
}
body.admin-sidebar-collapsed .admin-sidebar .portal-nav a{min-height:40px!important}
body.admin-sidebar-collapsed .admin-sidebar .portal-nav a span{width:32px!important;height:32px!important}
.premium-bell-button svg{width:20px;height:20px;fill:none;stroke:var(--navy);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.notification-subdetails{
  display:block;max-height:0;overflow:hidden;opacity:0;
  color:#7b8da3!important;font-size:10px!important;line-height:1.45;
  transition:max-height .2s ease,opacity .2s ease,margin .2s ease
}
.notification-preview-item.has-subdetails:hover .notification-subdetails{
  max-height:45px;opacity:1;margin-top:5px
}
.notification-preview-item.read{opacity:.58}
.notification-item-menu{
  width:34px;height:34px;border:1px solid #dce5ed!important;border-radius:9px!important;
  background:#fff!important;color:var(--navy)!important;font-weight:900!important
}
.notification-item-menu:hover{background:#f3f7fb!important}
.flagship-benefits-v35{
  min-height:150px!important;margin-left:1.2%!important;margin-right:1.2%!important
}
.flagship-benefits-v35 article{padding:36px 52px!important}
.flagship-benefits-v35 .trust-icon{width:66px!important;height:66px!important;font-size:29px!important}
.flagship-benefits-v35 strong{font-size:17px!important}
.flagship-benefits-v35 span{font-size:14px!important;line-height:1.55!important}
.flagship-payments-v35{
  min-height:176px!important;margin-left:1.2%!important;margin-right:1.2%!important
}
.flagship-payments-v35 article{padding:35px 34px!important}
.flagship-payments-v35 .highlight-icon{width:64px!important;height:64px!important;font-size:28px!important}
.flagship-payments-v35 strong{font-size:18px!important}
.flagship-payments-v35 span{font-size:14px!important;line-height:1.55!important}
.contact-section-raised{padding-top:28px!important;scroll-margin-top:60px!important}
.compact-footer-v35 .compact-footer-main{padding-top:30px!important;padding-bottom:20px!important;gap:24px!important}
.compact-footer-v35 .compact-footer-bottom{padding-top:13px!important;padding-bottom:13px!important}
.compact-footer-v35 .compact-footer-brand img{height:72px!important;width:150px!important}
.compact-footer-v35 .compact-footer-brand p{font-size:12px!important;line-height:1.5!important}
.compact-footer-v35 h4{font-size:13px!important}
.compact-footer-v35 a,.compact-footer-v35 span{font-size:11px!important}
.audit-detail-modal .modal-form{padding:30px!important}
.receipt-document,.invoice-print-document{
  background:#fff;border:1px solid #dce5ed;border-radius:16px;padding:26px;box-shadow:0 16px 38px rgba(6,37,91,.09)
}
.receipt-document-head,.invoice-print-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--navy);padding-bottom:16px}
.receipt-document-head img,.invoice-print-head img{width:150px;height:72px;object-fit:contain}
.receipt-document dl{display:grid;grid-template-columns:1fr auto;gap:12px;margin:22px 0}
.receipt-document dt{color:var(--muted)}.receipt-document dd{margin:0;font-weight:900;color:var(--navy)}
.audit-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.audit-detail-grid div{padding:14px;border:1px solid #e0e7ef;border-radius:11px;background:#f8fafc}
.audit-detail-grid span,.audit-detail-grid strong{display:block}.audit-detail-grid span{font-size:10px;color:var(--muted)}.audit-detail-grid strong{margin-top:5px}
@media(max-width:900px){
  .admin-sidebar{width:72px!important}
  .admin-main-v29{margin-left:72px!important;width:calc(100% - 72px)!important}
  .flagship-benefits-v35,.flagship-payments-v35{margin-left:0!important;margin-right:0!important}
}


/* V36 STABILITY AND VISUAL RESTORATION */
.site-header{
  background:#ffffff!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-bottom:1px solid #dfe7ef!important;
  box-shadow:0 8px 24px rgba(6,37,91,.08)!important;
}
.site-header nav a{color:#06255b!important}
.site-header .btn-ghost{color:#06255b!important;border-color:#cbd8e6!important;background:#fff!important}
.site-header .menu-toggle span{background:#06255b!important}
.site-header.scrolled{background:#ffffff!important}
.site-header.scrolled .brand{background:transparent!important}

.premium-bell-button svg{
  stroke:#f4b400!important;
  width:21px!important;
  height:21px!important;
}
.premium-bell-button{
  background:#fffdf5!important;
  border-color:#eadca8!important;
}
.portal-appbar-actions{position:relative}
.customer-notification-wrap,.admin-notification-wrap,.profile-menu-wrap{position:relative}
.notification-popover,.profile-dropdown{z-index:999!important}
.portal-view{display:none}
.portal-view.active{display:block}
body.portal-sidebar-collapsed .portal-sidebar .portal-nav a.active,
body.admin-sidebar-collapsed .admin-sidebar .portal-nav a.active{
  background:transparent!important;
  box-shadow:none!important;
  border-color:transparent!important;
}


/* V37 HOMEPAGE CORRECTIONS — approved header, compact footer, larger payment text */

/* Restore the approved dark/navy header over the hero */
.site-header,
.site-header.scrolled{
  background:linear-gradient(180deg,rgba(3,23,53,.97),rgba(3,23,53,.93))!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 8px 24px rgba(3,23,53,.20)!important;
}
.site-header nav a{
  color:#ffffff!important;
  text-shadow:none!important;
}
.site-header nav a:hover,
.site-header nav a:focus-visible{
  color:#ffd3d5!important;
}
.site-header .btn-ghost{
  color:#ffffff!important;
  border-color:rgba(255,255,255,.58)!important;
  background:rgba(255,255,255,.07)!important;
}
.site-header .btn-ghost:hover{
  background:rgba(255,255,255,.14)!important;
}
.site-header .menu-toggle span{
  background:#ffffff!important;
}
.site-header .brand{
  background:transparent!important;
}
.site-header .brand img{
  filter:brightness(1.12) contrast(1.05)!important;
}

/* Make the flexible payment banner text clearly larger */
.payment-strip{
  min-height:190px!important;
  padding:38px 58px!important;
  margin-left:1.2%!important;
  margin-right:1.2%!important;
  border-radius:20px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) auto!important;
  align-items:center!important;
  gap:38px!important;
}
.payment-strip .section-kicker{
  font-size:16px!important;
  letter-spacing:.18em!important;
}
.payment-strip h2{
  margin:12px 0 10px!important;
}
.payment-strip .flex-payment-copy{
  font-size:30px!important;
  line-height:1.2!important;
  font-weight:950!important;
  color:#ffffff!important;
}
.payment-strip p{
  margin:0!important;
  font-size:17px!important;
  line-height:1.55!important;
  color:#eef7fb!important;
  max-width:920px!important;
}
.payment-methods{
  gap:14px!important;
}
.payment-methods span{
  min-height:58px!important;
  padding:0 26px!important;
  font-size:16px!important;
  border-width:1px!important;
}

/* Reduce footer height while making the footer logo larger */
.compact-footer-v35{
  padding:0!important;
}
.compact-footer-v35 .compact-footer-main{
  grid-template-columns:1.35fr .8fr .8fr 1fr!important;
  gap:28px!important;
  padding:22px 5% 18px!important;
  align-items:start!important;
}
.compact-footer-v35 .compact-footer-brand img{
  width:235px!important;
  max-width:235px!important;
  height:92px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.compact-footer-v35 .compact-footer-brand p{
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.45!important;
}
.compact-footer-v35 h4{
  margin:4px 0 8px!important;
  font-size:12px!important;
}
.compact-footer-v35 .compact-link-row{
  gap:4px 12px!important;
}
.compact-footer-v35 a,
.compact-footer-v35 span{
  font-size:10px!important;
  line-height:1.4!important;
}
.compact-footer-v35 .compact-footer-bottom{
  margin-top:0!important;
  padding:11px 5%!important;
  min-height:42px!important;
}

/* Ensure the footer stays compact on wide screens */
@media(min-width:1000px){
  .compact-footer-v35{
    min-height:0!important;
  }
}

/* Responsive adjustments */
@media(max-width:900px){
  .payment-strip{
    grid-template-columns:1fr!important;
    padding:30px 28px!important;
  }
  .payment-strip .flex-payment-copy{
    font-size:25px!important;
  }
  .payment-strip p{
    font-size:15px!important;
  }
  .compact-footer-v35 .compact-footer-main{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:620px){
  .payment-strip{
    margin-left:0!important;
    margin-right:0!important;
    border-radius:0!important;
  }
  .payment-methods{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .compact-footer-v35 .compact-footer-main{
    grid-template-columns:1fr!important;
  }
}


/* V38 — centered flexible-payment banner and reliable header controls */
.payment-strip{
  grid-template-columns:1fr!important;
  justify-items:center!important;
  text-align:center!important;
  gap:24px!important;
  padding:42px 64px!important;
}
.payment-strip>div:first-child{
  width:min(980px,100%)!important;
  margin:0 auto!important;
}
.payment-strip .section-kicker{
  display:block!important;
  text-align:center!important;
}
.payment-strip h2{
  max-width:900px!important;
  margin:12px auto 12px!important;
}
.payment-strip .flex-payment-copy{
  display:block!important;
  text-align:center!important;
  font-size:34px!important;
  line-height:1.18!important;
}
.payment-strip p{
  max-width:980px!important;
  margin:0 auto!important;
  text-align:center!important;
}
.payment-methods{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:16px!important;
}
.payment-methods span{
  min-width:220px!important;
  justify-content:center!important;
  text-align:center!important;
}
.profile-menu-button{
  cursor:pointer!important;
  pointer-events:auto!important;
}
.profile-dropdown,
.notification-popover{
  pointer-events:auto!important;
}
.premium-bell-button{
  cursor:pointer!important;
  pointer-events:auto!important;
}
@media(max-width:700px){
  .payment-strip{padding:34px 22px!important}
  .payment-strip .flex-payment-copy{font-size:27px!important}
  .payment-methods{display:grid!important;grid-template-columns:1fr!important}
  .payment-methods span{min-width:0!important;width:100%!important}
}


/* V39 ENTERPRISE QUALITY + STABILITY LAYER */
:root{
  --v39-radius:16px;
  --v39-shadow:0 14px 34px rgba(6,37,91,.075);
  --v39-shadow-hover:0 20px 48px rgba(6,37,91,.12);
}
*{box-sizing:border-box}
button,a,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.62}
.portal-view{min-width:0}
.panel,.stat-card,.shipping-address-card,.shipment-batch-card,.rate-rule-card{
  border-radius:var(--v39-radius)!important;
  box-shadow:var(--v39-shadow)!important;
}
.panel:hover,.shipping-address-card:hover,.shipment-batch-card:hover,.rate-rule-card:hover{
  box-shadow:var(--v39-shadow-hover)!important;
}
.portal-modal{
  width:min(780px,94vw)!important;
  max-height:90vh!important;
  overflow:auto!important;
  border:0!important;
  border-radius:20px!important;
  padding:0!important;
  box-shadow:0 34px 90px rgba(3,23,53,.32)!important;
}
.portal-modal::backdrop{
  background:rgba(3,20,48,.64)!important;
  backdrop-filter:blur(4px)!important;
}
.portal-modal .modal-form{
  position:relative!important;
  padding:28px!important;
  background:#fff!important;
  border-radius:20px!important;
}
.portal-modal .modal-close{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  width:40px!important;
  height:40px!important;
  border:1px solid #dce5ed!important;
  border-radius:50%!important;
  background:#f6f9fc!important;
  color:#06255b!important;
  display:grid!important;
  place-items:center!important;
  z-index:5!important;
  font-size:22px!important;
}
.portal-modal .modal-close:hover{background:#edf3f8!important}
.v39-modal-heading{
  padding:0 54px 18px 0;
  border-bottom:1px solid #e4eaf0;
  margin-bottom:20px;
}
.v39-modal-heading small{
  color:#e11b22;font-weight:900;letter-spacing:1px;font-size:10px
}
.v39-modal-heading h3{
  margin:5px 0 0;color:#06255b;font-size:24px;letter-spacing:-.4px
}
.v39-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px
}
.v39-grid .full{grid-column:1/-1}
.v39-grid label{
  display:flex;flex-direction:column;gap:7px;
  color:#435a73;font-size:11px;font-weight:850;min-width:0
}
.v39-grid input,.v39-grid select,.v39-grid textarea{
  width:100%!important;min-height:44px!important;
  border:1px solid #cfdbe7!important;border-radius:9px!important;
  padding:10px 12px!important;background:#fff!important
}
.v39-grid textarea{min-height:100px!important;resize:vertical}
.v39-actions{
  display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:22px
}
.v39-actions button{
  min-height:42px;padding:0 16px;border-radius:9px;font-weight:850
}
.v39-secondary{
  border:1px solid #d6e0ea;background:#fff;color:#06255b
}
.v39-primary{
  border:1px solid #e11b22;background:#e11b22;color:#fff;
  box-shadow:0 10px 22px rgba(225,27,34,.18)
}
.v39-danger{
  border:1px solid #dc7f84;background:#fff5f5;color:#b91c22
}
.v39-success{
  margin-top:14px;padding:12px 14px;border:1px solid #bfe2ca;
  border-radius:10px;background:#eaf8ee;color:#176d3a;font-weight:800
}
.v39-info-card{
  padding:16px;border:1px solid #dce5ed;border-radius:12px;background:#f8fafc
}
.v39-info-card span,.v39-info-card strong{display:block}
.v39-info-card span{font-size:10px;color:#6e8096}
.v39-info-card strong{margin-top:5px;color:#06255b}
.v39-summary-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px
}
.v39-choice-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px
}
.v39-choice-grid button{
  min-height:52px;border:1px solid #dbe4ed;border-radius:11px;
  background:#fff;color:#06255b;font-weight:850
}
.v39-choice-grid button:hover{background:#f5f8fb;border-color:#a7bbcf}
.v39-toast{
  position:fixed;right:22px;bottom:22px;z-index:10000;
  max-width:410px;padding:14px 16px;border-radius:12px;
  color:#fff;background:#06255b;box-shadow:0 18px 45px rgba(3,23,53,.28);
  animation:v39ToastIn .2s ease
}
.v39-toast.success{background:#176d3a}
.v39-toast.error{background:#a91820}
@keyframes v39ToastIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.v39-document{
  background:#fff;border:1px solid #dbe4ed;border-radius:14px;padding:24px
}
.v39-document-head{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:20px;padding-bottom:17px;border-bottom:3px solid #06255b
}
.v39-document-head img{width:170px;height:78px;object-fit:contain;object-position:left center}
.v39-document-head div{text-align:right}
.v39-document-head strong,.v39-document-head span,.v39-document-head small{display:block}
.v39-document-head strong{font-size:24px;color:#06255b}
.v39-document table{width:100%;border-collapse:collapse;margin-top:20px}
.v39-document th,.v39-document td{
  padding:11px;border-bottom:1px solid #e1e8ef;text-align:left
}
.v39-document th{background:#f1f5f9;color:#405972;font-size:10px;text-transform:uppercase}
.v39-total{max-width:330px;margin:18px 0 0 auto}
.v39-total div{display:flex;justify-content:space-between;padding:8px 0}
.v39-total .grand{border-top:2px solid #06255b;font-size:18px;font-weight:950}
.v39-inline-menu{
  position:absolute;right:0;top:calc(100% + 6px);z-index:100;
  min-width:190px;padding:7px;border:1px solid #dbe4ed;border-radius:10px;
  background:#fff;box-shadow:0 18px 45px rgba(6,37,91,.18)
}
.v39-inline-menu button{
  width:100%;border:0;background:#fff;color:#06255b;text-align:left;
  padding:10px;border-radius:7px;font-weight:800
}
.v39-inline-menu button:hover{background:#f2f6fa}
.premium-bell-button svg{
  width:21px!important;height:21px!important;fill:none!important;
  stroke:#f4b400!important;stroke-width:2!important;stroke-linecap:round!important;
  stroke-linejoin:round!important
}
.premium-bell-button{
  background:#fffdf5!important;border:1px solid #eadca8!important;
  box-shadow:0 8px 20px rgba(6,37,91,.08)!important
}
.profile-menu-button{pointer-events:auto!important}
.notification-popover,.profile-dropdown{z-index:9999!important}
body.portal-sidebar-collapsed .portal-sidebar .portal-brand img,
body.admin-sidebar-collapsed .admin-sidebar .portal-brand img{display:none!important}
body.portal-sidebar-collapsed .portal-sidebar .portal-nav a.active,
body.admin-sidebar-collapsed .admin-sidebar .portal-nav a.active{
  background:transparent!important;box-shadow:none!important;border-color:transparent!important
}
.site-header,.site-header.scrolled{
  background:linear-gradient(180deg,rgba(3,23,53,.97),rgba(3,23,53,.94))!important;
  backdrop-filter:blur(8px)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important
}
.site-header nav a{color:#fff!important}
.site-header .btn-ghost{color:#fff!important;border-color:rgba(255,255,255,.55)!important;background:rgba(255,255,255,.07)!important}
.payment-strip{
  display:grid!important;grid-template-columns:1fr!important;
  justify-items:center!important;text-align:center!important;
  gap:24px!important;padding:42px 64px!important
}
.payment-strip>div:first-child{width:min(980px,100%)!important}
.payment-strip .flex-payment-copy{
  display:block!important;font-size:34px!important;line-height:1.18!important;
  color:#fff!important;text-align:center!important
}
.payment-strip p{max-width:980px!important;margin:0 auto!important;text-align:center!important;font-size:17px!important}
.payment-methods{width:100%!important;display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:16px!important}
.payment-methods span{min-width:220px!important;justify-content:center!important}
.compact-footer-main{padding-top:24px!important;padding-bottom:18px!important}
.compact-footer-bottom{padding-top:10px!important;padding-bottom:10px!important}
.help-panel{display:none!important}
.help-panel.active{display:flex!important}
.notification-item{position:relative}
@media(max-width:700px){
  .v39-grid,.v39-summary-grid,.v39-choice-grid{grid-template-columns:1fr}
  .v39-grid .full{grid-column:auto}
  .v39-document-head{display:block}
  .v39-document-head div{text-align:left;margin-top:12px}
  .payment-strip{padding:32px 22px!important}
  .payment-strip .flex-payment-copy{font-size:27px!important}
  .payment-methods{display:grid!important;grid-template-columns:1fr!important}
  .payment-methods span{width:100%!important;min-width:0!important}
}


/* V40 MANAGER QUALITY LAYER */
:root{--v40-navy:#06255b;--v40-red:#e11b22;--v40-bg:#f3f6f9;--v40-border:#dce5ed;--v40-muted:#687b92;--v40-radius:15px;--v40-shadow:0 12px 30px rgba(6,37,91,.07);--v40-shadow-hover:0 18px 44px rgba(6,37,91,.11)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{min-width:320px}
button,a,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.6}
.site-header,.site-header.scrolled{background:linear-gradient(180deg,rgba(3,23,53,.98),rgba(3,23,53,.94))!important;border-bottom:1px solid rgba(255,255,255,.1)!important;box-shadow:0 8px 24px rgba(3,23,53,.18)!important;backdrop-filter:blur(8px)!important}
.site-header nav a{color:#fff!important}.site-header .btn-ghost{color:#fff!important;border-color:rgba(255,255,255,.55)!important;background:rgba(255,255,255,.07)!important}.site-header .menu-toggle span{background:#fff!important}
.portal-main-v25{background:radial-gradient(circle at 92% 0,rgba(29,86,148,.055),transparent 30%),linear-gradient(180deg,#fbfcfd 0,#f3f6f9 260px)!important}
.portal-appbar{background:rgba(255,255,255,.98)!important;border-bottom:1px solid rgba(6,37,91,.07)!important;box-shadow:0 7px 20px rgba(6,37,91,.045)!important}
.panel,.stat-card,.shipping-address-card,.shipment-batch-card,.rate-rule-card,.contact-channel-grid article,.help-category-grid article,.admin-kpi-grid article{border-radius:var(--v40-radius)!important;border:1px solid var(--v40-border)!important;box-shadow:var(--v40-shadow)!important;background:#fff!important}
.panel:hover,.shipping-address-card:hover,.shipment-batch-card:hover,.rate-rule-card:hover,.help-category-grid article:hover{box-shadow:var(--v40-shadow-hover)!important}
.portal-nav a{min-height:42px!important;border-radius:10px!important}.portal-nav a.active{background:linear-gradient(90deg,#d71920,#e9363d)!important;box-shadow:0 8px 18px rgba(215,25,32,.2)!important}
.portal-sidebar .portal-brand img,.admin-sidebar .portal-brand img{object-fit:contain!important;filter:brightness(1.12) contrast(1.05)!important}
.admin-sidebar .portal-brand img{width:225px!important;height:108px!important}.admin-sidebar{width:260px!important}.admin-main-v29{margin-left:260px!important;width:calc(100% - 260px)!important}
body.portal-sidebar-collapsed .portal-sidebar .portal-brand img,body.admin-sidebar-collapsed .admin-sidebar .portal-brand img{display:none!important}
body.portal-sidebar-collapsed .portal-sidebar .portal-nav a.active,body.admin-sidebar-collapsed .admin-sidebar .portal-nav a.active{background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:#c5d3e4!important}
body.admin-sidebar-collapsed .admin-sidebar{width:72px!important}body.admin-sidebar-collapsed .admin-main-v29{margin-left:72px!important;width:calc(100% - 72px)!important}
.premium-bell-button{background:#fffdf5!important;border:1px solid #e9d993!important;border-radius:12px!important;box-shadow:0 7px 17px rgba(6,37,91,.08)!important}.premium-bell-button svg{width:21px!important;height:21px!important;fill:none!important;stroke:#f4b400!important;stroke-width:2!important}.premium-bell-button b{background:var(--v40-red)!important;color:#fff!important;box-shadow:0 0 0 3px #fff!important}
.notification-popover,.profile-dropdown{z-index:9999!important;border-radius:15px!important;border:1px solid var(--v40-border)!important;box-shadow:0 24px 64px rgba(6,37,91,.22)!important}
.portal-modal{width:min(780px,94vw)!important;max-height:90vh!important;overflow:auto!important;border:0!important;border-radius:19px!important;padding:0!important;box-shadow:0 32px 86px rgba(3,23,53,.32)!important}.portal-modal::backdrop{background:rgba(3,20,48,.62)!important;backdrop-filter:blur(4px)!important}.portal-modal .modal-form{position:relative!important;padding:27px!important;background:#fff!important;border-radius:19px!important}.portal-modal .modal-close{position:absolute!important;top:15px!important;right:15px!important;width:39px!important;height:39px!important;border:1px solid var(--v40-border)!important;border-radius:50%!important;background:#f4f7fa!important;color:var(--v40-navy)!important;display:grid!important;place-items:center!important;z-index:5!important;font-size:22px!important}.portal-modal .modal-heading{padding-right:54px!important;padding-bottom:17px!important;border-bottom:1px solid #e6ecf2!important;margin-bottom:18px!important}
.v40-heading{padding:0 52px 17px 0;border-bottom:1px solid #e5ebf1;margin-bottom:19px}.v40-heading small{color:var(--v40-red);font-size:10px;font-weight:900;letter-spacing:1px}.v40-heading h3{margin:5px 0 0;color:var(--v40-navy);font-size:23px}.v40-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v40-grid .full{grid-column:1/-1}.v40-grid label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#435b74;font-size:11px;font-weight:850}.v40-grid input,.v40-grid select,.v40-grid textarea{width:100%!important;min-height:44px!important;border:1px solid #cedae6!important;border-radius:9px!important;padding:10px 12px!important;background:#fff!important}.v40-grid textarea{min-height:100px!important;resize:vertical}.v40-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}.v40-actions button{min-height:42px;padding:0 16px;border-radius:9px;font-weight:850}.v40-secondary{border:1px solid #d3dfe9;background:#fff;color:var(--v40-navy)}.v40-primary{border:1px solid var(--v40-red);background:var(--v40-red);color:#fff;box-shadow:0 9px 20px rgba(225,27,34,.17)}.v40-danger{border:1px solid #db8e92;background:#fff5f5;color:#ad181e}.v40-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.v40-info{padding:14px;border:1px solid #dce5ed;border-radius:11px;background:#f8fafc}.v40-info span,.v40-info strong{display:block}.v40-info span{font-size:10px;color:var(--v40-muted)}.v40-info strong{margin-top:5px;color:var(--v40-navy)}.v40-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v40-choice button{min-height:52px;border:1px solid #d8e2ec;border-radius:10px;background:#fff;color:var(--v40-navy);font-weight:850}.v40-choice button:hover{background:#f4f8fb;border-color:#9fb5ca}.v40-toast{position:fixed;right:22px;bottom:22px;z-index:10000;max-width:410px;padding:14px 16px;border-radius:12px;background:var(--v40-navy);color:#fff;box-shadow:0 18px 45px rgba(3,23,53,.28);animation:v40in .2s ease}.v40-toast.success{background:#176d3a}.v40-toast.error{background:#a91820}@keyframes v40in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.v40-document{background:#fff;border:1px solid #dbe4ed;border-radius:14px;padding:23px}.v40-document-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:16px;border-bottom:3px solid var(--v40-navy)}.v40-document-head img{width:170px;height:76px;object-fit:contain;object-position:left center}.v40-document-head div{text-align:right}.v40-document-head strong,.v40-document-head span,.v40-document-head small{display:block}.v40-document-head strong{font-size:23px;color:var(--v40-navy)}.v40-document table{width:100%;border-collapse:collapse;margin-top:19px}.v40-document th,.v40-document td{padding:10px;border-bottom:1px solid #e1e8ef;text-align:left}.v40-document th{background:#f1f5f9;color:#405972;font-size:10px;text-transform:uppercase}.v40-total{max-width:330px;margin:17px 0 0 auto}.v40-total div{display:flex;justify-content:space-between;padding:8px 0}.v40-total .grand{border-top:2px solid var(--v40-navy);font-size:18px;font-weight:950}
.portal-footer-v25{min-height:54px!important;padding:10px 22px!important;margin-top:auto!important;font-size:10px!important}.compact-footer-main{padding-top:22px!important;padding-bottom:16px!important}.compact-footer-bottom{padding-top:10px!important;padding-bottom:10px!important}.compact-footer-brand img{width:220px!important;height:82px!important}
.payment-strip{display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;gap:23px!important;padding:40px 60px!important}.payment-strip .flex-payment-copy{display:block!important;font-size:33px!important;line-height:1.18!important;color:#fff!important;text-align:center!important}.payment-strip p{max-width:950px!important;margin:0 auto!important;text-align:center!important;font-size:17px!important}.payment-methods{width:100%!important;display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:15px!important}.payment-methods span{min-width:220px!important;justify-content:center!important}
.help-panel{display:none!important}.help-panel.active{display:flex!important}.settings-panel{display:none}.settings-panel.active{display:block}.notification-item{position:relative}.brand-badge{overflow:hidden!important}
@media(max-width:900px){.admin-sidebar{width:72px!important}.admin-main-v29{margin-left:72px!important;width:calc(100% - 72px)!important}.v40-grid,.v40-summary,.v40-choice{grid-template-columns:1fr}.v40-grid .full{grid-column:auto}.payment-strip{padding:32px 22px!important}.payment-strip .flex-payment-copy{font-size:27px!important}.payment-methods{display:grid!important;grid-template-columns:1fr!important}.payment-methods span{min-width:0!important;width:100%!important}}


/* V41 MANAGER REVIEW — mobile containment and final visual corrections */
@media(max-width:700px){
  .portal-main-v25,.admin-main-v29{min-width:0!important;overflow-x:hidden!important}
  .portal-view,.portal-view.active,.admin-dashboard-grid,.admin-dashboard-side,
  .admin-dashboard-grid>*,.admin-dashboard-side>*,.panel{min-width:0!important;max-width:100%!important}
  .admin-activity-panel,.admin-alert-card,.shipment-progress-card{width:100%!important}
  .admin-activity-list article{
    grid-template-columns:52px minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  .admin-activity-list article>b{
    grid-column:2/-1!important;
    width:auto!important;
    min-width:0!important;
    justify-self:start!important;
  }
  .package-list-v25 article{
    grid-template-columns:54px minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  .package-list-v25 article>b{
    grid-column:2/-1!important;
    width:auto!important;
    min-width:0!important;
    justify-self:start!important;
  }
  .package-list-v25 article>div,.admin-activity-list article>div{min-width:0!important}
  .package-list-v25 article strong,.package-list-v25 article small,
  .admin-activity-list article strong,.admin-activity-list article small{
    overflow-wrap:anywhere!important;
  }
  .portal-top-v25{gap:14px!important}
  .portal-top-v25>.btn,.portal-top-v25>.button{width:100%!important;justify-content:center!important}
  .admin-top-actions{width:100%!important}
  .admin-top-actions button{width:100%!important}
  .portal-appbar-actions{gap:6px!important}
  .portal-user-chip strong{max-width:92px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}


/* V42 MANAGER SCAN — final alignment, containment and enterprise polish */
:root{
  --v42-navy:#06255b;
  --v42-red:#e11b22;
  --v42-border:#dbe4ed;
  --v42-muted:#657990;
  --v42-surface:#ffffff;
  --v42-soft:#f5f8fb;
  --v42-shadow:0 14px 34px rgba(6,37,91,.075);
}

/* Public website: align all flagship bands to the same centered content axis. */
.hero-trust-wrap .premium-trust-bar,
.payment-strip,
.benefit-strip,
.store-cta,
.track-strip{
  width:min(1296px,calc(100% - 48px))!important;
  max-width:1296px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.payment-strip{
  margin-top:0!important;
  margin-bottom:36px!important;
  padding:42px 54px!important;
  justify-items:center!important;
  text-align:center!important;
}
.payment-strip>div:first-child{
  width:min(980px,100%)!important;
  max-width:980px!important;
  margin-inline:auto!important;
}
.payment-strip .section-kicker,
.payment-strip h2,
.payment-strip .flex-payment-copy,
.payment-strip p{
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.payment-strip .flex-payment-copy{
  max-width:860px!important;
  font-size:34px!important;
  line-height:1.17!important;
  letter-spacing:-.35px!important;
}
.payment-methods{
  max-width:940px!important;
  margin-inline:auto!important;
  justify-content:center!important;
}
.payment-methods span{
  min-width:220px!important;
  min-height:56px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Keep public section content visually aligned and balanced. */
.section-pad>.section-copy,
.services>.service-grid,
.process>.process-grid,
.faq>.faq-list,
.contact-section>.contact-grid{
  margin-left:auto!important;
  margin-right:auto!important;
}
.contact-section{scroll-margin-top:78px!important}
.compact-footer-main{max-width:1320px!important;margin-inline:auto!important}
.compact-footer-bottom{max-width:1320px!important;margin-inline:auto!important}

/* Fix mobile overflow on legal/information pages. */
.simple-header{gap:14px!important}
.simple-header>a:first-child{min-width:0!important}
.simple-header img{max-width:min(220px,52vw)!important;object-fit:contain!important}
.info-shell{width:min(920px,100%)!important}

/* Portal shell and brand alignment. */
.portal-sidebar .portal-brand,
.admin-sidebar .portal-brand{overflow:hidden!important}
.portal-sidebar .portal-brand img,
.admin-sidebar .portal-brand img{
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.portal-main-v25,.admin-main-v29{min-width:0!important;overflow-x:hidden!important}
.portal-view{min-width:0!important;max-width:100%!important}
.portal-top-v25{align-items:flex-start!important}
.portal-top-v25>div:first-child{min-width:0!important}

/* Tables remain usable without hiding the action column. */
.table-wrap{
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  scrollbar-gutter:stable!important;
  border-radius:11px!important;
}
.enhanced-package-table{min-width:1080px!important}
.admin-data-table{min-width:880px!important}
.admin-data-table.wide{min-width:1080px!important}
.table-wrap table th:last-child,
.table-wrap table td:last-child{
  position:sticky!important;
  right:0!important;
  z-index:3!important;
  background:#fff!important;
  box-shadow:-8px 0 14px rgba(6,37,91,.055)!important;
}
.table-wrap table thead th:last-child{background:#eef3f8!important;z-index:4!important}
.table-wrap table tbody tr:hover td:last-child{background:#f8fbfe!important}
.admin-row-action,.icon-action,.package-action-button{flex:0 0 auto!important}

/* Filters, toolbars and search controls align consistently. */
.admin-filter-bar,.package-toolbar,.report-filter-bar{
  align-items:center!important;
  flex-wrap:wrap!important;
}
.admin-filter-bar .search-control,.package-toolbar .search-control{
  flex:1 1 320px!important;
  min-width:220px!important;
}
.search-control,.search-control input{min-width:0!important;max-width:100%!important}
.package-filter-tabs,.help-topic-tabs,.settings-tab-bar{
  max-width:100%!important;
  overflow-x:auto!important;
  scrollbar-width:thin!important;
}
.package-filter-tabs button,.help-topic-tabs button,.settings-tab-bar button{flex:0 0 auto!important}

/* Consistent button and card quality. */
.btn,.button,.text-button,.admin-row-action,.icon-action{
  border-radius:10px!important;
}
.panel-heading-row{gap:14px!important}
.panel-heading-row>div:first-child{min-width:0!important}
.empty-state{min-height:180px!important;display:grid!important;place-items:center!important;text-align:center!important}
.brand-badge,.store-logo{overflow:hidden!important;white-space:nowrap!important}
.store-logo.ebay,.ebay-badge{font-weight:900!important;letter-spacing:-.7px!important}

/* Help content has a clear selected-topic state. */
.help-dynamic-panel{border-radius:16px!important;overflow:hidden!important}
.help-panel.active{min-height:148px!important;align-items:center!important}
.help-inline-actions button,.help-panel-actions button{
  min-height:42px!important;border-radius:9px!important;
}

/* Popovers stay within the viewport. */
.notification-popover,.admin-notification-popover,.profile-dropdown{
  max-width:min(380px,calc(100vw - 24px))!important;
}
.notification-preview-item>div{min-width:0!important}
.notification-preview-item strong,.notification-preview-item small,.notification-subdetails{overflow-wrap:anywhere!important}

/* Modal forms: no clipped labels or uneven columns. */
.portal-modal .modal-form{width:100%!important;min-width:0!important}
.v40-grid label,.v39-grid label{min-width:0!important}
.v40-grid input,.v40-grid select,.v40-grid textarea,
.v39-grid input,.v39-grid select,.v39-grid textarea{max-width:100%!important}
.v40-choice button,.v39-choice-grid button{padding:11px 13px!important;line-height:1.35!important}

/* Responsive portal containment. */
@media(max-width:900px){
  .portal-sidebar,.admin-sidebar{width:72px!important;padding-left:7px!important;padding-right:7px!important}
  .portal-main-v25,.admin-main-v29{margin-left:72px!important;width:calc(100% - 72px)!important;padding-left:12px!important;padding-right:12px!important}
  .portal-appbar{margin-left:-12px!important;margin-right:-12px!important;padding-left:12px!important;padding-right:12px!important}
  .portal-sidebar .portal-brand,.admin-sidebar .portal-brand{height:72px!important;padding:0!important;background:transparent!important}
  .portal-sidebar .portal-brand img,.admin-sidebar .portal-brand img{width:58px!important;height:58px!important}
  .portal-user-chip strong{display:none!important}
  .portal-appbar-actions{gap:6px!important}
  .portal-top-v25{display:grid!important;grid-template-columns:1fr!important}
  .portal-top-v25>.btn,.portal-top-v25>.button,.admin-top-actions,.admin-top-actions button{width:100%!important}
  .admin-top-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  .admin-dashboard-grid,.admin-notification-layout,.report-grid,.staff-layout,.admin-settings-grid,.calculator-main-grid,.tracking-layout,.contact-main-grid,.payment-preference-layout{grid-template-columns:1fr!important}
  .admin-kpi-grid,.admin-kpi-grid.compact,.invoice-summary-grid,.prealert-summary-grid,.audit-summary-grid,.role-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .portal-footer-v25{margin-left:-12px!important;margin-right:-12px!important}
  .enhanced-package-table{min-width:980px!important}
  .admin-data-table{min-width:820px!important}
  .admin-data-table.wide{min-width:980px!important}
}

@media(max-width:600px){
  .hero-trust-wrap .premium-trust-bar,.payment-strip,.benefit-strip,.store-cta,.track-strip{width:calc(100% - 24px)!important}
  .payment-strip{padding:32px 20px!important}
  .payment-strip .flex-payment-copy{font-size:27px!important}
  .payment-methods{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .payment-methods span{width:100%!important;min-width:0!important}
  .simple-header{height:auto!important;min-height:82px!important;padding:12px 16px!important;flex-wrap:wrap!important}
  .simple-header .btn{margin-left:auto!important}
  .info-shell{margin:28px auto!important;padding:0 14px!important}
  .info-shell h1{font-size:32px!important}
  .info-shell section{padding:20px!important}
  .portal-main-v25,.admin-main-v29{padding-left:9px!important;padding-right:9px!important}
  .portal-appbar{margin-left:-9px!important;margin-right:-9px!important;padding-left:9px!important;padding-right:9px!important}
  .portal-view{padding-bottom:22px!important}
  .portal-top-v25 h1{font-size:28px!important}
  .portal-top-v25 p{font-size:12px!important}
  .admin-top-actions{grid-template-columns:1fr!important}
  .admin-kpi-grid,.admin-kpi-grid.compact,.invoice-summary-grid,.prealert-summary-grid,.audit-summary-grid,.role-summary-strip{grid-template-columns:1fr!important}
  .portal-grid-v25,.portal-side-stack,.address-card-grid,.contact-channel-grid,.help-category-grid,.calculator-input-grid,.payment-option-grid{grid-template-columns:1fr!important}
  .panel,.package-table-panel,.invoice-list-panel,.contact-support-form{padding:15px!important}
  .search-control,.search-control input,.admin-filter-bar select,.package-toolbar select,.report-filter-bar select{width:100%!important;max-width:100%!important}
  .admin-filter-bar,.package-toolbar,.report-filter-bar{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .tracking-search-card input,.tracking-search-card button,.calculator-input-grid input,.calculator-input-grid select{width:100%!important;max-width:100%!important}
  .tracking-search-card{overflow:hidden!important}
  .package-filter-tabs,.help-topic-tabs,.settings-tab-bar{padding-bottom:7px!important}
  .portal-footer-v25{font-size:9px!important;gap:8px!important;flex-wrap:wrap!important}
  .notification-popover,.admin-notification-popover{position:fixed!important;top:68px!important;left:82px!important;right:10px!important;width:auto!important;max-height:calc(100vh - 82px)!important;overflow:auto!important}
  .profile-dropdown{position:fixed!important;top:68px!important;left:82px!important;right:10px!important;width:auto!important}
}
/* V42 mobile help-search containment */
.help-search{max-width:100%!important;min-width:0!important}
.help-search input{min-width:0!important;width:100%!important;max-width:100%!important}


/* V43 — Customer portal package icon correction */
.package-list-v25 article{
  grid-template-columns:92px minmax(0,1fr) auto 90px!important;
  gap:14px!important;
}
.package-brand-icon{
  width:84px!important;
  min-width:84px!important;
  height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 7px 18px rgba(6,37,91,.10)!important;
}
.package-brand-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.store-logo-asset{
  width:88px!important;
  min-width:88px!important;
  height:38px!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  overflow:hidden!important;
  box-shadow:0 5px 13px rgba(6,37,91,.08)!important;
}
.store-logo-asset img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.enhanced-package-table td:first-child{
  width:108px!important;
  min-width:108px!important;
  text-align:center!important;
}
@media(max-width:720px){
  .package-list-v25 article{
    grid-template-columns:76px minmax(0,1fr) auto!important;
  }
  .package-list-v25 article>b{
    grid-column:2/4!important;
    justify-self:start!important;
    margin-top:-4px!important;
  }
  .package-brand-icon{
    width:70px!important;
    min-width:70px!important;
    height:38px!important;
  }
  .store-logo-asset{
    width:78px!important;
    min-width:78px!important;
    height:34px!important;
  }
}


/* V44 FULL SYSTEM SCAN — FINAL QUALITY LAYER */
html,body{min-height:100%}body{overflow-x:hidden}.portal-main-v25{min-height:100vh;display:flex!important;flex-direction:column!important}.portal-view.active{flex:1 0 auto}.portal-footer-v25{flex:0 0 auto;width:100%;min-height:48px!important;padding:10px 22px!important;margin-top:28px!important;background:#fff!important;border-top:1px solid #dce5ed!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.info-page{min-height:100vh!important;display:flex!important;flex-direction:column!important}.info-shell{flex:1 0 auto!important;width:100%}.simple-footer{margin-top:auto!important;padding:15px 24px!important;min-height:50px!important;background:#06255b!important}.auth-page{min-height:100vh!important;display:flex!important;flex-direction:column!important}.auth-layout{flex:1 0 auto!important;width:100%}.auth-mini-footer{min-height:46px;padding:11px 28px;background:#06255b;color:#dce7f5;display:flex;align-items:center;justify-content:space-between;font-size:11px}.auth-mini-footer div{display:flex;gap:8px}.auth-mini-footer a{color:#fff}.compact-footer-main{padding:22px 5% 16px!important}.compact-footer-bottom{min-height:42px!important;padding:10px 5%!important}.compact-footer-brand img{width:220px!important;height:80px!important}.site-header{z-index:1000!important}.portal-appbar{z-index:80!important}.portal-modal .modal-form{max-width:100%!important}.modal-heading,.v44-dialog-head{padding-right:52px!important}.v44-dialog-head{padding-bottom:16px;border-bottom:1px solid #e5ebf1;margin-bottom:18px}.v44-dialog-head small{color:#e11b22;font-size:10px;font-weight:900;letter-spacing:1px}.v44-dialog-head h3{margin:4px 0 0;color:#06255b;font-size:23px}.v44-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v44-summary>div{padding:14px;border:1px solid #dce5ed;border-radius:11px;background:#f8fafc}.v44-summary span,.v44-summary strong{display:block}.v44-summary span{font-size:10px;color:#6c7f95}.v44-summary strong{margin-top:5px;color:#06255b}.v44-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.v44-toast{position:fixed;right:22px;bottom:22px;z-index:10000;max-width:420px;padding:14px 17px;border-radius:12px;background:#176d3a;color:#fff;box-shadow:0 20px 48px rgba(3,23,53,.25);font-weight:800}.v44-toast.error{background:#a91820}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(34,111,181,.28)!important;outline-offset:2px!important}.button,.btn,.admin-row-action,.icon-action{min-height:40px}.icon-action{min-width:40px}.table-wrap{position:relative}.table th:last-child,.table td:last-child{white-space:nowrap}.package-toolbar,.admin-filter-bar,.report-filter-bar{align-items:center!important}.search-control{min-width:220px}.profile-dropdown,.notification-popover{max-height:min(560px,80vh);overflow:auto}.invoice-dropzone,.invoice-upload-field{min-height:120px!important}.help-panel.active{display:flex!important}.help-panel:not(.active){display:none!important}.package-brand-icon,.store-logo-asset{flex-shrink:0}.site-header nav a,.compact-footer a,.portal-footer-v25 a{text-decoration:none}.site-header nav a:hover,.compact-footer a:hover,.portal-footer-v25 a:hover{text-decoration:underline}.portal-sidebar .portal-brand img,.admin-sidebar .portal-brand img{max-width:100%;object-fit:contain}.admin-data-table td,.enhanced-package-table td{vertical-align:middle}.professional-success-message:empty{display:none!important}
@media(max-width:760px){.portal-footer-v25,.auth-mini-footer{flex-direction:column;justify-content:center;gap:5px;text-align:center}.v44-summary{grid-template-columns:1fr}.v44-actions{flex-direction:column}.v44-actions>*{width:100%}.compact-footer-main{padding:20px 22px 14px!important}.compact-footer-brand img{width:190px!important;height:72px!important}.package-toolbar,.admin-filter-bar,.report-filter-bar{display:grid!important;grid-template-columns:1fr!important}.search-control{min-width:0;width:100%}.package-toolbar select,.admin-filter-bar select,.report-filter-bar select,.package-toolbar button,.admin-filter-bar button,.report-filter-bar button{width:100%}}


/* V45 UAT Cycle 1 corrections */
.admin-store-logo{width:82px!important;min-width:82px!important;height:36px!important;padding:0!important;border:0!important;background:transparent!important;overflow:hidden!important;border-radius:9px!important;box-shadow:0 5px 13px rgba(6,37,91,.08)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.admin-store-logo img{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important}
.admin-activity-list article{grid-template-columns:92px minmax(0,1fr) auto 70px!important}
.address-fields button[data-copy]{position:relative;width:34px;height:34px;border:1px solid #d5e0ea;border-radius:8px;background:#f8fafc;color:transparent!important;font-size:0!important;flex:0 0 34px}
.address-fields button[data-copy]::before{content:"";position:absolute;left:10px;top:9px;width:10px;height:12px;border:1.8px solid #55708c;border-radius:2px;background:#fff}
.address-fields button[data-copy]::after{content:"";position:absolute;left:7px;top:6px;width:10px;height:12px;border:1.8px solid #55708c;border-radius:2px;background:transparent}
.address-fields button[data-copy]:hover{background:#eef4f9;border-color:#9eb2c7}
select[aria-label]{cursor:pointer}
.modal-close[aria-label]{line-height:1}
.notification-preview-item.read{opacity:.58}
.notification-preview-item.read strong::after{content:" · Read";color:#7c8da1;font-size:9px;font-weight:700}
@media(max-width:720px){.admin-activity-list article{grid-template-columns:76px minmax(0,1fr) auto!important}.admin-activity-list article>b{grid-column:2/4}.admin-store-logo{width:70px!important;min-width:70px!important;height:32px!important}}

/* =====================================================================
   V49 PROFESSIONAL LAUNCH DESIGN SYSTEM
   Unified public website, customer dashboard and admin portal release.
   This replaces the V47/V48 patch layers with one coordinated system.
   ===================================================================== */
:root{
  --navy:#061f4c;
  --navy-deep:#03152f;
  --navy-soft:#0a326f;
  --blue:#0b63b6;
  --blue-bright:#1b7dd0;
  --red:#df2029;
  --red-dark:#bb151d;
  --gold:#e6a41f;
  --green:#168a4a;
  --surface:#ffffff;
  --surface-soft:#f6f9fc;
  --surface-blue:#edf5fd;
  --text:#102746;
  --muted:#64768b;
  --line:#d9e3ed;
  --line-strong:#c8d5e2;
  --shadow-sm:0 6px 20px rgba(4,29,66,.07);
  --shadow-md:0 16px 44px rgba(4,29,66,.10);
  --shadow-lg:0 28px 74px rgba(4,29,66,.15);
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --focus:0 0 0 4px rgba(27,125,208,.18);
}

html{scroll-padding-top:96px}
body{
  color:var(--text);
  background:var(--surface);
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea{font-family:inherit}
img,svg,iframe{max-width:100%}
button,a,input,select,textarea{transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0!important;box-shadow:var(--focus)!important}

/* One professional icon language across the platform. */
.ui-icon{width:1.18em;height:1.18em;display:block;flex:0 0 auto}
.icon-system-ready{font-size:0!important;line-height:0!important}
.icon-control{display:inline-flex!important;align-items:center!important;justify-content:center;gap:8px}
.icon-control>.control-icon{width:17px;height:17px}
.icon-control>.control-label{min-width:0}
.search-control>.search-icon{width:18px;height:18px;color:#71849a;flex:0 0 auto}

/* Public header and approved hero composition. */
.site-header{
  height:94px!important;
  grid-template-columns:minmax(240px,300px) minmax(0,1fr) auto!important;
  gap:22px!important;
  padding:0 clamp(22px,4vw,62px)!important;
  background:linear-gradient(180deg,rgba(3,21,47,.88),rgba(3,21,47,.24))!important;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header.scrolled{
  background:rgba(3,21,47,.96)!important;
  box-shadow:0 12px 36px rgba(3,21,47,.22)!important;
  backdrop-filter:blur(16px)!important;
}
.site-header .brand{
  width:min(100%,300px)!important;
  min-width:0!important;
  height:82px!important;
  padding:3px 0!important;
  overflow:visible!important;
}
.site-header .brand img{
  width:100%!important;
  height:78px!important;
  max-width:300px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:drop-shadow(0 5px 14px rgba(0,0,0,.16));
}
.site-header nav{gap:clamp(15px,1.75vw,30px)!important}
.site-header nav a{
  position:relative;
  padding:37px 0 32px!important;
  font-size:12px!important;
  letter-spacing:.045em!important;
  color:rgba(255,255,255,.92)!important;
  text-decoration:none!important;
}
.site-header nav a::after{
  content:"";
  position:absolute;
  left:50%;right:50%;bottom:24px;
  height:2px;border-radius:2px;background:var(--red);
  transition:left .18s ease,right .18s ease;
}
.site-header nav a:hover::after,.site-header nav a:focus-visible::after{left:0;right:0}
.site-header nav a:hover{color:#fff!important}
.header-actions{gap:10px!important}
.btn,.button{
  min-height:48px!important;
  border-radius:11px!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.035em!important;
  text-transform:uppercase;
}
.btn-red{
  border-color:var(--red)!important;
  background:linear-gradient(135deg,var(--red),#ef3440)!important;
  color:#fff!important;
  box-shadow:0 11px 24px rgba(223,32,41,.22)!important;
}
.btn-red:hover{background:linear-gradient(135deg,var(--red-dark),var(--red))!important;transform:translateY(-1px)}
.btn-white,.btn-ghost{background:#fff!important;color:var(--navy)!important;border-color:#fff!important}
.btn-white:hover,.btn-ghost:hover{background:#f4f8fc!important;transform:translateY(-1px)}
.hero{min-height:650px!important;background:var(--navy-deep)!important}
.hero-image{object-position:center center!important}
.hero-shade{background:linear-gradient(90deg,rgba(3,21,47,.91) 0%,rgba(3,21,47,.71) 36%,rgba(3,21,47,.18) 69%,rgba(3,21,47,0) 84%)!important}
.hero-content{max-width:650px!important;padding:154px 0 126px clamp(34px,4.8vw,72px)!important}
.eyebrow,.section-kicker{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:30px;padding:6px 11px!important;border-radius:999px!important;
  font-size:10px!important;font-weight:900!important;letter-spacing:.13em!important;
}
.eyebrow{background:#fff!important;color:var(--navy)!important;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.hero h1{font-size:clamp(50px,4.7vw,74px)!important;line-height:.98!important;margin:20px 0 21px!important}
.hero p{font-size:17px!important;line-height:1.67!important;max-width:560px!important}
.hero-actions{gap:12px!important;flex-wrap:wrap}

/* Public layout system. */
.section-pad{padding:92px clamp(22px,5vw,72px)!important}
.section-copy,.calculator-heading,.shipping-rates-heading,.contact-heading{margin-left:auto!important;margin-right:auto!important}
.section-copy.centered,.calculator-heading.centered,.shipping-rates-heading,.contact-heading.centered{max-width:790px!important;text-align:center}
.section-kicker{background:#fff1f2!important;border:1px solid #ffd5d8!important;color:var(--red)!important}
.section-copy h2,.calculator-heading h2,.shipping-rates-heading h2,.contact-heading h2{
  margin:14px 0 12px!important;
  color:var(--navy)!important;
  font-size:clamp(31px,3.4vw,47px)!important;
  line-height:1.07!important;
  letter-spacing:-.045em!important;
}
.section-copy p,.calculator-heading p,.shipping-rates-heading p,.contact-heading p{font-size:16px!important;line-height:1.7!important;color:var(--muted)!important}
.hero-trust-wrap{padding:0 clamp(22px,5vw,72px)!important;max-width:1360px!important;margin:-58px auto 0!important}
.premium-trust-bar{
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:20px!important;
  background:linear-gradient(120deg,#062456,#0a4f98)!important;
  box-shadow:var(--shadow-lg)!important;
}
.premium-trust-bar article{min-height:120px!important;padding:24px 28px!important}
.premium-trust-bar .trust-icon{
  width:52px!important;height:52px!important;border-radius:15px!important;
  background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.23)!important;
  color:#fff!important;font-size:16px!important;
}
.premium-trust-bar strong{font-size:18px!important;line-height:1.25!important}
.premium-trust-bar span{display:block;margin-top:5px;color:rgba(255,255,255,.82)!important;font-size:13px!important;line-height:1.55!important}

/* Services. */
.services{background:linear-gradient(180deg,#fff,#f7faff)!important}
.service-grid{max-width:1280px!important;margin:46px auto 0!important;gap:24px!important}
.service-grid article{
  position:relative;
  min-height:282px!important;
  padding:34px 31px 30px!important;
  border:1px solid #dce7f1!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--shadow-sm)!important;
  overflow:hidden;
}
.service-grid article::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--red),var(--blue))}
.service-grid article:hover{transform:translateY(-5px)!important;box-shadow:var(--shadow-md)!important;border-color:#bfd3e5!important}
.service-icon{
  width:58px!important;height:58px!important;border-radius:17px!important;
  display:grid!important;place-items:center!important;
  background:linear-gradient(145deg,#edf6ff,#dcecff)!important;
  color:var(--blue)!important;box-shadow:inset 0 1px 0 #fff,0 9px 22px rgba(11,99,182,.12)!important;
}
.service-icon .ui-icon{width:28px;height:28px}
.service-grid h3{font-size:22px!important;line-height:1.2!important;letter-spacing:-.02em!important;margin:21px 0 11px!important;color:var(--navy)!important}
.service-grid p{font-size:15px!important;line-height:1.72!important;color:var(--muted)!important;margin-bottom:19px!important}
.service-grid a{display:inline-flex!important;align-items:center!important;gap:7px!important;color:var(--blue)!important;font-size:13px!important;font-weight:850!important}
.service-grid a::after{content:"→";transition:transform .18s ease}.service-grid a:hover::after{transform:translateX(4px)}

/* Smart Rate Estimator. */
.utility-shell{max-width:none!important;margin:0!important;padding:0 clamp(22px,5vw,72px) 92px!important;background:#f4f8fc!important}
.smart-calculator-section{max-width:1180px!important;margin:0 auto!important;padding-top:92px!important}
.smart-calculator-card{
  max-width:1060px!important;margin:42px auto 0!important;padding:42px 46px!important;
  border:1px solid #d5e2ee!important;border-radius:25px!important;
  background:radial-gradient(circle at 50% 0,rgba(11,99,182,.07),transparent 25rem),linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--shadow-lg)!important;
}
.smart-calculator-icon{
  width:60px!important;height:60px!important;margin:0 auto!important;border-radius:18px!important;
  display:grid!important;place-items:center!important;background:linear-gradient(145deg,var(--navy),var(--blue))!important;color:#fff!important;
  box-shadow:0 14px 29px rgba(6,31,76,.22)!important;
}
.smart-calculator-icon .ui-icon{width:29px;height:29px}
.smart-calculator-card>h3{text-align:center!important;color:var(--navy)!important;font-size:24px!important;margin:17px 0 6px!important}
.smart-calculator-subtitle{text-align:center!important;color:var(--muted)!important;margin:0 0 28px!important}
.smart-calculator-grid{gap:21px 24px!important}
.smart-calculator-grid label,.contact-form label,.auth-form label,.portal-form label,.admin-settings-form label,.contact-form-grid label,.calculator-input-grid label{
  color:#344e68!important;font-size:12px!important;font-weight:850!important;letter-spacing:.012em!important;
}
.smart-calculator-grid input,.smart-calculator-grid select,.money-input,.contact-form input,.contact-form select,.contact-form textarea,
.auth-form input,.auth-form select,.portal-form input,.portal-form select,.portal-form textarea,.admin-settings-form input,.admin-settings-form select,.admin-settings-form textarea,
.contact-form-grid input,.contact-form-grid select,.contact-form-grid textarea,.calculator-input-grid input,.calculator-input-grid select,.dimension-grid input{
  border:1px solid var(--line-strong)!important;border-radius:12px!important;background:#fff!important;color:var(--text)!important;
  box-shadow:inset 0 1px 2px rgba(4,29,66,.035)!important;
}
.smart-calculator-grid input,.smart-calculator-grid select{min-height:54px!important}
.smart-calculator-grid input:focus,.smart-calculator-grid select:focus,.money-input:focus-within,
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus,.auth-form input:focus,.auth-form select:focus,
.portal-form input:focus,.portal-form select:focus,.portal-form textarea:focus,.admin-settings-form input:focus,.admin-settings-form select:focus,.admin-settings-form textarea:focus{
  border-color:#69a7dd!important;box-shadow:var(--focus)!important;
}
.smart-dimensions{padding:19px!important;border:1px solid #e0e8f0!important;border-radius:15px!important;background:#f8fbfe!important}
.smart-dimensions-head span{background:#e9f3fd!important;color:var(--blue)!important;border-radius:999px!important;padding:5px 9px!important}
.smart-calculator-button{
  min-height:58px!important;margin-top:27px!important;border:0!important;border-radius:14px!important;
  background:linear-gradient(100deg,var(--navy),var(--blue),#118e57)!important;color:#fff!important;
  box-shadow:0 17px 36px rgba(11,99,182,.23)!important;font-size:12px!important;font-weight:900!important;
}
.smart-calculator-button .control-icon{width:20px;height:20px}
.smart-calculator-result{border-radius:13px!important}

/* Rates. */
.shipping-rates-showcase{
  max-width:1260px!important;margin:78px auto 0!important;padding:42px!important;
  border:1px solid #d5e2ee!important;border-radius:25px!important;background:#fff!important;box-shadow:var(--shadow-md)!important;
}
.visible-rate-tabs{justify-content:center!important;gap:10px!important;margin:28px 0 30px!important;padding:6px!important;border-radius:999px!important;background:#edf3f8!important;width:max-content;max-width:100%;margin-left:auto!important;margin-right:auto!important;overflow:auto}
.visible-rate-tab{
  min-height:42px!important;padding:0 20px!important;border:1px solid transparent!important;border-radius:999px!important;
  background:transparent!important;color:#536b84!important;font-weight:850!important;white-space:nowrap;
}
.visible-rate-tab.active{background:#fff!important;color:var(--navy)!important;box-shadow:0 6px 17px rgba(4,29,66,.11)!important}
.always-visible-rate-grid{gap:22px!important}
.always-visible-rate-card{
  border:1px solid #dbe5ef!important;border-radius:20px!important;padding:25px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--shadow-sm)!important;overflow:hidden;
}
.always-visible-rate-card.featured{border-color:#f1b8bc!important;box-shadow:0 18px 48px rgba(223,32,41,.10)!important}
.always-rate-head{padding-bottom:15px!important;margin-bottom:14px!important;border-bottom:1px solid #e5ecf3!important}
.rate-card-icon{width:46px!important;height:46px!important;border-radius:14px!important;background:#eaf4fd!important;color:var(--blue)!important;display:grid!important;place-items:center!important}
.rate-card-icon .ui-icon{width:23px;height:23px}
.rate-badge{border-radius:999px!important;padding:6px 9px!important;background:#eef5fc!important;color:var(--blue)!important}
.always-visible-rate-card.featured .rate-badge{background:#fff0f1!important;color:var(--red)!important}
.always-rate-table{border-collapse:separate!important;border-spacing:0!important;overflow:hidden;border:1px solid #e1e9f1!important;border-radius:13px!important}
.always-rate-table th{background:#eef5fb!important;color:var(--navy)!important;font-size:11px!important;letter-spacing:.055em!important;text-transform:uppercase}
.always-rate-table th,.always-rate-table td{padding:15px 16px!important;border-bottom:1px solid #e7edf3!important;font-size:13px!important}
.always-rate-table tbody tr:last-child td{border-bottom:0!important}.always-rate-table tbody tr:hover td{background:#f7fbff!important}
.always-rate-footer{margin-top:14px!important;padding:13px 14px!important;border:1px solid #dce8f4!important;border-radius:12px!important;background:#f6faff!important}
.shipping-rate-disclaimer{padding:13px 15px!important;border-left:3px solid var(--gold)!important;border-radius:9px!important;background:#fff9eb!important;color:#705c2d!important}

/* Supporting public sections. */
.benefit-row{max-width:1260px!important;margin:72px auto 0!important;border:1px solid #dbe6ef!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important;overflow:hidden}
.benefit-row article{padding:24px!important}.benefit-icon{width:44px!important;height:44px!important;border-radius:13px!important;display:grid!important;place-items:center!important}.benefit-icon .ui-icon{width:22px;height:22px}
.payment-strip{max-width:1260px!important;margin:42px auto 0!important;border-radius:20px!important;box-shadow:var(--shadow-md)!important;background:linear-gradient(110deg,var(--navy-deep),var(--navy),var(--blue))!important}
.process{background:#fff!important}.process-grid{max-width:1260px!important;margin:44px auto 0!important;gap:20px!important}.process-grid article{border:1px solid #dfe8f1!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important;padding:28px 22px!important}
.process-icon{width:54px!important;height:54px!important;border-radius:16px!important;display:grid!important;place-items:center!important;background:#edf6ff!important;color:var(--blue)!important}.process-icon .ui-icon{width:26px;height:26px}
.shipping-journey{background:#f6f9fc!important}.journey-track{max-width:1260px!important;margin:42px auto 0!important}.journey-step{border:1px solid #dfe7ef!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important}
.tracking-band{max-width:1260px!important;margin:0 auto 92px!important;border-radius:24px!important;background:linear-gradient(120deg,var(--navy-deep),var(--navy-soft))!important;box-shadow:var(--shadow-lg)!important}
.tracking-band input{border-radius:12px!important}.faq{background:#f7faff!important}.faq-list{max-width:1020px!important;margin:38px auto 0!important}.faq details{border:1px solid #dce6ef!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important;overflow:hidden}.faq details[open]{border-color:#bcd3e7!important;box-shadow:var(--shadow-md)!important}.faq summary{padding:21px 24px!important;color:var(--navy)!important;font-size:15px!important;font-weight:850!important}.faq details p{padding:0 24px 22px!important;color:var(--muted)!important;font-size:15px!important;line-height:1.72!important}.faq-cargo-card{max-width:1260px!important;margin:45px auto 0!important;border-radius:22px!important;box-shadow:var(--shadow-md)!important;overflow:hidden}

/* Public contact and real map. */
.contact-section{background:#f7faff!important}.contact-card-clean{max-width:1280px!important;margin:44px auto 0!important;grid-template-columns:1fr 1.08fr!important;border:1px solid #d7e2ec!important;border-radius:24px!important;box-shadow:var(--shadow-lg)!important;overflow:hidden!important}
.contact-summary{padding:42px!important;background:linear-gradient(155deg,var(--navy-deep),var(--navy),#0b4e8e)!important}
.contact-logo{width:310px!important;height:94px!important;object-fit:contain!important;object-position:left center!important}
.contact-summary-grid{gap:13px!important}.contact-summary-grid a{padding:16px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:14px!important;background:rgba(255,255,255,.10)!important;color:#fff!important}.contact-summary-grid a:hover{background:rgba(255,255,255,.17)!important;transform:translateX(2px)}
.contact-summary-grid a>span{width:44px!important;height:44px!important;border-radius:12px!important;background:rgba(255,255,255,.15)!important;color:#fff!important;display:grid!important;place-items:center!important}.contact-summary-grid a>span .ui-icon{width:21px;height:21px}
.contact-summary-grid small{display:block!important;color:rgba(255,255,255,.72)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;margin-bottom:4px!important}
.contact-summary-grid strong{display:block!important;color:#fff!important;font-size:15px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
.contact-social-clean>span{color:rgba(255,255,255,.82)!important;font-size:13px!important}
.social-icon-button{width:40px!important;height:40px!important}
.public-map-card{position:relative;min-height:310px;margin:22px 0;border:1px solid rgba(255,255,255,.20);border-radius:18px;overflow:hidden;background:#dbe8f4 url("assets/mile-i-spanish-town-map.svg") center/cover no-repeat;box-shadow:0 15px 35px rgba(0,0,0,.18)}
.public-map-card iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:transparent}
.public-map-card::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.15)}
.public-map-card-label{position:absolute;left:14px;right:14px;bottom:52px;z-index:2;display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(255,255,255,.75);border-radius:12px;background:rgba(255,255,255,.93);backdrop-filter:blur(10px);box-shadow:0 10px 28px rgba(3,21,47,.18);color:var(--navy)}
.public-map-card-label .map-pin{width:40px;height:40px;border-radius:10px;background:#fff0f1;color:var(--red);display:grid;place-items:center}.public-map-card-label .map-pin .ui-icon{width:18px;height:18px}.public-map-card-label strong,.public-map-card-label small{display:block}.public-map-card-label strong{font-size:15px!important}.public-map-card-label small{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.4}
.map-open-link{position:absolute;left:0;right:0;bottom:0;z-index:3;min-height:44px;display:flex;align-items:center;justify-content:center;background:rgba(3,21,47,.92);color:#fff!important;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.contact-form-panel{padding:46px!important;background:#fff!important}.contact-form-panel h3{font-size:30px!important;color:var(--navy)!important}.contact-form-panel>p{font-size:15px!important;line-height:1.6!important}.contact-form{gap:19px!important}.contact-form label{font-size:12px!important}.contact-form input,.contact-form select{min-height:54px!important;font-size:15px!important}.contact-form textarea{padding:14px!important;resize:vertical;font-size:15px!important;line-height:1.55!important}

/* Compact blue footer; only its logo remains enlarged. */
.compact-footer-v35{background:linear-gradient(135deg,var(--navy-deep),var(--navy),#0a3f82)!important;border-top:1px solid rgba(255,255,255,.10)!important;color:#fff!important}
.compact-footer-main{max-width:1280px!important;margin:auto!important;padding:28px clamp(22px,5vw,64px) 20px!important;gap:30px!important}
.compact-footer-v35 .compact-footer-brand img[src*="mile-i-logo-footer-cropped"]{
  width:330px!important;height:100px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;
}
.compact-footer-brand p{color:#cfdaea!important;font-size:13px!important;line-height:1.6!important}
.compact-footer-column a,.compact-footer-contact a,.compact-footer-contact span{color:#cfdaea!important;font-size:13px!important;line-height:1.5!important}
.compact-footer-column h4,.compact-footer-contact h4{color:#fff!important;font-size:14px!important}.compact-footer a:hover{color:#fff!important;text-decoration:none!important}
.compact-footer-bottom{padding:11px clamp(22px,5vw,64px)!important;background:rgba(1,13,34,.42)!important;border-top:1px solid rgba(255,255,255,.12)!important;color:#c7d4e5!important;font-size:11px!important}

/* Authentication and information pages. */
.auth-page{background:#f5f8fb!important}.auth-layout{background:#fff!important}.auth-visual::after{background:linear-gradient(180deg,rgba(3,21,47,.12),rgba(3,21,47,.82))!important}.auth-visual-copy{max-width:520px!important}.auth-visual-copy h2{font-size:clamp(36px,4vw,56px)!important;letter-spacing:-.04em!important}.auth-panel{align-items:flex-start!important;background:linear-gradient(180deg,#fff,#f8fbfe)!important;padding-top:clamp(28px,4.5vh,58px)!important}.auth-shell{max-width:690px!important;margin:0 auto!important;padding:18px clamp(28px,4vw,54px) 54px!important}.auth-wide{max-width:880px!important}.auth-back{margin-bottom:14px!important}.auth-logo{margin-bottom:26px!important}.auth-logo img{width:325px!important;height:96px!important;object-fit:contain!important;object-position:left top!important}.auth-heading h1{font-size:clamp(36px,4vw,50px)!important;letter-spacing:-.045em!important}.auth-form{gap:17px!important}.auth-form fieldset{border:1px solid #dce5ee!important;border-radius:16px!important;background:#fff!important;padding:19px!important;box-shadow:var(--shadow-sm)!important}.auth-form legend{padding:0 8px;color:var(--navy)!important;font-weight:900!important}.auth-form input,.auth-form select{min-height:50px!important;padding:0 13px!important}.auth-form .btn{width:100%;min-height:50px!important}.auth-mini-footer{background:var(--navy-deep)!important}
.info-page{background:#f5f8fb!important}.simple-header{min-height:84px!important;padding:8px clamp(20px,5vw,60px)!important;background:#fff!important;border-bottom:1px solid #dfe7ee!important;box-shadow:0 8px 25px rgba(4,29,66,.06)!important}.simple-header img{width:245px!important;height:68px!important;object-fit:contain!important;object-position:left center!important}.info-shell{max-width:980px!important;padding:66px 24px 80px!important}.info-shell h1{font-size:clamp(36px,5vw,54px)!important;letter-spacing:-.045em!important}.info-shell article,.info-shell section{border:1px solid #dce5ee!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important}

/* Portal shell. */
.portal-body{background:#f4f7fb!important;color:var(--text)!important}
.portal-sidebar,.admin-sidebar{
  width:276px!important;padding:16px 13px!important;
  background:linear-gradient(180deg,var(--navy-deep),#052554 58%,#08356f)!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  box-shadow:10px 0 32px rgba(3,21,47,.12)!important;
}
.portal-sidebar .portal-brand,.admin-sidebar .portal-brand{
  height:104px!important;min-height:104px!important;padding:9px 12px!important;margin:0 2px 15px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid rgba(255,255,255,.11)!important;border-radius:17px!important;background:rgba(255,255,255,.055)!important;
  overflow:hidden!important;
}
.portal-sidebar .portal-brand img,.admin-sidebar .portal-brand img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;filter:brightness(1.14) contrast(1.04)!important;
}
.portal-nav{gap:3px!important}.portal-nav-label{margin:18px 12px 7px!important;color:rgba(208,223,241,.54)!important;font-size:9px!important;letter-spacing:.13em!important;font-weight:900!important}
.portal-nav a{
  min-height:45px!important;padding:8px 11px!important;border:1px solid transparent!important;border-radius:12px!important;
  color:#cbd9e9!important;font-size:12px!important;font-weight:760!important;gap:10px!important;
}
.portal-nav a>span{width:31px!important;height:31px!important;border-radius:9px!important;display:grid!important;place-items:center!important;color:#b8cce2!important;background:rgba(255,255,255,.055)!important;flex:0 0 31px!important}
.portal-nav a>span .ui-icon{width:17px;height:17px}
.portal-nav a:hover{background:rgba(255,255,255,.075)!important;color:#fff!important;transform:translateX(2px)}
.portal-nav a.active{background:linear-gradient(90deg,rgba(223,32,41,.96),rgba(223,32,41,.74))!important;color:#fff!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 10px 23px rgba(223,32,41,.18)!important}
.portal-nav a.active>span{background:rgba(255,255,255,.16)!important;color:#fff!important}
.portal-help-card{margin:18px 2px 0!important;padding:14px!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:15px!important;background:rgba(255,255,255,.065)!important}.portal-help-icon{width:39px!important;height:39px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.12)!important;color:#fff!important}.portal-help-icon .ui-icon{width:20px;height:20px}
.portal-main-v25,.admin-main-v29{margin-left:276px!important;width:calc(100% - 276px)!important;padding:0 clamp(20px,2vw,30px)!important;background:#f4f7fb!important}
.portal-appbar,.admin-appbar{
  min-height:70px!important;margin:0 calc(clamp(18px,2.2vw,34px) * -1) 24px!important;padding:0 clamp(18px,2.2vw,34px)!important;
  background:rgba(255,255,255,.93)!important;border-bottom:1px solid #dce5ee!important;box-shadow:0 8px 25px rgba(4,29,66,.055)!important;backdrop-filter:blur(14px)!important;
}
.portal-menu-button{width:42px!important;height:42px!important;border:1px solid #d8e2ec!important;border-radius:12px!important;background:#fff!important;color:var(--navy)!important;display:grid!important;place-items:center!important}.portal-menu-button .ui-icon{width:20px;height:20px}
.portal-appbar>span{font-size:13px!important;font-weight:900!important;color:var(--navy)!important;letter-spacing:.02em!important}.portal-appbar-actions{gap:10px!important}
.premium-bell-button,.portal-user-chip{border:1px solid #dbe4ed!important;background:#fff!important;box-shadow:0 5px 16px rgba(4,29,66,.06)!important}.premium-bell-button:hover,.portal-user-chip:hover{border-color:#b9cce0!important;background:#f8fbfe!important}
.portal-user-chip{border-radius:13px!important;padding:6px 10px 6px 7px!important}.portal-user-chip>span{background:linear-gradient(145deg,var(--navy),var(--blue))!important;color:#fff!important}
.portal-view{width:100%!important;max-width:none!important;margin:0!important;padding-bottom:18px!important}
.portal-top-v25{margin-bottom:28px!important;align-items:flex-end!important}.portal-top-v25 small{color:var(--red)!important;font-size:10px!important;letter-spacing:.13em!important;font-weight:900!important}.portal-top-v25 h1{margin:6px 0 8px!important;color:var(--navy)!important;font-size:clamp(34px,3.4vw,48px)!important;line-height:1.03!important;letter-spacing:-.045em!important}.portal-top-v25 p{max-width:900px!important;color:var(--muted)!important;font-size:15px!important;line-height:1.65!important}

/* Portal cards, tables and controls. */
.panel,.stat-card,.mini-stat-card,.audit-summary-grid article,.role-summary-strip article,.shipment-batch-card,.rate-rule-card,.notification-item,.help-panel,.shipping-address-card{
  border:1px solid #dce5ee!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important;
}
.panel{padding:27px!important}.panel:hover{border-color:#cad9e7!important}.panel-heading-row{padding-bottom:15px!important;margin-bottom:15px!important;border-bottom:1px solid #e5ebf1!important}.panel-heading-row h3,.panel h3{color:var(--navy)!important;letter-spacing:-.02em!important}.panel-heading-row small,.panel>small{color:var(--red)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.11em!important}
.stat-card,.mini-stat-card,.audit-summary-grid article,.role-summary-strip article{position:relative;overflow:hidden!important}.stat-card::after,.mini-stat-card::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--blue),var(--red));opacity:.8}
.kpi-icon,.package-icon,.notification-icon,.notice-symbol,.tracking-search-icon,.invoice-required-icon,.referral-balance-icon,.address-summary-icon,.address-accuracy-icon,.contact-channel-icon,.security-shield{
  display:grid!important;place-items:center!important;border-radius:12px!important;font-size:0!important;
}
.kpi-icon .ui-icon,.package-icon .ui-icon,.notification-icon .ui-icon,.notice-symbol .ui-icon,.tracking-search-icon .ui-icon,.invoice-required-icon .ui-icon,.referral-balance-icon .ui-icon,.address-summary-icon .ui-icon,.address-accuracy-icon .ui-icon,.contact-channel-icon .ui-icon,.security-shield .ui-icon{width:21px;height:21px}
.table-wrap{border:1px solid #dde6ee!important;border-radius:14px!important;background:#fff!important;overflow:auto!important;box-shadow:0 8px 22px rgba(4,29,66,.045)!important}
.table{min-width:760px!important;border-collapse:separate!important;border-spacing:0!important}.table thead th{position:sticky;top:0;z-index:2;padding:13px 14px!important;background:#eef4fa!important;color:#3b5671!important;border-bottom:1px solid #d8e3ed!important;font-size:9px!important;font-weight:900!important;letter-spacing:.075em!important;text-transform:uppercase!important}.table tbody td{padding:13px 14px!important;border-bottom:1px solid #e8edf2!important;color:#29425c!important;font-size:12px!important}.table tbody tr:last-child td{border-bottom:0!important}.table tbody tr:hover td{background:#f8fbfe!important}.table-customer>span{background:linear-gradient(145deg,#eaf4fd,#d8eafb)!important;color:var(--blue)!important}
.status-pill,.invoice-chip,.service-chip,.rate-badge,.channel-status,.estimate-status{border-radius:999px!important;font-size:9px!important;font-weight:900!important;letter-spacing:.035em!important}
.admin-row-action,.icon-action{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;border:1px solid #d7e1eb!important;border-radius:10px!important;background:#fff!important;color:#5c738b!important;display:inline-grid!important;place-items:center!important}.admin-row-action:hover,.icon-action:hover{background:#edf5fd!important;color:var(--blue)!important;border-color:#b8d0e6!important}.admin-row-action .ui-icon,.icon-action .ui-icon{width:18px;height:18px}
.button-light{border:1px solid #d4e0eb!important;background:#fff!important;color:var(--navy)!important;box-shadow:0 5px 15px rgba(4,29,66,.045)!important}.button-light:hover{border-color:#b6cbe0!important;background:#f4f9fd!important;transform:translateY(-1px)}
.package-filter-tabs,.settings-tab-bar,.help-topic-tabs{display:flex!important;gap:5px!important;padding:5px!important;border:1px solid #dce5ee!important;border-radius:13px!important;background:#eaf0f6!important;overflow:auto!important}.package-filter-tabs button,.settings-tab-bar button,.help-topic-tabs button{min-height:38px!important;padding:0 13px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#60758b!important;font-size:10px!important;font-weight:850!important;white-space:nowrap!important}.package-filter-tabs button.active,.settings-tab-bar button.active,.help-topic-tabs button.active{background:#fff!important;color:var(--navy)!important;box-shadow:0 5px 15px rgba(4,29,66,.09)!important}
.package-toolbar,.admin-filter-bar,.report-filter-bar{gap:10px!important;padding:11px!important;border:1px solid #dce5ee!important;border-radius:14px!important;background:#edf2f7!important}.search-control{min-height:42px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 11px!important;border:1px solid #d4dfe9!important;border-radius:11px!important;background:#fff!important;overflow:hidden!important}.search-control input{min-width:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}.search-control:focus-within{border-color:#73a9d8!important;box-shadow:var(--focus)!important}
select{cursor:pointer}.admin-filter-bar select,.report-filter-bar select,.package-toolbar select{min-height:42px!important;border:1px solid #d4dfe9!important;border-radius:11px!important;background:#fff!important;color:#425b74!important;padding:0 34px 0 11px!important}
.portal-form,.admin-settings-form,.contact-support-form{gap:16px!important}.portal-form input,.portal-form select,.admin-settings-form input,.admin-settings-form select,.contact-form-grid input,.contact-form-grid select{min-height:48px!important;padding:0 12px!important}.portal-form textarea,.admin-settings-form textarea,.contact-form-grid textarea{padding:12px!important;resize:vertical!important}
.form-grid-2,.contact-form-grid,.calculator-input-grid,.admin-settings-grid{gap:16px!important}.invoice-dropzone,.invoice-upload-field{border:1.5px dashed #aac3da!important;border-radius:15px!important;background:#f5faff!important}.invoice-dropzone:hover,.invoice-upload-field:hover{border-color:var(--blue)!important;background:#edf6ff!important}

/* Notifications, popovers and modals. */
.notification-popover,.profile-dropdown,.export-choice-menu{
  border:1px solid #d8e3ed!important;border-radius:16px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 26px 70px rgba(3,21,47,.22)!important;backdrop-filter:blur(16px)!important;overflow:hidden!important;
}
.notification-preview-item{border-radius:11px!important}.notification-preview-item:hover{background:#f3f8fc!important}.notification-preview-item.unread{background:#f7fbff!important}.notification-preview-item.unread::before{background:var(--red)!important}
.profile-dropdown button,.profile-dropdown a{display:flex!important;align-items:center!important;gap:9px!important}.profile-dropdown .control-icon{width:17px;height:17px;color:#637b94}
.portal-modal,.v40-dialog,.v42-help-dialog,#v44-dialog{border:0!important;border-radius:20px!important;box-shadow:0 32px 90px rgba(3,21,47,.28)!important}.portal-modal::backdrop,.v40-dialog::backdrop,.v42-help-dialog::backdrop,#v44-dialog::backdrop{background:rgba(3,21,47,.58)!important;backdrop-filter:blur(4px)!important}.modal-form{border-radius:20px!important;background:#fff!important}.modal-heading{padding-bottom:15px!important;border-bottom:1px solid #e1e8ef!important}.modal-close{width:39px!important;height:39px!important;border:1px solid #d8e1ea!important;border-radius:11px!important;background:#f7f9fb!important;color:#536c84!important}.modal-close:hover{background:#fff0f1!important;color:var(--red)!important;border-color:#f0b7bb!important}

/* Dashboard-specific refinements. */
.package-list-v25 article,.admin-activity-list article{border:1px solid #e0e8f0!important;border-radius:15px!important;background:#fff!important;padding:17px!important}.package-list-v25 article:hover,.admin-activity-list article:hover{border-color:#c6d8e8!important;background:#f9fcff!important;box-shadow:var(--shadow-sm)!important}
.package-brand-icon,.store-logo-asset,.admin-store-logo{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}.package-brand-icon img,.store-logo-asset img,.admin-store-logo img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:9px!important;filter:drop-shadow(0 3px 6px rgba(4,29,66,.10))!important}
.package-brand-icon{width:86px!important;min-width:86px!important;height:38px!important}.store-logo-asset,.admin-store-logo{width:82px!important;min-width:82px!important;height:34px!important}
.quick-actions-card a,.tracking-quick-links button,.help-inline-actions button{border:1px solid #dce5ee!important;border-radius:12px!important;background:#fff!important}.quick-actions-card a:hover,.tracking-quick-links button:hover,.help-inline-actions button:hover{border-color:#bed3e6!important;background:#f2f8fd!important;transform:translateY(-1px)}
.calculator-service-rail button{border:1px solid #dce5ee!important;border-radius:15px!important;box-shadow:var(--shadow-sm)!important}.calculator-service-rail button.active{border-color:#efa7ac!important;background:#fff7f8!important;box-shadow:0 0 0 3px rgba(223,32,41,.08)!important}.tidy-calculator,.tidy-breakdown{border:1px solid #dce5ee!important;border-radius:18px!important;box-shadow:var(--shadow-sm)!important}.input-with-suffix,.input-with-prefix{border-radius:11px!important}.referral-balance-banner{border-radius:18px!important;background:linear-gradient(120deg,var(--navy),var(--blue))!important}.real-qr-panel{border:1px solid #dce5ee!important;border-radius:16px!important;background:#fff!important}.payment-option-grid label{border:1px solid #dce5ee!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important}.payment-option-grid label:hover{border-color:#b8d0e5!important;transform:translateY(-2px)}

/* Real map in customer contact view. */
.map-card.live-map-card{position:relative;height:250px!important;border:1px solid #ccdbe8!important;border-radius:16px!important;overflow:hidden!important;background:#dbe8f4 url("assets/mile-i-spanish-town-map.svg") center/cover no-repeat!important;box-shadow:0 13px 32px rgba(4,29,66,.13)!important}
.map-card.live-map-card iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:transparent}
.map-card-overlay{left:11px!important;right:11px!important;bottom:11px!important;top:auto!important;padding:10px 11px!important;border:1px solid rgba(255,255,255,.76)!important;border-radius:12px!important;background:rgba(255,255,255,.93)!important;backdrop-filter:blur(10px)!important;box-shadow:0 10px 26px rgba(3,21,47,.18)!important}.map-card-overlay .map-pin{width:36px!important;height:36px!important;border-radius:10px!important;background:#fff0f1!important;color:var(--red)!important}.map-card-overlay .map-pin .ui-icon{width:18px;height:18px}.map-card-overlay strong{color:var(--navy)!important}.map-card-overlay small{color:var(--muted)!important;font-size:9px!important;line-height:1.35!important}
.location-card>.full-width-button{margin-top:12px!important}

/* Collapsed desktop sidebars keep centred professional icons. */
body.portal-sidebar-collapsed .portal-sidebar,body.admin-sidebar-collapsed .admin-sidebar{width:78px!important;padding-left:8px!important;padding-right:8px!important}
body.portal-sidebar-collapsed .portal-main-v25,body.admin-sidebar-collapsed .admin-main-v29{margin-left:78px!important;width:calc(100% - 78px)!important}
body.portal-sidebar-collapsed .portal-sidebar .portal-brand,body.admin-sidebar-collapsed .admin-sidebar .portal-brand{height:64px!important;min-height:64px!important;padding:6px!important;background:transparent!important;border-color:transparent!important}
body.portal-sidebar-collapsed .portal-sidebar .portal-brand img,body.admin-sidebar-collapsed .admin-sidebar .portal-brand img{width:56px!important;height:48px!important;object-fit:cover!important;object-position:left center!important}
body.portal-sidebar-collapsed .portal-nav-label,body.admin-sidebar-collapsed .portal-nav-label,body.portal-sidebar-collapsed .portal-help-card,body.admin-sidebar-collapsed .admin-role-chip{display:none!important}
body.portal-sidebar-collapsed .portal-nav a,body.admin-sidebar-collapsed .portal-nav a{font-size:0!important;justify-content:center!important;padding:7px!important}
body.portal-sidebar-collapsed .portal-nav a>span,body.admin-sidebar-collapsed .portal-nav a>span{margin:0!important;width:36px!important;height:36px!important;flex-basis:36px!important}

/* Responsive public website. */
@media(max-width:1120px){
  .site-header{grid-template-columns:245px minmax(0,1fr) auto!important;padding:0 24px!important}.site-header nav{gap:14px!important}.site-header nav a{font-size:9px!important}.header-actions .btn{padding:0 13px!important}.contact-card-clean{grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr)!important}
}
@media(max-width:900px){
  .site-header{height:82px!important;grid-template-columns:1fr auto!important;background:rgba(3,21,47,.96)!important;padding:0 20px!important}.site-header .brand{height:70px!important;width:255px!important}.site-header .brand img{height:66px!important}.menu-toggle{display:block!important}.site-header nav,.header-actions{display:none!important}.menu-open .site-header{height:auto!important;min-height:82px!important;grid-template-columns:1fr auto!important;align-items:start!important;padding-bottom:16px!important}.menu-open .site-header nav{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;width:100%!important}.menu-open .site-header nav a{padding:12px 13px!important;border-radius:9px;background:rgba(255,255,255,.06)!important}.menu-open .site-header nav a::after{display:none}.menu-open .header-actions{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .hero{min-height:600px!important}.hero-content{padding:130px 24px 92px!important}.hero h1{font-size:clamp(44px,9vw,64px)!important}.hero-trust-wrap{margin:-35px auto 0!important}.premium-trust-bar{grid-template-columns:1fr!important}.premium-trust-bar article{min-height:94px!important}.premium-trust-bar article+article::before{left:22px!important;right:22px!important;top:0!important;bottom:auto!important;width:auto!important;height:1px!important}
  .service-grid{grid-template-columns:1fr 1fr!important}.smart-calculator-card{padding:31px 24px!important}.shipping-rates-showcase{padding:30px 22px!important}.always-visible-rate-grid{grid-template-columns:1fr!important}.benefit-row{grid-template-columns:1fr 1fr!important}.process-grid{grid-template-columns:1fr 1fr!important}.journey-track{grid-template-columns:1fr 1fr!important}.contact-card-clean{grid-template-columns:1fr!important}.contact-summary{padding:29px!important}.public-map-card{min-height:280px}
  .compact-footer-main{grid-template-columns:1fr 1fr!important}.compact-footer-brand{grid-column:1/-1!important}.compact-footer-v35 .compact-footer-brand img[src*="mile-i-logo-footer-cropped"]{width:300px!important;height:92px!important}
}
@media(max-width:620px){
  .section-pad{padding:72px 18px!important}.utility-shell{padding-left:18px!important;padding-right:18px!important;padding-bottom:72px!important}.smart-calculator-section{padding-top:72px!important}.hero{min-height:565px!important}.hero-image{object-position:58% center!important}.hero-shade{background:linear-gradient(90deg,rgba(3,21,47,.92),rgba(3,21,47,.64) 64%,rgba(3,21,47,.22))!important}.hero-content{padding:118px 18px 78px!important}.hero h1{font-size:42px!important}.hero p{font-size:15px!important}.hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.hero-actions .btn{padding:0 12px!important}.hero-trust-wrap{padding:0 14px!important}.service-grid,.benefit-row,.process-grid,.journey-track{grid-template-columns:1fr!important}.service-grid article{min-height:0!important}.smart-calculator-card{padding:26px 16px!important;border-radius:19px!important}.smart-calculator-grid,.dimension-group{grid-template-columns:1fr!important}.smart-dimensions-head{align-items:flex-start!important;gap:9px!important;flex-direction:column!important}.shipping-rates-showcase{padding:24px 14px!important;border-radius:19px!important}.visible-rate-tabs{width:100%!important;justify-content:flex-start!important}.visible-rate-tab{flex:0 0 auto!important}.always-visible-rate-card{padding:20px 15px!important}.always-rate-head{align-items:flex-start!important;gap:10px!important}.rate-badge{align-self:flex-start!important}.tracking-band{margin:0 14px 72px!important;padding:26px 18px!important}.contact-summary,.contact-form-panel{padding:24px 18px!important}.public-map-card{min-height:255px}.contact-logo{width:250px!important;height:75px!important}.compact-footer-main{grid-template-columns:1fr!important}.compact-footer-brand{grid-column:auto!important}.compact-footer-v35 .compact-footer-brand img[src*="mile-i-logo-footer-cropped"]{width:280px!important;height:86px!important}.compact-footer-bottom{flex-direction:column!important;gap:4px!important;text-align:center!important}
  .auth-visual{min-height:330px!important}.auth-panel{padding-top:24px!important}.auth-shell{padding:22px 20px 38px!important}.auth-logo img{width:270px!important;height:80px!important}.form-two,.form-three{grid-template-columns:1fr!important}
}

/* Responsive portal. */
@media(max-width:1000px){
  .portal-sidebar,.admin-sidebar{width:82px!important;padding:10px 8px!important}.portal-main-v25,.admin-main-v29{margin-left:82px!important;width:calc(100% - 82px)!important}.portal-sidebar .portal-brand,.admin-sidebar .portal-brand{height:70px!important;min-height:70px!important;padding:5px!important;margin-bottom:10px!important}.portal-sidebar .portal-brand img,.admin-sidebar .portal-brand img{width:63px!important;height:58px!important;object-fit:cover!important;object-position:left center!important}.portal-nav-label,.portal-help-card,.admin-role-chip{display:none!important}.portal-nav a{font-size:0!important;justify-content:center!important;padding:7px!important}.portal-nav a>span{width:38px!important;height:38px!important;flex-basis:38px!important;margin:0!important}.portal-appbar,.admin-appbar{margin-bottom:20px!important}.portal-grid-v25,.admin-dashboard-grid,.contact-main-grid,.profile-layout,.payment-preference-layout,.notifications-layout,.referral-layout,.staff-layout,.admin-settings-grid{grid-template-columns:1fr!important}.admin-dashboard-side,.portal-side-stack{display:grid!important;grid-template-columns:1fr 1fr!important}.calculator-main-grid{grid-template-columns:1fr!important}.tidy-breakdown{position:static!important}.upgraded-report-grid{grid-template-columns:1fr!important}.report-chart-card,.service-breakdown-card{grid-column:auto!important}
}
@media(max-width:720px){
  .portal-sidebar,.admin-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(286px,86vw)!important;z-index:120!important;padding:14px 12px!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}.portal-main-v25,.admin-main-v29{margin-left:0!important;width:100%!important;padding:0 14px!important}body.portal-sidebar-collapsed .portal-main-v25,body.admin-sidebar-collapsed .admin-main-v29{margin-left:0!important;width:100%!important}.portal-body:not(.portal-sidebar-collapsed) .portal-sidebar,.portal-body.admin-v29:not(.admin-sidebar-collapsed) .admin-sidebar{transform:translateX(0)!important}.portal-body.portal-sidebar-collapsed .portal-sidebar,.portal-body.admin-sidebar-collapsed .admin-sidebar{transform:translateX(-105%)!important;width:min(286px,86vw)!important}.portal-sidebar .portal-brand,.admin-sidebar .portal-brand{height:92px!important;min-height:92px!important}.portal-sidebar .portal-brand img,.admin-sidebar .portal-brand img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}.portal-nav-label{display:block!important}.portal-nav a{font-size:12px!important;justify-content:flex-start!important;padding:8px 11px!important}.portal-help-card{display:flex!important}.portal-appbar,.admin-appbar{min-height:64px!important;margin:0 -14px 18px!important;padding:0 14px!important}.portal-appbar>span{display:none!important}.portal-user-chip strong,.portal-user-chip i{display:none!important}.portal-user-chip{padding:5px!important}.portal-top-v25{display:block!important}.portal-top-v25>div+*{margin-top:14px!important}.portal-top-v25 .btn,.portal-top-v25 .button,.admin-top-actions{width:100%!important}.admin-top-actions{display:grid!important;grid-template-columns:1fr!important}.portal-grid-v25,.admin-kpi-grid,.prealert-summary-grid,.invoice-summary-grid,.audit-summary-grid,.role-summary-strip{grid-template-columns:1fr!important}.admin-dashboard-side,.portal-side-stack{grid-template-columns:1fr!important}.package-toolbar,.admin-filter-bar,.report-filter-bar{display:grid!important;grid-template-columns:1fr!important}.package-toolbar>*,.admin-filter-bar>*,.report-filter-bar>*{width:100%!important}.calculator-service-rail{grid-template-columns:1fr!important}.calculator-input-grid,.dimension-grid,.form-grid-2,.contact-form-grid{grid-template-columns:1fr!important}.calculator-form-footer,.contact-form-footer{display:grid!important;grid-template-columns:1fr!important}.calculator-form-footer .btn,.contact-form-footer .btn{width:100%!important}.notification-popover,.profile-dropdown{position:fixed!important;left:12px!important;right:12px!important;top:72px!important;width:auto!important;max-width:none!important}.portal-footer-v25{margin-left:-14px!important;margin-right:-14px!important;padding:13px 14px!important}.map-card.live-map-card{height:270px!important}
}

/* Dedicated Rates page — keeps published rates separate from the Smart Rate Estimator. */
.rates-page{background:#f4f7fb;color:var(--ink,#10233f)}
.rates-page .site-header nav a.active{color:#fff}
.rates-page .site-header nav a.active::after{transform:scaleX(1)}
.rates-page-hero{position:relative;min-height:470px;padding:155px 24px 90px;display:flex;align-items:center;overflow:hidden;background:linear-gradient(110deg,rgba(3,21,47,.98),rgba(7,45,92,.94)),url("assets/mile-i-hero.webp") center 46%/cover no-repeat}
.rates-page-hero::after{content:"";position:absolute;inset:auto -12% -60% 35%;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(32,112,213,.34),transparent 68%);pointer-events:none}
.rates-page-hero-inner{position:relative;z-index:1;width:min(1180px,100%);margin:auto;color:#fff}
.rates-page-hero h1{margin:14px 0 18px;max-width:760px;font-size:clamp(46px,6vw,76px);line-height:.98;letter-spacing:-.05em}
.rates-page-hero h1 span{color:#f03b43}
.rates-page-hero p{max-width:680px;margin:0;color:rgba(255,255,255,.8);font-size:18px;line-height:1.7}
.rates-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.rates-page-main{width:min(1240px,calc(100% - 36px));margin:-54px auto 0;position:relative;z-index:2;padding-bottom:90px}
.rates-page-sheet{margin:0!important;padding:42px!important;background:#fff!important;border:1px solid #dce5f1!important;border-radius:24px!important;box-shadow:0 24px 70px rgba(7,31,68,.14)!important}
.rates-page-sheet .shipping-rates-heading{text-align:center;max-width:720px;margin:0 auto 26px}
.rates-page-sheet .visible-rate-tabs{margin-bottom:28px}
.rates-page-note{margin-top:22px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:22px 24px;border:1px solid #d7e4f3;border-radius:18px;background:linear-gradient(135deg,#fff,#f6f9fd);box-shadow:0 12px 34px rgba(7,31,68,.07)}
.rates-note-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e7f0fb;color:#0b4f96;font-weight:900;font-family:Georgia,serif;font-size:22px}
.rates-page-note strong{display:block;color:#071f42;font-size:16px;margin-bottom:4px}.rates-page-note p{margin:0;color:#60708a;line-height:1.6}
@media(max-width:900px){.rates-page-hero{min-height:430px;padding-top:130px}.rates-page-main{margin-top:-38px}.rates-page-sheet{padding:30px 22px!important}.rates-page-note{grid-template-columns:auto 1fr}.rates-page-note .btn{grid-column:1/-1;width:100%}}
@media(max-width:620px){.rates-page-hero{min-height:440px;padding:116px 18px 72px}.rates-page-hero h1{font-size:44px}.rates-page-hero p{font-size:15px}.rates-hero-actions{display:grid;grid-template-columns:1fr}.rates-page-main{width:min(100% - 24px,1240px);margin-top:-28px;padding-bottom:66px}.rates-page-sheet{padding:22px 12px!important;border-radius:18px!important}.rates-page-note{grid-template-columns:1fr;padding:20px}.rates-note-icon{width:40px;height:40px}}


/* V52 — Authentication balance and customer store-logo restoration */
@media (min-width:981px){
  .auth-layout{
    grid-template-columns:minmax(500px,1fr) minmax(620px,1fr)!important;
  }
  .auth-panel{
    padding:34px clamp(24px,3.2vw,54px) 48px!important;
    align-items:flex-start!important;
  }
  .auth-shell{
    width:min(100%,740px)!important;
    max-width:740px!important;
    padding:10px 0 44px!important;
  }
  .auth-wide{
    width:min(100%,820px)!important;
    max-width:820px!important;
  }
  .auth-logo img{
    width:292px!important;
    height:84px!important;
  }
  .auth-heading h1{
    font-size:clamp(34px,3.15vw,45px)!important;
  }
  .auth-heading p{
    font-size:15px!important;
  }
  .auth-form{
    gap:15px!important;
  }
  .auth-form fieldset{
    padding:17px!important;
    border-radius:14px!important;
  }
  .auth-form input,.auth-form select{
    min-height:47px!important;
  }
}
.auth-visual::after{
  background:linear-gradient(180deg,rgba(3,21,47,.72) 0%,rgba(3,21,47,.28) 38%,rgba(3,21,47,.48) 100%)!important;
}
.auth-visual-copy{
  top:clamp(26px,3vw,44px)!important;
  bottom:auto!important;
  max-width:570px!important;
  text-shadow:0 3px 18px rgba(0,0,0,.34)!important;
}
.auth-visual-copy h2{
  font-size:clamp(34px,3.5vw,50px)!important;
}
.package-brand-icon,
.store-logo-asset{
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #d7e1eb!important;
  box-shadow:0 6px 16px rgba(4,29,66,.10)!important;
}
.package-brand-icon img,
.store-logo-asset img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border-radius:8px!important;
  filter:none!important;
}
@media(max-width:980px){
  .auth-visual-copy{
    top:24px!important;
    bottom:auto!important;
  }
}
@media(max-width:620px){
  .auth-visual-copy{
    top:18px!important;
    left:20px!important;
    right:20px!important;
  }
  .auth-visual-copy h2{
    font-size:30px!important;
  }
  .auth-visual-copy p{
    font-size:13px!important;
    line-height:1.55!important;
  }
}


/* V54 AUTHORIZED PICKUP PERSONS */
.pickup-authorization-layout{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(420px,1.18fr);gap:20px;align-items:start}
.pickup-authorization-form,.pickup-authorization-list-card{padding:24px!important}
.pickup-required-chip,.pickup-count-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.45px}
.pickup-required-chip{padding:8px 11px;background:#fff1f2;color:#bf1f2b;border:1px solid #ffd1d5}
.pickup-count-badge{min-width:34px;height:34px;padding:0 10px;background:#eaf3ff;color:#0758b5;border:1px solid #cfe2fb}
.pickup-form-intro{margin:0 0 18px;color:#667b91;line-height:1.55}
.pickup-authorization-form>label{display:grid;gap:8px;margin-top:15px;color:#173b68;font-weight:800;font-size:12px}
.pickup-authorization-form input{min-height:48px;width:100%;border:1px solid #d6e1ee;border-radius:11px;padding:0 14px;background:#fff;color:#0a2d59;font:inherit;box-sizing:border-box}
.pickup-authorization-form input:focus{border-color:#2776ce;box-shadow:0 0 0 3px rgba(39,118,206,.13);outline:none}
.required-mark{color:#e5222b}
.pickup-security-note{display:flex;gap:11px;align-items:flex-start;margin:18px 0 4px;padding:14px;border:1px solid #cfe4d6;border-radius:12px;background:#f1fbf4;color:#275e3a}
.pickup-security-note>span{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:#dff4e5;font-weight:900}
.pickup-security-note p{margin:0;font-size:11px;line-height:1.5}
.pickup-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.pickup-form-actions .btn,.pickup-form-actions .button{min-width:150px}
.pickup-authorization-list{display:grid;gap:12px;margin-top:16px}
.pickup-person-card{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #dce6f1;border-radius:14px;background:#fbfdff;transition:.18s ease}
.pickup-person-card:hover{border-color:#b9cee6;box-shadow:0 10px 26px rgba(6,37,91,.07);transform:translateY(-1px)}
.pickup-person-avatar{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#0c5aa8,#073a76);color:#fff;font-weight:900;letter-spacing:.5px}
.pickup-person-details{min-width:0;flex:1}
.pickup-person-details strong,.pickup-person-details span{display:block}
.pickup-person-details strong{color:#06255b;font-size:13px}
.pickup-person-details span{margin-top:4px;color:#6b7f95;font-size:11px;letter-spacing:.35px}
.pickup-person-status{display:inline-flex!important;width:max-content;margin-top:7px!important;padding:4px 8px;border-radius:999px;background:#e9f7ee;color:#19723b!important;font-size:9px!important;font-weight:900;letter-spacing:.6px;text-transform:uppercase}
.pickup-person-actions{display:flex;gap:7px}
.pickup-person-actions button{min-width:38px;min-height:38px;border:1px solid #d8e2ed;border-radius:10px;background:#fff;color:#315577;font-weight:800;cursor:pointer}
.pickup-person-actions button:hover{background:#eff6ff;border-color:#b9d1ec}
.pickup-person-actions .pickup-remove:hover{background:#fff1f2;border-color:#ffc9ce;color:#bf1f2b}
.pickup-empty-state{text-align:center;padding:38px 20px 28px;color:#6e8195}
.pickup-empty-state[hidden]{display:none!important}
.pickup-empty-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 13px;border-radius:17px;background:#edf4fc;color:#0b5cac;font-weight:900;letter-spacing:1px}
.pickup-empty-state h4{margin:0;color:#143c6b}.pickup-empty-state p{max-width:360px;margin:7px auto 0;line-height:1.5}
.pickup-authorization-policy{display:flex;align-items:flex-start;gap:14px;margin-top:20px;padding:18px 20px!important;background:#fffaf0!important;border-color:#f1dfad!important}
.pickup-policy-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#fff0c6;color:#9b6500;font-weight:900}
.pickup-authorization-policy h3{margin:0;color:#513a0b;font-size:14px}.pickup-authorization-policy p{margin:5px 0 0;color:#775f2d;line-height:1.5;font-size:12px}
@media(max-width:980px){.pickup-authorization-layout{grid-template-columns:1fr}.pickup-authorization-list-card{min-height:260px}}
@media(max-width:560px){.pickup-authorization-form,.pickup-authorization-list-card{padding:18px!important}.pickup-person-card{align-items:flex-start;flex-wrap:wrap}.pickup-person-details{min-width:calc(100% - 62px)}.pickup-person-actions{width:100%;justify-content:flex-end}.pickup-form-actions{display:grid;grid-template-columns:1fr}.pickup-form-actions .btn,.pickup-form-actions .button{width:100%}}


/* V55 policy pages and account-status controls */
.legal-info-page{background:#f5f8fc;color:#10294d}.legal-header{gap:24px}.legal-header nav{display:flex;align-items:center;gap:16px}.legal-header nav>a:not(.btn){font-weight:800;color:#10294d;text-decoration:none}.legal-shell{max-width:1080px}.legal-shell>h1{max-width:900px}.legal-effective{display:inline-flex;padding:8px 13px;border-radius:999px;background:#eaf2fb;color:#24496f;margin:0 0 18px}.legal-shell section{background:#fff;border:1px solid #dce7f4;border-radius:16px;padding:24px 28px;margin:16px 0;box-shadow:0 10px 30px rgba(6,31,76,.06)}.legal-shell section h2{margin-top:0;color:#061f4c}.legal-shell li{margin:.45rem 0}.legal-shell a{color:#0b5dc4}.legal-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.legal-footer-links{display:flex;gap:16px;flex-wrap:wrap}.legal-footer a{color:#fff;font-weight:750}.policy-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.policy-card{display:flex;flex-direction:column;gap:6px;padding:22px;border-radius:15px;background:#fff;border:1px solid #d8e5f4;text-decoration:none!important;box-shadow:0 8px 24px rgba(6,31,76,.06)}.policy-card strong{color:#061f4c;font-size:1.05rem}.policy-card span{color:#60738b}.legal-callout{border-left:5px solid #0b63ce!important}.legal-callout.danger{border-left-color:#e6232d!important;background:#fff8f8!important}.status-definition-list{display:grid;grid-template-columns:190px 1fr;gap:10px 18px}.status-definition-list dt{font-weight:850;color:#061f4c}.status-definition-list dd{margin:0;color:#526980}.policy-inline-note{border:1px solid #d7e4f3;border-radius:12px;background:#f6f9fd;padding:14px 16px;margin-top:14px}.policy-inline-note label{display:flex!important;align-items:flex-start;gap:10px;font-weight:650}.policy-inline-note input{margin-top:3px;flex:0 0 auto}.portal-policy-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:10px}.portal-policy-links a{font-weight:750}.account-status-dialog{border:0;border-radius:18px;padding:0;width:min(560px,calc(100vw - 28px));box-shadow:0 28px 80px rgba(4,24,55,.3)}.account-status-dialog::backdrop{background:rgba(3,18,43,.58)}.account-status-shell{padding:26px}.account-status-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #dde7f2;padding-bottom:18px}.account-status-head h3{margin:2px 0 0;color:#061f4c}.account-status-head button{border:0;background:#edf3fa;border-radius:10px;width:38px;height:38px;font-size:24px;cursor:pointer}.account-status-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.account-status-summary div{padding:13px;border:1px solid #dce7f4;border-radius:12px}.account-status-summary span,.account-status-summary strong{display:block}.account-status-summary span{font-size:.75rem;color:#6b7f96;font-weight:800;text-transform:uppercase}.account-status-form label{display:block;font-weight:800;color:#213b5b}.account-status-form textarea{width:100%;min-height:92px;margin-top:8px;resize:vertical}.account-status-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.account-status-actions button{min-height:46px;border-radius:11px;border:1px solid #cfdceb;font-weight:850;cursor:pointer}.account-action-activate{background:#eaf8ef;color:#12643a}.account-action-suspend{background:#fff5df;color:#895d00}.account-action-close{background:#fff0f1;color:#ac1720}.account-status-help{font-size:.86rem;color:#62758c;margin:12px 0 0}.status-pill.suspended{background:#fff0ce;color:#8a5b00}.status-pill.closed{background:#f5dfe2;color:#9a1d28}.admin-account-result{min-height:22px;margin:10px 0 0;font-weight:750}.masked-sensitive{font-variant-numeric:tabular-nums;letter-spacing:.03em}.account-blocked-panel{max-width:560px;margin:auto;padding:28px;border:1px solid #d9e5f2;border-radius:18px;background:#fff}.prealert-policy-confirmation{grid-column:1/-1}.signup-policy-checks{display:grid;gap:10px;margin:4px 0 12px}
@media(max-width:720px){.policy-grid{grid-template-columns:1fr}.status-definition-list{grid-template-columns:1fr}.legal-header nav>a:not(.btn){display:none}.account-status-summary{grid-template-columns:1fr}.account-status-actions{grid-template-columns:1fr}.legal-shell section{padding:20px}.legal-footer{justify-content:center;text-align:center}}


/* ======================================================================
   V57 MOBILE-FIRST LAUNCH FIXES
   Removes desktop editor geometry from small screens and protects all
   public, account and portal layouts from horizontal overflow.
   ====================================================================== */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%}
input,select,textarea,button{max-width:100%}
.table-wrap,.rate-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

@media (hover:none){
  .pr32-effect-hover:hover{animation:none!important}
  .service-grid article:hover,.contact-summary-grid a:hover{transform:none!important}
}

@media(max-width:900px){
  .site-header{
    position:fixed!important;top:0!important;left:0!important;right:0!important;
    min-height:76px!important;height:76px!important;padding:0 14px!important;
    grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;
    background:rgba(3,21,47,.97)!important;backdrop-filter:blur(12px)!important;
  }
  .site-header .brand{width:auto!important;min-width:0!important;height:72px!important;overflow:hidden!important}
  .site-header .brand img{
    display:block!important;width:auto!important;height:64px!important;max-width:min(205px,72vw)!important;
    object-fit:contain!important;object-position:left center!important;transform:none!important;translate:none!important;scale:1!important;
  }
  .menu-toggle{width:44px!important;height:44px!important;display:grid!important;align-content:center!important;justify-content:center!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important}
  .menu-toggle span{width:24px!important}
  .menu-open .site-header{height:auto!important;min-height:76px!important;padding-bottom:14px!important}
  .menu-open .site-header nav{grid-template-columns:1fr!important;max-height:58vh!important;overflow:auto!important;padding:8px 0!important}
  .menu-open .site-header nav a{font-size:12px!important;text-align:left!important;padding:12px 15px!important}
  .menu-open .header-actions{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .menu-open .header-actions .btn{width:100%!important}

  .hero{
    display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;
    aspect-ratio:auto!important;padding-top:76px!important;overflow:visible!important;background:#06255b!important;
  }
  .hero-image{
    position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;
    aspect-ratio:3/2!important;object-fit:contain!important;object-position:center!important;
    transform:none!important;translate:none!important;scale:1!important;background:#082a59!important;
  }
  .hero-shade{display:none!important}
  .hero-content{
    position:relative!important;display:block!important;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;
    padding:32px 20px 74px!important;margin:0!important;transform:none!important;translate:none!important;scale:1!important;
    background:linear-gradient(140deg,#041d47,#0a4f96)!important;color:#fff!important;
  }
  .hero .eyebrow{font-size:10px!important;padding:8px 11px!important}
  .hero h1{font-size:clamp(39px,11.5vw,54px)!important;line-height:.98!important;margin:18px 0!important;overflow-wrap:normal!important}
  .hero p{font-size:15px!important;line-height:1.58!important;margin-bottom:24px!important}
  .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;max-width:420px!important}
  .hero-actions .btn{width:100%!important;min-width:0!important;padding:0 12px!important}
  .hero-trust-wrap{
    position:relative!important;width:100%!important;height:auto!important;max-width:560px!important;max-height:none!important;
    margin:-42px auto 0!important;padding:0 14px!important;transform:none!important;translate:none!important;scale:1!important;z-index:5!important;
  }
  .premium-trust-bar{grid-template-columns:1fr!important;border-radius:17px!important}
  .premium-trust-bar article{min-height:auto!important;padding:18px 17px!important;gap:14px!important}
  .premium-trust-bar strong{font-size:15px!important}
  .premium-trust-bar span{font-size:12px!important}
  .premium-trust-bar .trust-icon{width:45px!important;height:45px!important;min-width:45px!important}

  .section-pad{padding:58px 18px!important}
  .section-copy.centered{margin-bottom:30px!important}
  .section-copy h2,.calculator-heading h2{font-size:clamp(28px,8vw,36px)!important;line-height:1.08!important}
  .section-copy p,.calculator-heading p{font-size:14px!important;line-height:1.65!important}
  .service-grid{grid-template-columns:1fr!important;gap:14px!important;margin-top:28px!important}
  .service-grid article{padding:22px!important;border-radius:16px!important}

  .utility-shell{width:100%!important;margin:0 auto!important;padding:0 16px 60px!important}
  .smart-calculator-section{padding-top:58px!important}
  .smart-calculator-card{padding:24px 16px!important;border-radius:18px!important}
  .smart-calculator-grid,.dimension-group{grid-template-columns:1fr!important;gap:15px!important}
  .smart-calculator-grid input,.smart-calculator-grid select{width:100%!important;min-width:0!important}
  .smart-calculator-button{width:100%!important}
  .shipping-rates-showcase{padding:22px 13px!important;border-radius:18px!important}
  .visible-rate-tabs{display:flex!important;overflow-x:auto!important;justify-content:flex-start!important;padding-bottom:5px!important;scroll-snap-type:x proximity!important}
  .visible-rate-tab{flex:0 0 auto!important;scroll-snap-align:start!important}
  .always-visible-rate-grid{grid-template-columns:1fr!important}
  .always-visible-rate-card{padding:20px 15px!important}
  .rate-table-wrap{border-radius:12px!important}

  .benefit-row,.process-grid,.journey-track{grid-template-columns:1fr!important;gap:14px!important}
  .benefit-row{padding:8px!important}
  .benefit-row article{min-height:auto!important;padding:16px!important}
  .process-grid article,.journey-step{padding:20px 18px!important}
  .process-grid .step{left:16px!important}

  .payment-strip{margin:0 16px 26px!important;padding:25px 20px!important;display:block!important;border-radius:17px!important}
  .payment-strip h2{font-size:25px!important}
  .payment-methods{display:grid!important;grid-template-columns:1fr 1fr!important;margin-top:18px!important;width:100%!important}
  .payment-methods span{text-align:center!important;min-width:0!important}

  .tracking-band{margin:0 14px 58px!important;padding:24px 18px!important;grid-template-columns:1fr!important;gap:20px!important;border-radius:18px!important}
  .tracking-band form{grid-template-columns:1fr!important;gap:10px!important}
  .tracking-band .btn{width:100%!important;min-width:0!important}

  .faq details{padding:0!important}
  .faq summary{padding:17px!important;font-size:14px!important}
  .faq details p{padding:0 17px 18px!important;font-size:14px!important}
  .faq-cargo-copy{padding:28px 20px!important}
  .faq-cargo-copy h3{font-size:26px!important}
  .faq-cargo-actions{display:grid!important;grid-template-columns:1fr!important}

  .contact-card-clean{grid-template-columns:1fr!important;margin-top:28px!important;border-radius:18px!important}
  .contact-summary,.contact-form-panel{padding:24px 18px!important}
  .contact-logo{display:block!important;width:min(260px,100%)!important;height:auto!important;max-height:88px!important;object-fit:contain!important;object-position:left center!important;transform:none!important;translate:none!important;scale:1!important}
  .public-map-card{min-height:240px!important}
  .public-map-card-label{left:10px!important;right:10px!important;bottom:50px!important;padding:11px!important}
  .contact-form-panel h3{font-size:27px!important}
  .form-two,.form-three{grid-template-columns:1fr!important}
  .contact-form .btn{width:100%!important}

  .compact-footer-main{grid-template-columns:1fr 1fr!important;padding:28px 20px 18px!important;gap:24px 18px!important}
  .compact-footer-brand{grid-column:1/-1!important;overflow:visible!important}
  .compact-footer-brand img{
    display:block!important;width:min(275px,100%)!important;height:auto!important;max-height:105px!important;
    object-fit:contain!important;object-position:left center!important;transform:none!important;translate:none!important;scale:1!important;
  }
  .compact-footer-brand p{margin:10px 0 0!important;transform:none!important;translate:none!important;font-size:12px!important}
  .compact-footer-bottom{display:flex!important;flex-direction:column!important;gap:4px!important;text-align:center!important;padding:12px 18px!important}

  .rates-page-hero{min-height:0!important;padding:118px 18px 66px!important}
  .rates-page-hero h1{font-size:clamp(39px,10.5vw,54px)!important}
  .rates-page-hero p{font-size:15px!important;line-height:1.6!important}
  .rates-hero-actions{display:grid!important;grid-template-columns:1fr!important}
  .rates-page-main{width:calc(100% - 20px)!important;margin-top:-28px!important;padding-bottom:60px!important}
  .rates-page-sheet{padding:20px 11px!important;border-radius:17px!important}
  .rates-page-note{grid-template-columns:1fr!important;padding:18px!important}
  .rates-page-note .btn{width:100%!important}

  .simple-header{min-height:72px!important;height:auto!important;padding:7px 15px!important;gap:10px!important}
  .simple-header img{width:min(205px,65vw)!important;height:60px!important}
  .simple-header .btn{padding:0 12px!important}
  .info-shell,.legal-shell{padding:36px 14px 58px!important;margin-top:0!important}
  .info-shell h1,.legal-shell h1{font-size:clamp(32px,9vw,43px)!important}
  .info-shell section,.info-shell article,.legal-shell section{padding:20px 17px!important;border-radius:14px!important}
}

@media(max-width:620px){
  .menu-open .header-actions{grid-template-columns:1fr!important}
  .hero-actions{grid-template-columns:1fr!important;max-width:none!important}
  .hero-content{padding:28px 17px 70px!important}
  .hero h1{font-size:39px!important}
  .payment-methods{grid-template-columns:1fr!important}
  .compact-footer-main{grid-template-columns:1fr!important}
  .compact-footer-brand{grid-column:auto!important}
}

/* Authentication pages: clean one-column mobile experience. */
@media(max-width:760px){
  .auth-page{min-height:100svh!important}
  .auth-layout{display:block!important;min-height:100svh!important}
  .auth-visual{display:none!important}
  .auth-panel{min-height:100svh!important;display:block!important;padding:18px 12px 34px!important}
  .auth-shell{width:100%!important;max-width:560px!important;margin:0 auto!important;padding:18px 15px 34px!important}
  .auth-back{margin-bottom:8px!important}
  .auth-logo{display:flex!important;justify-content:center!important;margin:4px auto 20px!important;overflow:visible!important}
  .auth-logo img{display:block!important;width:min(250px,78vw)!important;height:auto!important;max-height:92px!important;object-fit:contain!important;object-position:center!important;transform:none!important;translate:none!important;scale:1!important}
  .auth-heading h1{font-size:clamp(31px,9vw,42px)!important}
  .auth-form fieldset{padding:16px!important}
  .auth-form input,.auth-form select,.auth-form textarea{width:100%!important;min-width:0!important;font-size:16px!important}
  .password-row{grid-template-columns:minmax(0,1fr) auto!important}
  .auth-mini-footer{flex-direction:column!important;text-align:center!important;gap:6px!important;padding:12px 15px!important}
}

/* Customer and admin portals: full-width mobile canvas with off-canvas menu. */
@media(max-width:720px){
  .portal-body{display:block!important;min-width:0!important}
  .portal-main-v25,.admin-main-v29{margin-left:0!important;width:100%!important;min-width:0!important;padding:0 12px!important}
  .portal-sidebar,.admin-sidebar{width:min(300px,88vw)!important;padding:12px!important;box-shadow:18px 0 48px rgba(3,21,47,.35)!important}
  .portal-body:not(.portal-sidebar-collapsed)::after,
  .portal-body.admin-v29:not(.admin-sidebar-collapsed)::after{
    content:"";position:fixed;inset:0;background:rgba(1,12,30,.46);z-index:105;pointer-events:none;
  }
  .portal-sidebar,.admin-sidebar{z-index:120!important}
  .portal-appbar,.admin-appbar{min-height:62px!important;margin:0 -12px 16px!important;padding:0 12px!important;gap:8px!important}
  .portal-menu-button{flex:0 0 42px!important}
  .portal-appbar-actions{gap:5px!important;min-width:0!important}
  .portal-appbar-actions>button{width:38px!important;height:38px!important;padding:7px!important}
  .portal-user-chip{max-width:48px!important;overflow:hidden!important}
  .portal-top-v25 h1{font-size:clamp(29px,8.5vw,39px)!important;line-height:1.05!important}
  .portal-top-v25 p{font-size:13px!important;line-height:1.55!important}
  .panel,.stat-card,.admin-card{padding:17px!important;border-radius:14px!important}
  .portal-grid-v25,.admin-kpi-grid,.admin-dashboard-grid,.prealert-summary-grid,.invoice-summary-grid,
  .audit-summary-grid,.role-summary-strip,.contact-main-grid,.profile-layout,.payment-preference-layout,
  .notifications-layout,.referral-layout,.staff-layout,.admin-settings-grid,.pickup-authorization-layout{grid-template-columns:1fr!important}
  .portal-side-stack,.admin-dashboard-side{grid-template-columns:1fr!important}
  .portal-form,.form-grid-2,.contact-form-grid,.calculator-input-grid,.dimension-grid{grid-template-columns:1fr!important}
  .portal-form input,.portal-form select,.portal-form textarea,.admin-settings-form input,.admin-settings-form select,
  .admin-settings-form textarea,.calculator-input-grid input,.calculator-input-grid select{width:100%!important;min-width:0!important;font-size:16px!important}
  .package-toolbar,.admin-filter-bar,.report-filter-bar{grid-template-columns:1fr!important;padding:9px!important}
  .package-toolbar>*,.admin-filter-bar>*,.report-filter-bar>*,.portal-top-v25 .btn,.portal-top-v25 .button,.admin-top-actions>*{width:100%!important;min-width:0!important}
  .calculator-service-rail{grid-template-columns:1fr!important}
  .calculator-service-rail button{grid-template-columns:42px minmax(0,1fr) auto!important;padding:13px!important}
  .calculator-main-grid{grid-template-columns:1fr!important}
  .tidy-calculator,.tidy-breakdown{padding:17px!important}
  .table-wrap{width:100%!important;overflow-x:auto!important;border-radius:12px!important}
  .table-wrap table,.table{min-width:760px!important}
  .admin-activity-list article{min-width:0!important}
  .notification-popover,.admin-notification-popover,.profile-dropdown{left:9px!important;right:9px!important;top:68px!important;max-height:72vh!important}
  .portal-modal,.admin-action-modal,.v44-dialog{width:calc(100vw - 20px)!important;max-width:none!important;max-height:90svh!important;overflow:auto!important;padding:18px!important}
  .portal-footer-v25{flex-direction:column!important;text-align:center!important;gap:7px!important;margin-left:-12px!important;margin-right:-12px!important}
}

/* ======================================================================
   V58 MOBILE HERO CLEANUP
   Keeps the hero artwork and message as one continuous composition.
   ====================================================================== */
@media(max-width:900px){
  .home-page .hero{
    position:relative!important;
    display:block!important;
    min-height:790px!important;
    height:auto!important;
    padding-top:76px!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background:#041d47!important;
  }
  .home-page .hero-image{
    position:absolute!important;
    inset:76px 0 0 0!important;
    width:100%!important;
    height:calc(100% - 76px)!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    object-position:58% center!important;
    background:#061f4c!important;
    z-index:0!important;
  }
  .home-page .hero-shade{
    display:block!important;
    position:absolute!important;
    inset:76px 0 0!important;
    z-index:1!important;
    background:
      linear-gradient(180deg,rgba(2,17,42,.02) 0%,rgba(2,17,42,.10) 34%,rgba(2,17,42,.76) 58%,rgba(2,17,42,.98) 100%),
      linear-gradient(90deg,rgba(2,17,42,.18),rgba(2,17,42,.02) 54%,rgba(2,17,42,.18))!important;
  }
  .home-page .hero-content{
    position:relative!important;
    z-index:2!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    width:100%!important;
    min-height:714px!important;
    padding:355px 20px 48px!important;
    margin:0!important;
    background:transparent!important;
  }
  .home-page .hero .eyebrow{
    align-self:flex-start!important;
    margin:0 0 14px!important;
    background:#fff!important;
    color:#061f4c!important;
    box-shadow:0 10px 26px rgba(0,0,0,.18)!important;
  }
  .home-page .hero h1{
    max-width:620px!important;
    margin:0 0 17px!important;
    font-size:clamp(38px,10.6vw,52px)!important;
    line-height:.96!important;
    letter-spacing:-.035em!important;
    text-shadow:0 3px 18px rgba(0,0,0,.42)!important;
  }
  .home-page .hero p{
    max-width:610px!important;
    margin:0 0 23px!important;
    font-size:15px!important;
    line-height:1.55!important;
    color:rgba(255,255,255,.96)!important;
    text-shadow:0 2px 10px rgba(0,0,0,.38)!important;
  }
  .home-page .hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:460px!important;
  }
  .home-page .hero-actions .btn{
    min-height:52px!important;
    border-radius:12px!important;
    box-shadow:0 12px 28px rgba(0,0,0,.20)!important;
  }
  .home-page .hero-trust-wrap{
    margin:-18px auto 0!important;
  }
}

@media(max-width:620px){
  .home-page .hero{min-height:760px!important}
  .home-page .hero-image{
    object-position:59% center!important;
  }
  .home-page .hero-content{
    min-height:684px!important;
    padding:322px 17px 42px!important;
  }
  .home-page .hero h1{
    font-size:clamp(37px,10.7vw,45px)!important;
  }
  .home-page .hero p{
    font-size:14.5px!important;
    line-height:1.52!important;
  }
  .home-page .hero-actions{
    grid-template-columns:1fr!important;
    max-width:none!important;
  }
  .home-page .hero-actions .btn{min-height:50px!important}
}

@media(max-width:390px){
  .home-page .hero{min-height:735px!important}
  .home-page .hero-content{
    min-height:659px!important;
    padding-top:295px!important;
  }
  .home-page .hero h1{font-size:36px!important}
}

/* ======================================================================
   V59 MOBILE HERO + FOOTER CLEANUP
   - Pull hero copy upward on phones so the image and copy feel like one unit.
   - Tighten footer spacing and stack the footer more cleanly on small screens.
   ====================================================================== */
@media (max-width: 900px){
  .hero{
    background:#06255b!important;
  }
  .hero-image{
    aspect-ratio:1.22 / 1!important;
    object-fit:cover!important;
    object-position:center 44%!important;
  }
  .hero-content{
    margin-top:-148px!important;
    padding:24px 20px 52px!important;
    background:linear-gradient(180deg,rgba(4,29,71,0) 0%,rgba(4,29,71,.72) 14%,rgba(4,29,71,.95) 38%,#083b79 100%)!important;
  }
  .hero h1{margin:12px 0 16px!important}
  .hero p{max-width:34ch!important;margin-bottom:20px!important}
  .hero-actions{margin-top:4px!important}
  .hero-trust-wrap{margin-top:-14px!important;padding:0 12px!important}

  .compact-footer-main{
    grid-template-columns:1fr!important;
    gap:18px!important;
    padding:24px 18px 16px!important;
  }
  .compact-footer-brand{grid-column:auto!important;text-align:left!important}
  .compact-footer-brand img{
    width:min(230px,78vw)!important;
    height:auto!important;
    max-height:78px!important;
  }
  .compact-footer-brand p{
    max-width:none!important;
    margin:8px 0 0!important;
  }
  .compact-footer-column,
  .compact-footer-contact{
    padding-top:2px!important;
  }
  .compact-footer-column h4,
  .compact-footer-contact h4{
    margin:0 0 10px!important;
  }
  .compact-link-row{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:4px 16px!important;
  }
  .compact-footer-column a,
  .compact-footer-contact a,
  .compact-footer-contact span{
    margin:6px 0!important;
    font-size:13px!important;
    line-height:1.45!important;
  }
  .compact-footer-bottom{
    padding:12px 18px 16px!important;
    gap:5px!important;
    text-align:center!important;
  }
}

@media (max-width: 620px){
  .hero-image{
    aspect-ratio:1.08 / 1!important;
    object-position:center 42%!important;
  }
  .hero-content{
    margin-top:-182px!important;
    padding:18px 18px 42px!important;
  }
  .hero .eyebrow{margin-bottom:4px!important}
  .hero h1{font-size:clamp(36px,11.2vw,49px)!important}
  .hero p{font-size:14px!important;line-height:1.54!important;max-width:30ch!important}
  .hero-actions{grid-template-columns:1fr!important;max-width:none!important}
  .hero-actions .btn{min-height:52px!important}
  .hero-trust-wrap{margin-top:-10px!important;padding:0 10px!important}

  .compact-link-row{grid-template-columns:1fr!important}
  .compact-footer-main{padding:22px 16px 14px!important;gap:16px!important}
  .compact-footer-brand img{width:min(210px,74vw)!important;max-height:72px!important}
  .compact-footer-bottom{padding:11px 14px 15px!important;font-size:11px!important}
}

/* ======================================================================
   V60 COMPLETE MOBILE LAYOUT PASS
   Strong override layer for phones and tablets. This deliberately replaces
   earlier experimental mobile hero/footer rules.
   ====================================================================== */
@media (max-width: 900px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body{padding:0!important;margin:0!important}
  .site-header{height:76px!important;min-height:76px!important}

  /* One unified hero: artwork and copy share the same canvas. */
  .hero{
    position:relative!important;
    display:block!important;
    min-height:760px!important;
    height:760px!important;
    padding:76px 0 0!important;
    overflow:hidden!important;
    background:#031733!important;
  }
  .hero-image{
    position:absolute!important;
    inset:76px 0 0 0!important;
    width:100%!important;
    height:684px!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    object-position:56% center!important;
    background:#031733!important;
  }
  .hero-shade{
    display:block!important;
    position:absolute!important;
    inset:76px 0 0!important;
    background:
      linear-gradient(180deg,rgba(3,23,51,.02) 0%,rgba(3,23,51,.05) 31%,rgba(3,23,51,.78) 54%,rgba(3,23,51,.97) 76%,#031733 100%)!important;
    z-index:1!important;
  }
  .hero-content{
    position:absolute!important;
    z-index:2!important;
    left:0!important;right:0!important;top:0!important;bottom:auto!important;
    width:100%!important;max-width:none!important;
    margin:0!important;
    padding:380px 20px 34px!important;
    background:transparent!important;
    color:#fff!important;
    transform:none!important;translate:none!important;scale:1!important;
  }
  .hero .eyebrow{display:inline-flex!important;margin:0 0 12px!important}
  .hero h1{
    max-width:9.5ch!important;
    margin:0 0 16px!important;
    font-size:clamp(38px,10.8vw,50px)!important;
    line-height:.96!important;
    letter-spacing:-.045em!important;
  }
  .hero p{
    max-width:33ch!important;
    margin:0 0 20px!important;
    font-size:15px!important;
    line-height:1.5!important;
  }
  .hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:440px!important;
    margin:0!important;
  }
  .hero-actions .btn{width:100%!important;min-width:0!important;min-height:50px!important}
  .hero-trust-wrap{margin:-18px auto 0!important;position:relative!important;z-index:5!important}

  /* Public content rhythm */
  .section-pad{padding:54px 16px!important}
  .utility-shell{padding-left:14px!important;padding-right:14px!important}
  .tracking-band,.payment-strip{margin-left:12px!important;margin-right:12px!important}
  .contact-card-clean{margin-left:0!important;margin-right:0!important}

  /* Footer: no stretched columns, no oversized logo, no horizontal spill. */
  .compact-footer,
  footer.compact-footer{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    margin:0!important;
  }
  .compact-footer-main{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:22px 18px!important;
    padding:26px 18px 18px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  .compact-footer-brand{
    grid-column:1/-1!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  .compact-footer-brand img{
    width:210px!important;
    max-width:72vw!important;
    height:70px!important;
    max-height:70px!important;
    object-fit:contain!important;
    object-position:left center!important;
    margin:0!important;
  }
  .compact-footer-brand p{max-width:34ch!important;margin:8px 0 0!important}
  .compact-footer-column,.compact-footer-contact{min-width:0!important;width:100%!important}
  .compact-link-row{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
  .compact-footer-column a,.compact-footer-contact a,.compact-footer-contact span{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    margin:7px 0!important;
  }
  .compact-footer-bottom{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    padding:12px 16px 16px!important;
    margin:0!important;
    box-sizing:border-box!important;
    text-align:center!important;
  }

  /* General mobile page protection */
  .rates-page-main,.info-shell,.legal-shell,.auth-card,.portal-main-v25,.portal-main{
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .info-shell,.legal-shell{width:100%!important;padding-left:14px!important;padding-right:14px!important}
  .info-shell section,.legal-shell section{overflow-wrap:anywhere!important}
  .auth-card{width:100%!important;padding:34px 20px!important}
  .auth-card .brand img{max-width:230px!important;height:auto!important}
  .portal-main-v25,.portal-main{overflow-x:hidden!important}
  .table-wrap,.rate-table-wrap{width:100%!important;overflow-x:auto!important}
}

@media (max-width: 620px){
  .hero{height:700px!important;min-height:700px!important}
  .hero-image{height:624px!important;object-position:58% center!important}
  .hero-content{padding:315px 18px 24px!important}
  .hero-shade{background:linear-gradient(180deg,rgba(3,23,51,0) 0%,rgba(3,23,51,.04) 25%,rgba(3,23,51,.82) 49%,rgba(3,23,51,.98) 71%,#031733 100%)!important}
  .hero h1{font-size:clamp(35px,10.5vw,46px)!important;max-width:9.5ch!important}
  .hero p{font-size:14px!important;line-height:1.45!important;max-width:31ch!important}
  .hero-actions{grid-template-columns:1fr!important;gap:8px!important}
  .hero-actions .btn{min-height:48px!important}
  .hero-trust-wrap{margin:-10px auto 0!important;padding:0 10px!important}

  .compact-footer-main{grid-template-columns:1fr!important;gap:16px!important;padding:22px 16px 14px!important}
  .compact-footer-brand{grid-column:auto!important}
  .compact-footer-brand img{width:190px!important;height:64px!important;max-height:64px!important}
  .compact-footer-column,.compact-footer-contact{padding-top:2px!important;border-top:1px solid rgba(255,255,255,.10)!important;padding-top:15px!important}
  .compact-footer-column h4,.compact-footer-contact h4{margin-bottom:7px!important}
  .compact-footer-bottom{padding:11px 14px 14px!important;font-size:10.5px!important}

  .simple-header{padding-left:12px!important;padding-right:12px!important}
  .simple-header img{max-width:190px!important}
  .legal-footer-links{justify-content:center!important}
  .auth-mini-footer{padding-left:14px!important;padding-right:14px!important}
}

/* ======================================================================
   V61 FINAL MOBILE REBUILD
   Purpose: materially redesign the phone layout instead of making small
   adjustments. This layer is intentionally last and overrides V57–V60.
   ====================================================================== */
@media (max-width: 900px){
  /* Header */
  .site-header{
    height:72px!important;min-height:72px!important;
    padding:0 14px!important;
    grid-template-columns:minmax(0,1fr) 46px!important;
  }
  .site-header .brand{height:68px!important}
  .site-header .brand img{height:58px!important;max-width:190px!important}
  .menu-toggle{width:46px!important;height:46px!important}

  /* Rebuilt hero: shorter, tighter and with copy positioned in the upper
     half instead of at the bottom of a very tall image. */
  .hero{
    position:relative!important;
    display:block!important;
    height:650px!important;min-height:650px!important;
    padding:72px 0 0!important;
    overflow:hidden!important;
    background:#041a3b!important;
  }
  .hero-image{
    position:absolute!important;
    inset:72px 0 0!important;
    width:100%!important;height:578px!important;
    object-fit:cover!important;
    object-position:58% 50%!important;
  }
  .hero-shade{
    display:block!important;
    position:absolute!important;
    inset:72px 0 0!important;
    z-index:1!important;
    background:
      linear-gradient(180deg,rgba(2,16,39,.10) 0%,rgba(2,16,39,.18) 22%,rgba(2,16,39,.70) 52%,rgba(2,16,39,.96) 83%,#041a3b 100%),
      linear-gradient(90deg,rgba(2,16,39,.42),rgba(2,16,39,.04) 70%)!important;
  }
  .hero-content{
    position:absolute!important;
    z-index:2!important;
    inset:0!important;
    width:100%!important;max-width:none!important;
    padding:230px 18px 24px!important;
    margin:0!important;
    background:transparent!important;
  }
  .hero .eyebrow{
    margin:0 0 9px!important;
    padding:7px 11px!important;
    font-size:9px!important;
  }
  .hero h1{
    max-width:10ch!important;
    margin:0 0 12px!important;
    font-size:clamp(34px,9.7vw,45px)!important;
    line-height:.95!important;
    letter-spacing:-.045em!important;
  }
  .hero p{
    max-width:31ch!important;
    margin:0 0 15px!important;
    font-size:13.5px!important;
    line-height:1.42!important;
  }
  .hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;max-width:390px!important;
  }
  .hero-actions .btn{
    min-height:46px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
  .hero-trust-wrap{
    margin:-8px auto 0!important;
    padding:0 10px!important;
  }

  /* Remove accidental blank bands around the end of the page. */
  .contact-section,.contact-section-raised{margin-bottom:0!important;padding-bottom:46px!important}
  .compact-footer{margin-top:0!important;border-top:0!important}

  /* Footer redesign: compact 2-column navigation and smaller brand area. */
  .compact-footer-main{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:16px 18px!important;
    padding:22px 18px 14px!important;
  }
  .compact-footer-brand{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:130px minmax(0,1fr)!important;
    align-items:center!important;
    gap:14px!important;
    padding-bottom:14px!important;
    border-bottom:1px solid rgba(255,255,255,.13)!important;
  }
  .compact-footer-brand img{
    width:130px!important;height:54px!important;max-height:54px!important;
    max-width:130px!important;object-fit:contain!important;
    object-position:left center!important;
  }
  .compact-footer-brand p{
    margin:0!important;max-width:none!important;
    font-size:11px!important;line-height:1.45!important;
  }
  .compact-footer-column,.compact-footer-contact{
    min-width:0!important;
    border:0!important;padding:0!important;
  }
  .compact-footer-contact{grid-column:1/-1!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.13)!important}
  .compact-footer-column h4,.compact-footer-contact h4{
    margin:0 0 7px!important;font-size:12px!important;
  }
  .compact-link-row{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
  .compact-footer-column a,.compact-footer-contact a,.compact-footer-contact span{
    margin:4px 0!important;
    font-size:12px!important;line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }
  .compact-footer-bottom{
    padding:10px 14px 12px!important;
    font-size:10px!important;
    line-height:1.35!important;
  }

  /* Global mobile page cleanup */
  .section-pad{padding:48px 16px!important}
  .section-copy.centered{margin-bottom:24px!important}
  .service-grid,.benefit-row,.process-grid,.journey-track{gap:12px!important}
  .service-grid article,.process-grid article,.journey-step{border-radius:14px!important}
  .smart-calculator-card,.shipping-rates-showcase,.tracking-band,.contact-card-clean{border-radius:16px!important}
  .info-shell,.legal-shell{padding-top:28px!important;padding-bottom:48px!important}
  .info-shell section,.legal-shell section{margin-bottom:12px!important}
  .auth-card{padding:28px 18px!important}
  .portal-main-v25,.portal-main{padding-bottom:18px!important}
}

@media (max-width: 620px){
  .site-header{height:68px!important;min-height:68px!important}
  .site-header .brand{height:64px!important}
  .site-header .brand img{height:54px!important;max-width:180px!important}

  .hero{height:610px!important;min-height:610px!important;padding-top:68px!important}
  .hero-image{inset:68px 0 0!important;height:542px!important;object-position:60% 48%!important}
  .hero-shade{inset:68px 0 0!important}
  .hero-content{padding:190px 16px 20px!important}
  .hero h1{font-size:clamp(32px,9.5vw,41px)!important;max-width:9.8ch!important}
  .hero p{font-size:13px!important;max-width:29ch!important}
  .hero-actions{grid-template-columns:1fr 1fr!important;max-width:100%!important}
  .hero-actions .btn{min-height:44px!important;font-size:11px!important}

  .compact-footer-main{grid-template-columns:1fr 1fr!important;padding:18px 15px 12px!important;gap:14px 14px!important}
  .compact-footer-brand{grid-template-columns:108px 1fr!important;gap:11px!important;padding-bottom:12px!important}
  .compact-footer-brand img{width:108px!important;max-width:108px!important;height:48px!important;max-height:48px!important}
  .compact-footer-brand p{font-size:10.5px!important}
  .compact-footer-column h4,.compact-footer-contact h4{font-size:11px!important}
  .compact-footer-column a,.compact-footer-contact a,.compact-footer-contact span{font-size:11.5px!important}
  .compact-footer-bottom{font-size:9.5px!important}

  .payment-methods{grid-template-columns:1fr!important}
  .contact-summary,.contact-form-panel{padding:20px 15px!important}
  .public-map-card{min-height:220px!important}
  .rates-page-main{width:calc(100% - 16px)!important}
  .rates-page-sheet{padding:16px 9px!important}
}

@media (max-width: 390px){
  .hero{height:585px!important;min-height:585px!important}
  .hero-image{height:517px!important;object-position:61% 48%!important}
  .hero-content{padding-top:175px!important}
  .hero h1{font-size:31px!important}
  .hero p{font-size:12.5px!important}
  .hero-actions{grid-template-columns:1fr!important}
  .compact-footer-main{grid-template-columns:1fr!important}
  .compact-footer-brand,.compact-footer-contact{grid-column:auto!important}
}


/* V69 — registration completion screen */
.signup-success-panel{
  max-width:680px;
  margin:18px auto 0;
  padding:clamp(28px,5vw,48px);
  border:1px solid #d9e5f2;
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%,#f5f9fe 100%);
  box-shadow:0 18px 48px rgba(6,31,76,.10);
  text-align:center;
  outline:none;
}
.signup-success-panel[hidden]{display:none!important}
.signup-success-icon{
  width:72px;
  height:72px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e9f8ef;
  color:#13713c;
  border:1px solid #bfe6ce;
  font-size:36px;
  font-weight:900;
}
.signup-success-panel h1{
  margin:10px 0 14px;
  color:#061f4c;
  font-size:clamp(34px,5vw,48px);
  line-height:1.05;
  letter-spacing:-.035em;
}
.signup-success-panel>p{
  max-width:560px;
  margin:0 auto;
  color:#526980;
  font-size:16px;
  line-height:1.7;
}
.signup-success-panel strong{color:#102f5d;overflow-wrap:anywhere}
.signup-success-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  max-width:470px;
  margin:28px auto 18px;
}
.signup-success-actions .btn{width:100%;min-height:52px}
.signup-success-help{
  padding-top:16px;
  border-top:1px solid #dfe8f2;
  font-size:13px!important;
  color:#718297!important;
}
@media(max-width:620px){
  .signup-success-panel{padding:28px 18px;border-radius:16px}
  .signup-success-actions{grid-template-columns:1fr}
  .signup-success-panel h1{font-size:36px}
}

/* ======================================================================
   V70 PASSWORD RECOVERY POLISH
   ====================================================================== */
.recovery-auth-shell{max-width:680px!important}
.recovery-security-note{display:flex;gap:12px;padding:15px 16px;border:1px solid #dce7f4;border-radius:12px;background:#f4f8fc;color:#536b84;font-size:13px;line-height:1.55}
.recovery-security-note strong{flex:0 0 auto;color:#173a61}
.auth-success-panel{text-align:center;padding:10px 0 4px}
.auth-success-panel h1{margin:9px 0 13px;color:#061f4c;font-size:clamp(31px,4vw,44px);line-height:1.08;letter-spacing:-.035em}
.auth-success-panel>p{max-width:560px;margin:0 auto 19px;color:#5b7088;font-size:16px;line-height:1.65}
.auth-success-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;border-radius:50%;background:#e7f7ee;color:#187044;font-size:32px;font-weight:900;border:1px solid #bee6cf}
.recovery-warning-icon{background:#fff3e8;color:#a65d00;border-color:#f3d2ae}
.auth-success-note{padding:16px 18px;margin:20px 0;border-radius:13px;background:#f3f7fc;border:1px solid #dbe7f3;color:#455e78;line-height:1.6;text-align:left}
.auth-success-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.auth-success-actions .btn{display:flex;align-items:center;justify-content:center;width:100%}
.auth-success-help{font-size:13px!important;margin-top:17px!important}
.recovery-loading,.recovery-invalid{text-align:center;padding:34px 8px}
.recovery-loading{display:grid;justify-items:center;gap:16px;color:#24496f}
.recovery-spinner{width:38px;height:38px;border-radius:50%;border:4px solid #d8e5f3;border-top-color:#e11b22;animation:recovery-spin .8s linear infinite}
@keyframes recovery-spin{to{transform:rotate(360deg)}}
.recovery-invalid h1{margin:8px 0 14px;color:#061f4c;font-size:clamp(30px,4vw,42px);line-height:1.1}
.recovery-invalid p{color:#5b7088;line-height:1.65}
.password-input-control{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid #cfd9e6;border-radius:9px;overflow:hidden;background:#fff}
.password-input-control:focus-within{border-color:#0b63ce;box-shadow:0 0 0 3px rgba(11,99,206,.12)}
.password-input-control input{border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important}
.password-visibility{border:0;border-left:1px solid #dce5ef;background:#f4f8fc;color:#0a4f96;padding:0 15px;font-weight:850;cursor:pointer}
.password-requirements{padding:16px 17px;border:1px solid #dce7f4;border-radius:13px;background:#f7fafd;color:#526a83;font-size:13px}
.password-requirements strong{display:block;color:#173a61;margin-bottom:9px}
.password-requirements ul{display:grid;grid-template-columns:1fr 1fr;gap:7px 18px;margin:0;padding:0;list-style:none}
.password-requirements li:before{content:'○';display:inline-block;width:19px;color:#8294a8;font-weight:900}
.password-requirements li.passed{color:#176d3a}
.password-requirements li.passed:before{content:'✓';color:#176d3a}
@media(max-width:620px){
  .recovery-security-note{display:block}.recovery-security-note strong{display:block;margin-bottom:4px}
  .auth-success-actions{grid-template-columns:1fr}
  .password-requirements ul{grid-template-columns:1fr}
}

/* ======================================================================
   V71 PASSWORD-RESET REQUEST TRANSITION
   Removes duplicate progress text and fades the request form cleanly into
   the confirmation panel after the reset email request completes.
   ====================================================================== */
#forgot-form,
#forgot-heading,
#forgot-switch,
#forgot-progress,
#forgot-success{
  transition:opacity .24s ease,transform .24s ease,filter .24s ease;
}
#forgot-form.is-sending{
  opacity:.24;
  transform:translateY(4px);
  filter:blur(.35px);
  pointer-events:none;
}
#forgot-form.is-leaving,
#forgot-progress.is-leaving{
  opacity:0!important;
  transform:translateY(-7px)!important;
}
.recovery-request-progress{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:82px;
  margin:18px 0 8px;
  padding:18px 20px;
  border:1px solid #dce7f4;
  border-radius:14px;
  background:linear-gradient(180deg,#f8fbff,#f1f6fc);
  color:#173a61;
  opacity:0;
  transform:translateY(8px);
}
.recovery-request-progress[hidden]{display:none!important}
.recovery-request-progress.is-visible{opacity:1;transform:none}
.recovery-request-progress .recovery-spinner{width:30px;height:30px;flex:0 0 30px;border-width:3px}
.recovery-request-progress div{display:grid;gap:3px;text-align:left}
.recovery-request-progress strong{font-size:15px;color:#102f5d}
.recovery-request-progress span:not(.recovery-spinner){font-size:13px;color:#657b91}
#forgot-success{opacity:0;transform:translateY(10px)}
#forgot-success.is-visible{opacity:1;transform:none}
#forgot-form .form-result[hidden]{display:none!important}
@media(max-width:620px){
  .recovery-request-progress{justify-content:flex-start;margin-top:14px;padding:16px}
}

/* V82 accessible text helper */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
