
:root{--bg:#f7f3ec;--paper:#fffaf2;--ink:#161616;--soft:#6f6a61;--muted:#918a7f;--line:#e2d8c9;--black:#0b0b0b;--gold:#c59b55;--green:#1f7a5c;--radius:28px;--shadow:0 28px 80px rgba(25,20,13,.12)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:radial-gradient(circle at top left,rgba(197,155,85,.16),transparent 26%),linear-gradient(180deg,#f7f3ec 0%,#efe7da 100%);min-height:100vh}
.container{width:min(1180px,calc(100% - 28px));margin:0 auto}.topbar{position:sticky;top:0;z-index:50;background:rgba(247,243,236,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(22,22,22,.08)}.nav-wrap{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit}.logo{width:48px;height:48px;border-radius:18px;background:var(--black);position:relative;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.22)}.logo:before{content:"";position:absolute;left:10px;top:14px;width:28px;height:6px;background:var(--gold);border-radius:999px;transform:skewX(-26deg);box-shadow:0 12px 0 rgba(197,155,85,.75)}.logo:after{content:"";position:absolute;right:9px;bottom:10px;width:8px;height:8px;background:var(--paper);border-radius:999px;box-shadow:-18px 0 0 rgba(255,250,242,.9)}.brand strong{display:block;font-size:1.05rem}.brand span{display:block;color:var(--soft);font-size:.82rem;margin-top:2px}.nav{display:flex;gap:8px;flex-wrap:wrap}.nav a{text-decoration:none;font-weight:800;font-size:.92rem;padding:11px 15px;border-radius:999px;color:#282520;border:1px solid transparent}.nav a.active,.nav a:hover{background:#fff;border-color:var(--line);box-shadow:0 10px 30px rgba(25,20,13,.08)}
.hero{padding:48px 0 32px;display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:stretch}.hero-card{background:var(--paper);border:1px solid rgba(22,22,22,.07);border-radius:36px;box-shadow:var(--shadow);padding:42px;min-height:620px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.kicker{display:inline-flex;align-items:center;gap:10px;width:max-content;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-size:.8rem;font-weight:900;letter-spacing:.6px;text-transform:uppercase;background:#fff}.kicker span{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 6px rgba(31,122,92,.12)}h1{margin:22px 0 14px;font-size:clamp(3rem,7vw,6.2rem);line-height:.9;letter-spacing:-3.2px;max-width:9.2ch}.hero p,.page-heading p{color:var(--soft);line-height:1.8;font-size:1.05rem;max-width:72ch}.hero-actions,.action-row,.admin-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:999px;border:none;text-decoration:none;cursor:pointer;font-weight:900;font-size:.98rem;transition:.2s ease}.btn:hover{transform:translateY(-2px)}.btn-dark{background:var(--black);color:white;box-shadow:0 18px 42px rgba(0,0,0,.22)}.btn-light{background:#fff;color:var(--ink);border:1px solid var(--line)}
.quick-card{background:var(--black);color:white;border-radius:32px;padding:28px;min-height:250px}.quick-card h3{margin:0 0 12px;font-size:2rem}.quick-card p{color:rgba(255,255,255,.68);line-height:1.7}.stat-stack{display:grid;gap:14px}.stat,.info-card,.lookup-panel,.result-panel,.admin-card{background:var(--paper);border:1px solid rgba(22,22,22,.08);border-radius:34px;box-shadow:var(--shadow);padding:26px}.stat strong{display:block;font-size:1.9rem}.stat span,.info-card p{color:var(--soft);line-height:1.6}.home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:10px 0 60px}.info-card .icon{width:54px;height:54px;border-radius:20px;display:grid;place-items:center;background:var(--black);color:var(--gold);font-size:1.4rem;margin-bottom:16px}.page-heading{padding:42px 0 18px}.page-heading h1{margin:0;font-size:clamp(2.4rem,5vw,4.6rem);letter-spacing:-2px;max-width:none}
.tracking-page{display:grid;grid-template-columns:400px 1fr;gap:22px;padding:8px 0 60px}.lookup-panel{position:sticky;top:96px}.field{margin-top:18px}.field label{display:block;font-weight:900;font-size:.86rem;margin-bottom:8px}.field input,.field textarea,.file-input,.status-select{width:100%;border:1px solid var(--line);background:#fff;color:var(--ink);outline:none;font-size:1rem}.field input,.file-input{height:54px;border-radius:18px;padding:0 16px}.field textarea{min-height:120px;border-radius:18px;padding:16px}.field input:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(197,155,85,.14)}.privacy-note{margin-top:18px;border:1px solid var(--line);border-radius:22px;padding:16px;color:var(--soft);line-height:1.6;background:#fff;font-size:.92rem}.result-panel{min-height:700px}.empty-state{min-height:560px;border:1px dashed var(--line);border-radius:28px;background:#fff;display:grid;place-items:center;text-align:center;color:var(--soft);padding:28px}.result-wrap{display:grid;gap:18px;animation:fadeUp .45s ease}.shipment-hero{background:var(--black);color:white;border-radius:30px;padding:26px}.shipment-hero .eyeline{color:rgba(255,255,255,.62);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.9px}.shipment-hero .headline{margin-top:10px;font-size:2rem;font-weight:900}.shipment-hero .sub{margin-top:8px;color:rgba(255,255,255,.7);line-height:1.6}.status-band{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.status-main,.status-side,.detail-card,.timeline{background:#fff;border:1px solid var(--line);border-radius:26px;padding:20px}.status-main small,.status-side small,.detail-card small{display:block;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);font-weight:900;font-size:.76rem;margin-bottom:8px}.status-main strong{display:block;font-size:2rem}.status-side strong,.detail-card strong{display:block;font-size:1.2rem}.status-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(31,122,92,.1);color:var(--green);font-weight:900;margin-top:12px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gate-list{display:grid;gap:14px}.gate{display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:24px;padding:14px;background:var(--paper)}.gate-dot{width:54px;height:54px;display:grid;place-items:center;border-radius:20px;background:#fff;border:1px solid var(--line);font-weight:900}.gate.done .gate-dot,.gate.active .gate-dot{background:var(--black);color:var(--gold);border-color:var(--black)}.gate-title{font-weight:900}.gate-copy{color:var(--soft);margin-top:4px;line-height:1.55;font-size:.94rem}.gate-state{padding:9px 12px;border-radius:999px;font-weight:900;font-size:.78rem;background:#fff;border:1px solid var(--line)}.gate.active .gate-state{background:rgba(197,155,85,.14);color:#7c5720}
.admin-layout{display:grid;grid-template-columns:360px 1fr;gap:22px;padding-bottom:60px}.save-state{margin-top:14px;color:var(--green);font-weight:900}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:24px;background:#fff}table{width:100%;min-width:1100px;border-collapse:collapse}th,td{padding:12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:.78rem;letter-spacing:.8px;text-transform:uppercase;color:var(--soft);background:#fbf5ec}td{font-size:.92rem}.status-select{min-width:150px;border-radius:14px;padding:10px 12px}.footer{text-align:center;color:var(--soft);padding:0 0 34px}@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-width:1000px){.hero,.tracking-page,.admin-layout,.status-band,.detail-grid,.home-grid{grid-template-columns:1fr}.lookup-panel{position:relative;top:0}}@media(max-width:720px){.nav{display:none}.container{width:min(100%,calc(100% - 18px))}.hero-card,.lookup-panel,.result-panel,.admin-card{padding:20px}.gate{grid-template-columns:54px 1fr}.gate-state{grid-column:2}}


/* Custom cleanup update */
.logo{display:none!important}
.brand{gap:0!important}
.brand span{margin-top:1px}
.hero{grid-template-columns:1fr!important}
.stat-stack{display:none!important}
.hero-card{min-height:520px}
.hero-actions{margin-bottom:34px}
.quick-card{margin-top:30px}
.privacy-note{display:none!important}


/* Home page centering update */
.hero-card{
    text-align:center!important;
    align-items:center!important;
}

.hero-card p{
    margin-left:auto!important;
    margin-right:auto!important;
}

.hero-actions{
    justify-content:center!important;
}

.kicker{
    margin-left:auto!important;
    margin-right:auto!important;
}

.quick-card{
    width:100%;
    max-width:900px;
    height:280px;
    border-radius:34px;
}


/* Final cleanup requested */
.logo{display:none!important}
.brand{gap:0!important}

body.home-page{
  min-height:100vh;
}

body.home-page .container{
  min-height:calc(100vh - 86px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

body.home-page .hero{
  width:100%;
  padding:0!important;
  align-items:center!important;
}

body.home-page .hero-card{
  min-height:auto!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
}

body.home-page .hero-card h1,
body.home-page .hero-card p{
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.home-page .hero-actions{
  justify-content:center!important;
  margin-bottom:44px!important;
}

.kicker{display:none!important}

.privacy-note{display:none!important}

.shipment-hero .headline,
.shipment-hero .sub{
  color:#fff!important;
}

.footer{
  font-weight:700;
}


/* VERIFIED FINAL CENTERING + CLEANUP */
.logo,
.kicker,
.stat-stack,
.home-grid,
.privacy-note{
  display:none!important;
}

body.home-page{
  min-height:100vh!important;
}

body.home-page .topbar{
  position:relative!important;
}

body.home-page .home-center{
  min-height:calc(100vh - 88px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(1180px, calc(100% - 28px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.home-page .home-hero{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  grid-template-columns:none!important;
  padding:24px 0!important;
  margin:0!important;
}

body.home-page .home-main-card{
  width:min(920px, 100%)!important;
  margin:0 auto!important;
  min-height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:44px!important;
}

body.home-page .home-main-card h1{
  max-width:none!important;
  width:100%!important;
  margin:0 auto 18px!important;
  text-align:center!important;
  font-size:clamp(2.8rem, 6vw, 5.3rem)!important;
  line-height:.92!important;
}

body.home-page .home-main-card p{
  max-width:780px!important;
  margin:0 auto!important;
  text-align:center!important;
}

body.home-page .hero-actions{
  justify-content:center!important;
  margin:32px auto 46px!important;
}

body.home-page .flag-card{
  width:100%!important;
  max-width:780px!important;
  height:285px!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

body.home-page .flag-card img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}

.brand{gap:0!important}
.footer{font-weight:700!important}


/* HOME PAGE FULL FIX - clean aligned layout */
body.home-page{
  min-height:100vh !important;
  overflow-x:hidden !important;
}

body.home-page .logo,
body.home-page .kicker,
body.home-page .stat-stack,
body.home-page .home-grid,
body.home-page .hero,
body.home-page .hero-card,
body.home-page .quick-card{
  display:none !important;
}

body.home-page .topbar{
  position:relative !important;
}

body.home-page .nav-wrap{
  min-height:76px !important;
}

body.home-page .brand{
  gap:0 !important;
}

.home-main{
  min-height:calc(100vh - 77px);
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:38px 16px 24px;
}

.home-card{
  width:min(980px, 100%);
  margin:0 auto;
  background:var(--paper);
  border:1px solid rgba(22,22,22,.08);
  border-radius:38px;
  box-shadow:var(--shadow);
  padding:48px;
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  align-items:center;
  text-align:center;
  gap:34px;
}

.home-copy{
  width:100%;
  max-width:820px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.home-copy h1{
  width:100%;
  max-width:900px !important;
  margin:0 0 22px !important;
  text-align:center !important;
  font-size:clamp(2.65rem, 5.8vw, 5.4rem) !important;
  line-height:.92 !important;
  letter-spacing:-2.8px !important;
  white-space:normal !important;
}

.home-copy p{
  width:100%;
  max-width:790px !important;
  margin:0 auto !important;
  text-align:center !important;
  color:var(--soft) !important;
  font-size:1.04rem !important;
  line-height:1.78 !important;
}

.home-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin:34px auto 0;
}

.home-flag-card{
  width:100%;
  max-width:790px;
  height:300px;
  margin:0 auto;
  border-radius:30px;
  overflow:hidden;
  background:#111;
  box-shadow:0 22px 60px rgba(25,20,13,.16);
  display:flex;
  align-items:center;
  justify-content:center;
}

.home-flag-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.home-footer{
  text-align:center;
  color:var(--soft);
  font-weight:700;
  padding:20px 0 0;
}

@media (max-width:760px){
  .home-main{
    justify-content:flex-start;
    padding-top:24px;
  }

  .home-card{
    padding:28px 18px;
    border-radius:28px;
    gap:26px;
  }

  .home-copy h1{
    font-size:clamp(2.15rem, 12vw, 3.8rem) !important;
    letter-spacing:-1.8px !important;
  }

  .home-copy p{
    font-size:.98rem !important;
    line-height:1.65 !important;
  }

  .home-flag-card{
    height:220px;
    border-radius:24px;
  }

  .home-actions .btn{
    width:100%;
  }
}


/* === REPAIRED HOME PAGE LAYOUT - CENTERED AND STABLE === */
body.home-page {
  min-height: 100vh !important;
  margin: 0 !important;
  overflow-x: hidden !important;
}

body.home-page .logo,
body.home-page .kicker,
body.home-page .hero,
body.home-page .hero-card,
body.home-page .quick-card,
body.home-page .stat-stack,
body.home-page .home-grid {
  display: none !important;
}

body.home-page .topbar {
  position: relative !important;
  width: 100% !important;
}

body.home-page .brand {
  gap: 0 !important;
}

.home-stage {
  min-height: calc(100vh - 86px) !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 34px 16px 24px !important;
}

.home-panel {
  width: min(920px, 100%) !important;
  margin: 0 auto !important;
  padding: 44px 46px 40px !important;
  background: var(--paper) !important;
  border: 1px solid rgba(22,22,22,.08) !important;
  border-radius: 38px !important;
  box-shadow: var(--shadow) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.home-panel h1 {
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 auto 20px !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: clamp(2.7rem, 5.4vw, 5.1rem) !important;
  line-height: .92 !important;
  letter-spacing: -2.8px !important;
  color: var(--ink) !important;
}

.home-panel p {
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  color: var(--soft) !important;
  font-size: 1.03rem !important;
  line-height: 1.72 !important;
}

.home-buttons {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin: 32px auto 40px !important;
}

.black-image-panel {
  width: min(760px, 100%) !important;
  height: 255px !important;
  margin: 0 auto !important;
  padding: 14px !important;
  background: #0b0b0b !important;
  border-radius: 32px !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.18) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.black-image-panel img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 22px !important;
}

.home-footer {
  width: 100% !important;
  text-align: center !important;
  color: var(--soft) !important;
  font-weight: 700 !important;
  padding-top: 18px !important;
}

@media (max-width: 760px) {
  .home-stage {
    justify-content: flex-start !important;
    padding: 24px 12px 20px !important;
  }

  .home-panel {
    padding: 28px 18px 26px !important;
    border-radius: 28px !important;
  }

  .home-panel h1 {
    font-size: clamp(2.1rem, 11vw, 3.5rem) !important;
    letter-spacing: -1.6px !important;
  }

  .home-panel p {
    font-size: .96rem !important;
    line-height: 1.62 !important;
  }

  .home-buttons {
    margin: 26px auto 30px !important;
  }

  .home-buttons .btn {
    width: 100% !important;
  }

  .black-image-panel {
    height: 205px !important;
    padding: 10px !important;
    border-radius: 26px !important;
  }
}


/* RESTORE ORIGINAL STYLE PANEL + TRUE CENTERING */
body.home-page{
  min-height:100vh!important;
  overflow-x:hidden!important;
}

body.home-page .logo,
body.home-page .kicker,
body.home-page .stat-stack,
body.home-page .home-grid{
  display:none!important;
}

body.home-page .topbar{
  position:relative!important;
}

body.home-page .brand{
  gap:0!important;
}

.home-center-wrap{
  min-height:calc(100vh - 78px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding-top:28px!important;
  padding-bottom:24px!important;
}

body.home-page .home-hero{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  grid-template-columns:none!important;
  padding:0!important;
  margin:0!important;
}

body.home-page .home-original-panel{
  width:min(960px, 100%)!important;
  margin:0 auto!important;
  background:var(--paper)!important;
  border:1px solid rgba(22,22,22,.07)!important;
  border-radius:36px!important;
  box-shadow:var(--shadow)!important;
  padding:42px!important;
  min-height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  overflow:hidden!important;
  position:relative!important;
}

body.home-page .home-original-panel::after{
  content:""!important;
  position:absolute!important;
  width:300px!important;
  height:300px!important;
  right:-120px!important;
  top:-120px!important;
  border-radius:50%!important;
  background:rgba(197,155,85,.14)!important;
  pointer-events:none!important;
}

.home-copy-block{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  max-width:820px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
}

body.home-page .home-copy-block h1{
  max-width:860px!important;
  width:100%!important;
  margin:0 auto 18px!important;
  text-align:center!important;
  font-size:clamp(2.7rem, 5.7vw, 5.4rem)!important;
  line-height:.92!important;
  letter-spacing:-2.8px!important;
  color:var(--ink)!important;
}

body.home-page .home-copy-block p{
  max-width:780px!important;
  margin:0 auto!important;
  text-align:center!important;
  color:var(--soft)!important;
  line-height:1.75!important;
  font-size:1.04rem!important;
}

body.home-page .hero-actions{
  justify-content:center!important;
  align-items:center!important;
  margin:32px auto 42px!important;
  width:100%!important;
  position:relative!important;
  z-index:2!important;
}

body.home-page .home-flag-panel{
  position:relative!important;
  z-index:2!important;
  width:min(780px, 100%)!important;
  height:270px!important;
  margin:0 auto!important;
  padding:14px!important;
  background:var(--black)!important;
  color:white!important;
  border-radius:32px!important;
  min-height:unset!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

body.home-page .home-flag-panel::before{
  content:""!important;
  position:absolute!important;
  inset:14px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:24px!important;
  z-index:2!important;
  pointer-events:none!important;
}

body.home-page .home-flag-panel img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:22px!important;
}

body.home-page .footer{
  text-align:center!important;
  font-weight:700!important;
  padding-top:18px!important;
}

@media(max-width:760px){
  .home-center-wrap{
    justify-content:flex-start!important;
    padding-top:22px!important;
  }

  body.home-page .home-original-panel{
    padding:28px 18px!important;
    border-radius:30px!important;
  }

  body.home-page .home-copy-block h1{
    font-size:clamp(2.05rem, 10.5vw, 3.5rem)!important;
    letter-spacing:-1.6px!important;
  }

  body.home-page .home-copy-block p{
    font-size:.96rem!important;
    line-height:1.62!important;
  }

  body.home-page .hero-actions{
    margin:26px auto 30px!important;
  }

  body.home-page .hero-actions .btn{
    width:100%!important;
  }

  body.home-page .home-flag-panel{
    height:205px!important;
    padding:10px!important;
    border-radius:26px!important;
  }

  body.home-page .home-flag-panel::before{
    inset:10px!important;
    border-radius:20px!important;
  }
}


/* FINAL USER UPDATE: slimmer original panel, 1px image border, normal header */
body.home-page .topbar{
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  background:rgba(247,243,236,.86)!important;
  backdrop-filter:blur(18px)!important;
  border-bottom:1px solid rgba(22,22,22,.08)!important;
}

body.home-page .container.nav-wrap{
  width:min(1180px, calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:18px 0!important;
  min-height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
}

body.home-page .home-center-wrap{
  min-height:calc(100vh - 86px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(1180px, calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:28px 0 24px!important;
}

body.home-page .home-original-panel{
  width:min(680px, 100%)!important;
  max-width:680px!important;
  padding:34px 34px 32px!important;
  border-radius:34px!important;
}

body.home-page .home-original-panel::after{
  width:220px!important;
  height:220px!important;
  right:-95px!important;
  top:-95px!important;
}

.home-copy-block{
  max-width:600px!important;
}

body.home-page .home-copy-block h1{
  max-width:620px!important;
  font-size:clamp(2.15rem, 4.2vw, 3.85rem)!important;
  letter-spacing:-2px!important;
  margin-bottom:16px!important;
}

body.home-page .home-copy-block p{
  max-width:590px!important;
  font-size:.98rem!important;
  line-height:1.65!important;
}

body.home-page .hero-actions{
  margin:26px auto 32px!important;
}

body.home-page .home-flag-panel{
  width:min(560px, 100%)!important;
  height:205px!important;
  padding:1px!important;
  border:1px solid rgba(255,255,255,.95)!important;
  border-radius:24px!important;
}

body.home-page .home-flag-panel::before{
  display:none!important;
}

body.home-page .home-flag-panel img{
  border-radius:22px!important;
}

@media(max-width:760px){
  body.home-page .home-original-panel{
    width:100%!important;
    max-width:100%!important;
    padding:24px 16px!important;
  }
  body.home-page .home-copy-block h1{
    font-size:clamp(2rem, 10vw, 3.25rem)!important;
  }
  body.home-page .home-flag-panel{
    height:190px!important;
  }
}


/* USER UPDATE: restore wider home panel, keep all other changes */
body.home-page .home-original-panel{
  width:min(960px, 100%)!important;
  max-width:960px!important;
  padding:42px!important;
  border-radius:36px!important;
}

body.home-page .home-original-panel::after{
  width:300px!important;
  height:300px!important;
  right:-120px!important;
  top:-120px!important;
}

.home-copy-block{
  max-width:820px!important;
}

body.home-page .home-copy-block h1{
  max-width:860px!important;
  font-size:clamp(2.7rem, 5.7vw, 5.4rem)!important;
  letter-spacing:-2.8px!important;
  margin-bottom:18px!important;
}

body.home-page .home-copy-block p{
  max-width:780px!important;
  font-size:1.04rem!important;
  line-height:1.75!important;
}

body.home-page .hero-actions{
  margin:32px auto 42px!important;
}

/* Keep requested 1px image border */
body.home-page .home-flag-panel{
  width:min(780px, 100%)!important;
  height:270px!important;
  padding:1px!important;
  border:1px solid rgba(255,255,255,.95)!important;
  border-radius:32px!important;
}

body.home-page .home-flag-panel img{
  border-radius:30px!important;
}


/* =========================================================
   FINAL VERIFIED FIXES - DO NOT REMOVE
   ========================================================= */

/* Header/logo cleanup */
.logo,
body.home-page .logo{
  display:none!important;
}
.brand,
body.home-page .brand{
  gap:0!important;
}

/* Home page: same header behavior as other pages */
body.home-page .topbar{
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  background:rgba(247,243,236,.86)!important;
  backdrop-filter:blur(18px)!important;
  border-bottom:1px solid rgba(22,22,22,.08)!important;
}
body.home-page .container.nav-wrap{
  width:min(1180px, calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:18px 0!important;
  min-height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
}

/* Hide previous/home leftovers */
body.home-page .kicker,
body.home-page .stat-stack,
body.home-page .home-grid,
body.home-page .home-stage,
body.home-page .home-panel,
body.home-page .black-image-panel,
body.home-page .home-card,
body.home-page .home-main,
body.home-page .home-footer:not(.footer){
  display:none!important;
}

/* Center full page content in browser window */
.final-home-wrap{
  min-height:calc(100vh - 86px)!important;
  width:min(1180px, calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:34px 0 24px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
.final-home-hero{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  grid-template-columns:none!important;
}

/* Original cream panel: NOT slim */
.final-home-panel{
  width:min(960px, 100%)!important;
  max-width:960px!important;
  margin:0 auto!important;
  background:var(--paper)!important;
  border:1px solid rgba(22,22,22,.07)!important;
  border-radius:36px!important;
  box-shadow:var(--shadow)!important;
  padding:42px!important;
  min-height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  overflow:hidden!important;
  position:relative!important;
}
.final-home-panel::after{
  content:""!important;
  position:absolute!important;
  width:300px!important;
  height:300px!important;
  right:-120px!important;
  top:-120px!important;
  border-radius:50%!important;
  background:rgba(197,155,85,.14)!important;
  pointer-events:none!important;
}
.final-home-copy{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  max-width:820px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
}
.final-home-copy h1{
  width:100%!important;
  max-width:860px!important;
  margin:0 auto 18px!important;
  text-align:center!important;
  font-size:clamp(2.7rem, 5.7vw, 5.4rem)!important;
  line-height:.92!important;
  letter-spacing:-2.8px!important;
  color:var(--ink)!important;
}
.final-home-copy p{
  width:100%!important;
  max-width:780px!important;
  margin:0 auto!important;
  text-align:center!important;
  color:var(--soft)!important;
  line-height:1.75!important;
  font-size:1.04rem!important;
}
.final-home-actions{
  width:100%!important;
  justify-content:center!important;
  align-items:center!important;
  margin:32px auto 42px!important;
  position:relative!important;
  z-index:2!important;
}

/* Black flag panel with 1px border */
.final-flag-panel{
  position:relative!important;
  z-index:2!important;
  width:min(780px, 100%)!important;
  height:270px!important;
  margin:0 auto!important;
  padding:1px!important;
  background:var(--black)!important;
  border:1px solid rgba(255,255,255,.95)!important;
  border-radius:32px!important;
  min-height:unset!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.final-flag-panel::before{
  display:none!important;
}
.final-flag-panel img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:30px!important;
}

/* Tracking cleanup helpers */
.privacy-note{
  display:none!important;
}
.footer{
  font-weight:700!important;
}

@media(max-width:760px){
  .final-home-wrap{
    justify-content:flex-start!important;
    padding-top:22px!important;
  }
  .final-home-panel{
    width:100%!important;
    max-width:100%!important;
    padding:28px 18px!important;
    border-radius:30px!important;
  }
  .final-home-copy h1{
    font-size:clamp(2.05rem, 10.5vw, 3.5rem)!important;
    letter-spacing:-1.6px!important;
  }
  .final-home-copy p{
    font-size:.96rem!important;
    line-height:1.62!important;
  }
  .final-home-actions{
    margin:26px auto 30px!important;
  }
  .final-home-actions .btn{
    width:100%!important;
  }
  .final-flag-panel{
    height:205px!important;
    border-radius:26px!important;
  }
  .final-flag-panel img{
    border-radius:24px!important;
  }
}


/* HOME HEADING FIX - same header/page heading style as other pages */
body.home-page-fixed .logo{
  display:none!important;
}

body.home-page-fixed .brand{
  gap:0!important;
}

body.home-page-fixed .topbar{
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  background:rgba(247,243,236,.86)!important;
  backdrop-filter:blur(18px)!important;
  border-bottom:1px solid rgba(22,22,22,.08)!important;
}

body.home-page-fixed .container.nav-wrap{
  width:min(1180px, calc(100% - 28px))!important;
  margin:0 auto!important;
  padding:18px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
}

body.home-page-fixed .home-page-title{
  text-align:center!important;
  padding:42px 0 20px!important;
}

body.home-page-fixed .home-page-title h1{
  max-width:none!important;
  margin:0 auto!important;
  text-align:center!important;
  font-size:clamp(2.4rem,5vw,4.6rem)!important;
  letter-spacing:-2px!important;
  line-height:1!important;
}

body.home-page-fixed .home-page-title p{
  max-width:850px!important;
  margin:18px auto 0!important;
  text-align:center!important;
  color:var(--soft)!important;
  line-height:1.75!important;
}

.home-clean-panel{
  width:min(920px, 100%)!important;
  margin:0 auto 34px!important;
  background:var(--paper)!important;
  border:1px solid rgba(22,22,22,.07)!important;
  border-radius:36px!important;
  box-shadow:var(--shadow)!important;
  padding:34px 42px 42px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

.home-actions-row{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:14px!important;
  margin:0 auto 32px!important;
}

.home-black-image-panel{
  width:min(780px, 100%)!important;
  height:270px!important;
  margin:0 auto!important;
  padding:1px!important;
  background:var(--black)!important;
  border:1px solid rgba(255,255,255,.95)!important;
  border-radius:32px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.home-black-image-panel img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:30px!important;
}

body.home-page-fixed .footer{
  text-align:center!important;
  font-weight:700!important;
}

@media(max-width:760px){
  .home-clean-panel{
    padding:24px 16px 28px!important;
    border-radius:28px!important;
  }
  .home-actions-row .btn{
    width:100%!important;
  }
  .home-black-image-panel{
    height:205px!important;
    border-radius:26px!important;
  }
  .home-black-image-panel img{
    border-radius:24px!important;
  }
}


/* Force tracking cleanup */
.timeline,
.gate-list{
  display:none!important;
}


/* Estimated Delivery Date tracking box */
.estimated-delivery-box small{
  color:#111!important;
  font-size:.88rem!important;
  letter-spacing:.7px!important;
}

.estimated-delivery-box strong{
  color:#000!important;
  font-size:2rem!important;
  line-height:1.1!important;
  font-weight:950!important;
  letter-spacing:-.8px!important;
}

.timeline,
.gate-list{
  display:none!important;
}


/* Admin estimated delivery input */
.estimate-input{
  min-width:170px!important;
  width:100%!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  color:#111!important;
  font-weight:800!important;
}


/* Admin full editor table */
.admin-edit-input,
.admin-edit-area{
  width:100%!important;
  min-width:150px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  color:#111!important;
  font-weight:700!important;
  font-family:inherit!important;
}

.admin-edit-input.small{
  min-width:90px!important;
}

.admin-edit-input.tiny{
  min-width:70px!important;
}

.admin-edit-area{
  min-width:260px!important;
  min-height:54px!important;
  resize:vertical!important;
}

.remove-row-btn{
  border:none!important;
  border-radius:999px!important;
  padding:10px 14px!important;
  background:#0b0b0b!important;
  color:white!important;
  cursor:pointer!important;
  font-weight:900!important;
}

.remove-row-btn:hover{
  transform:translateY(-1px)!important;
}

.table-wrap table{
  min-width:1250px!important;
}



/* =========================
   ADMIN PAGE LAYOUT FIX
========================= */

.admin-shell,
.admin-page,
.admin-wrap{
  width:100%!important;
  max-width:1400px!important;
  margin:0 auto!important;
  padding:40px 24px 80px!important;
  box-sizing:border-box!important;
}

.admin-panel,
.table-wrap{
  width:100%!important;
  max-width:1280px!important;
  margin:0 auto 28px auto!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

.table-wrap{
  overflow-x:auto!important;
  background:#fff!important;
  border:1px solid rgba(0,0,0,.08)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.08)!important;
}

.table-wrap table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}

.table-wrap th,
.table-wrap td{
  padding:14px 12px!important;
  vertical-align:top!important;
  word-break:break-word!important;
}

.table-wrap th{
  background:#0c0c0c!important;
  color:#fff!important;
  font-size:.82rem!important;
  letter-spacing:.5px!important;
  text-transform:uppercase!important;
  position:sticky!important;
  top:0!important;
  z-index:2!important;
}

.table-wrap td{
  background:#fff!important;
}

.admin-edit-input,
.admin-edit-area,
.status-select{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

.admin-edit-area{
  min-height:78px!important;
}

.admin-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:14px!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:22px!important;
}

.admin-actions .btn{
  min-width:180px!important;
}

.field{
  max-width:760px!important;
  margin:0 auto 18px auto!important;
}

.file-input{
  width:100%!important;
  box-sizing:border-box!important;
}

.save-state{
  text-align:center!important;
  margin-top:20px!important;
  font-weight:800!important;
}

@media (max-width: 1200px){

  .table-wrap table{
    min-width:1100px!important;
  }

}

@media (max-width: 768px){

  .admin-shell,
  .admin-page,
  .admin-wrap{
    padding:24px 14px 50px!important;
  }

  .admin-actions{
    flex-direction:column!important;
  }

  .admin-actions .btn{
    width:100%!important;
  }

}
