:root{
    --ink:#15110E;
    --ink-soft:#2a2521;
    --orange:#ED5502;
    --orange-dark:#cf4a02;
    --grey:#9a9691;      /* muted half of two-tone headings */
    --silver:#c7c4c0;
    --paper:#ffffff;
    --mist:#f5f4f2;
    --line:#e8e6e2;
    --radius:16px;
    --pill:999px;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  html,body{overflow-x:hidden;max-width:100%}
  body{
    font-family:'Poppins',system-ui,sans-serif;
    color:var(--ink);
    background:var(--paper);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  .wrap{max-width:1180px;margin:0 auto;padding:0 28px}
  a{color:inherit;text-decoration:none}
  h1,h2,h3{font-weight:600;letter-spacing:-.02em;line-height:1.08}
  .mut{color:var(--grey)}
  .eyebrow{
    display:inline-block;font-size:.72rem;font-weight:500;letter-spacing:.14em;
    text-transform:uppercase;color:var(--ink-soft);
    border:1px solid var(--line);border-radius:var(--pill);padding:6px 14px;background:var(--paper);
  }

  /* buttons */
  .btn{
    display:inline-flex;align-items:center;gap:12px;border:none;cursor:pointer;
    font-family:inherit;font-size:.92rem;font-weight:500;border-radius:var(--pill);
    padding:11px 12px 11px 22px;transition:.2s;
  }
  .btn .arw{
    width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;
  }
  .btn-orange{background:var(--orange);color:#fff}
  .btn-orange .arw{background:#fff;color:var(--orange)}
  .btn-orange:hover{background:var(--orange-dark)}
  .btn-dark{background:var(--ink);color:#fff}
  .btn-dark .arw{background:#fff;color:var(--ink)}
  .btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line);padding-left:22px}
  .btn-ghost:hover{background:var(--mist)}

  /* dotted route background motif */
  .routes{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
  .routes span{
    position:absolute;top:-40px;bottom:-40px;width:1px;
    background:repeating-linear-gradient(to bottom,var(--silver) 0 6px,transparent 6px 14px);
    opacity:.5;
  }

  /* header */
  header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
  .nav{display:flex;align-items:center;justify-content:space-between;height:74px}
  .brand{display:flex;align-items:center;gap:10px;font-weight:600}
  .brand .mark{width:38px;height:38px;background:var(--orange);border-radius:11px;display:grid;place-items:center}
  .brand .mark .beemark{height:23px;width:auto;display:block}
  .brand small{display:block;font-size:.64rem;letter-spacing:.22em;color:var(--grey);font-weight:500;margin-top:-2px}
  .nav-links{display:flex;gap:34px;font-size:.92rem;color:var(--ink-soft)}
  .nav-links a:hover{color:var(--orange)}
  .nav-right{display:flex;align-items:center;gap:16px}
  .nav-login{display:inline-flex;align-items:center;gap:7px;font-size:.9rem;font-weight:500;color:var(--ink);cursor:pointer}
  .nav-login:hover{color:var(--orange)}
  .nav-login svg{width:17px;height:17px}
  .burger{display:none;background:none;border:1px solid var(--line);border-radius:10px;width:42px;height:42px;cursor:pointer}
  .mobile-menu{display:none}

  /* hero */
  .hero{position:relative;padding:84px 0 96px;overflow:hidden}
  .hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
  .hero .wrap > *{min-width:0}
  .hero h1{font-size:clamp(2.4rem,5vw,4rem)}
  .hero p.lead{margin:26px 0 30px;font-size:1.06rem;color:var(--ink-soft);max-width:38ch;font-weight:300}
  .hero-cta{display:flex;gap:14px;flex-wrap:wrap}

  .hero-glow{
    position:absolute;top:6%;right:-8vw;width:40vw;height:40vw;max-width:620px;max-height:620px;
    background:radial-gradient(circle,var(--mist) 0%,rgba(245,244,242,0) 70%);
    z-index:0;border-radius:50%;pointer-events:none;
  }
  .hero-plane{
    position:absolute;top:61%;right:-27vw;width:62vw;max-width:861px;min-width:300px;
    transform:translateY(-50%) rotate(-6deg);z-index:0;pointer-events:none;
    filter:drop-shadow(0 30px 46px rgba(21,17,14,.24));
  }
  .hero-container{
    position:absolute;bottom:-110px;left:-15vw;width:30vw;max-width:612px;min-width:240px;
    transform:rotate(9deg);z-index:0;pointer-events:none;
    filter:drop-shadow(0 26px 40px rgba(21,17,14,.22));
  }
  .track-card{
    position:relative;z-index:1;
    background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:26px;
    box-shadow:0 24px 60px -30px rgba(0,0,0,.25);
  }
  .track-card .label{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--grey);font-weight:500}
  .track-card h3{font-size:1.35rem;margin:6px 0 18px}
  .track-field{display:flex;gap:10px}
  .track-field input{
    flex:1;min-width:0;font-family:inherit;font-size:.75rem;padding:14px 16px;border:1px solid var(--line);
    border-radius:var(--pill);background:var(--mist);color:var(--ink);
  }
  .track-field input:focus{outline:none;border-color:var(--orange)}
  .track-note{margin-top:14px;font-size:.8rem;color:var(--grey)}
  .svc-mini{display:flex;gap:8px;margin-top:22px;flex-wrap:wrap}
  .svc-mini span{font-size:.76rem;color:var(--ink-soft);border:1px solid var(--line);border-radius:var(--pill);padding:6px 12px}

  /* section shell */
  section.block{padding:92px 0}
  .mist{background:var(--mist)}
  .head-row{max-width:760px}
  .head-row h2{font-size:clamp(1.9rem,3.6vw,2.9rem);margin:16px 0}
  .head-row p{color:var(--ink-soft);font-weight:300;font-size:1.02rem}

  /* services */
  .svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:48px}
  .svc-card{
    background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:30px;
    display:flex;flex-direction:column;min-height:290px;transition:.22s;position:relative;
  }
  .mist .svc-card{background:#fff}
  .svc-card:hover{transform:translateY(-4px);box-shadow:0 26px 50px -34px rgba(0,0,0,.3)}
  .svc-ic{width:54px;height:54px;border-radius:14px;background:var(--mist);display:grid;place-items:center;margin-bottom:22px}
  .mist .svc-ic{background:var(--mist)}
  .svc-card h3{font-size:1.28rem}
  .svc-card .kick{font-size:.78rem;font-weight:500;color:var(--orange);letter-spacing:.02em;margin-bottom:6px}
  .svc-card p{margin:12px 0 22px;color:var(--ink-soft);font-weight:300;font-size:.94rem;flex:1}
  .svc-card a.more{display:inline-flex;align-items:center;gap:8px;font-size:.86rem;font-weight:500;color:var(--ink)}
  .svc-card a.more:hover{color:var(--orange)}
  .tag-soon{position:absolute;top:22px;right:22px;font-size:.66rem;font-weight:500;letter-spacing:.06em;
    text-transform:uppercase;color:var(--orange);background:#fdeee4;border-radius:var(--pill);padding:5px 11px}

  /* value band */
  .values{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:44px}
  .value h4{font-size:1.02rem;margin-bottom:8px}
  .value p{font-size:.88rem;color:var(--ink-soft);font-weight:300}
  .value .vn{font-size:.8rem;color:var(--orange);font-weight:600;letter-spacing:.1em}

  /* about */
  .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
  .about-grid p{color:var(--ink-soft);font-weight:300;margin-top:18px;font-size:1rem}
  .about-visual{position:relative;border-radius:20px;background:linear-gradient(135deg,#1d1a17,#3a332c);min-height:340px;overflow:hidden;display:grid;place-items:center;color:#fff;text-align:center;padding:30px}
  .about-visual .routes span{opacity:.25;background:repeating-linear-gradient(to bottom,#fff 0 6px,transparent 6px 14px)}
  .about-visual .big{position:relative;z-index:1}
  .about-visual .big b{font-size:2.4rem;font-weight:600;display:block}
  .about-visual .big span{color:var(--silver);font-size:.9rem;font-weight:300}

  /* cta band */
  .cta-band{background:var(--ink);color:#fff;border-radius:26px;padding:60px;text-align:center;position:relative;overflow:hidden}
  .cta-band .routes span{opacity:.18;background:repeating-linear-gradient(to bottom,#fff 0 6px,transparent 6px 14px)}
  .cta-band h2{font-size:clamp(1.8rem,3.4vw,2.6rem);position:relative;z-index:1}
  .cta-band h2 .mut{color:#6f6a64}
  .cta-band p{color:#b6b1ab;font-weight:300;margin:16px auto 30px;max-width:46ch;position:relative;z-index:1}
  .cta-band .hero-cta{justify-content:center;position:relative;z-index:1}

  /* footer */
  footer{background:var(--ink);color:#cfccc8;padding:70px 0 34px;margin-top:8px}
  .foot-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;padding-bottom:40px;border-bottom:1px solid #322d28}
  .foot-brand .brand{color:#fff}
  .foot-brand p{font-weight:300;margin:18px 0;font-size:.9rem;max-width:30ch}
  .news{display:flex;gap:8px;max-width:320px;border:1px solid #46403a;border-radius:var(--pill);padding:5px 5px 5px 16px}
  .news input{flex:1;min-width:0;background:none;border:none;color:#fff;font-family:inherit;font-size:.85rem}
  .news input:focus{outline:none}
  .news button{border:none;background:var(--orange);color:#fff;width:34px;height:34px;border-radius:50%;cursor:pointer;flex:0 0 auto}
  .foot-col h5{color:#fff;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;margin-bottom:16px}
  .foot-col a{display:block;font-size:.88rem;color:#a49f99;margin-bottom:11px;font-weight:300}
  .foot-col a:hover{color:var(--orange)}
  .foot-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:24px;font-size:.82rem;color:#7c766f;flex-wrap:wrap;gap:14px}
  .socials{display:flex;gap:10px}
  .socials a{width:36px;height:36px;border-radius:50%;background:#2a2521;display:grid;place-items:center;color:#cfccc8}
  .socials a:hover{background:var(--orange);color:#fff}

  /* responsive */
  @media(max-width:900px){
    .hero .wrap{grid-template-columns:1fr;gap:40px}
    .hero-plane{display:none}
    .hero-glow{display:none}
    .hero-container{display:none}
    .svc-grid{grid-template-columns:1fr}
    .values{grid-template-columns:repeat(2,1fr)}
    .about-grid{grid-template-columns:1fr;gap:32px}
    .foot-top{grid-template-columns:1fr 1fr;gap:28px}
    .nav-links{display:none}
    .burger{display:block}
    .cta-band{padding:44px 24px}
    .mobile-menu.open{
      display:flex;flex-direction:column;
      position:fixed;top:74px;left:0;right:0;bottom:0;
      background:var(--paper);z-index:49;
      padding:12px 28px 36px;gap:0;overflow-y:auto;
    }
    .mobile-menu.open a{
      font-size:1.5rem;font-weight:500;color:var(--ink);
      padding:20px 0;border-bottom:1px solid var(--line);
    }
    .mobile-menu.open a:last-child{border-bottom:none}
    body.menu-open{overflow:hidden}
  }
  @media(max-width:520px){
    .values{grid-template-columns:1fr}
    .foot-top{grid-template-columns:1fr}
    .hero-cta{flex-direction:column;align-items:stretch}
    .btn{justify-content:space-between}
  }
  @media(max-width:600px){ .nav-right .btn-ghost{display:none} }

/* ============ interior pages ============ */
.nav-links a.active{color:var(--orange)}
.page-hero{padding:78px 0 8px;text-align:center;position:relative;overflow:hidden}
.page-hero .eyebrow{margin-bottom:18px}
.page-hero h1{font-size:clamp(2.2rem,5vw,3.7rem)}
.page-hero p{max-width:62ch;margin:20px auto 0;color:var(--ink-soft);font-weight:300;font-size:1.05rem}

/* feature rows (services) */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:72px 0;border-bottom:1px solid var(--line)}
.feature:last-of-type{border-bottom:none}
.feature.rev .feature-visual{order:-1}
.feature .kick{font-size:.78rem;font-weight:600;color:var(--orange);letter-spacing:.06em;text-transform:uppercase}
.feature h2{font-size:clamp(1.7rem,3vw,2.4rem);margin:10px 0 16px}
.feature > div > p{color:var(--ink-soft);font-weight:300;font-size:1.02rem}
.feature ul{list-style:none;margin-top:22px;display:grid;gap:13px}
.feature ul li{display:flex;gap:12px;align-items:flex-start;font-size:.96rem;color:var(--ink-soft)}
.feature ul li .tick{flex:0 0 auto;width:20px;height:20px;border-radius:50%;background:#fdeee4;color:var(--orange);display:grid;place-items:center;font-size:.7rem;margin-top:2px}
.feature-visual{border-radius:22px;min-height:300px;background:var(--mist);position:relative;overflow:hidden;display:grid;place-items:center;text-align:center;padding:30px}
.feature-visual .fv-ic{width:82px;height:82px;border-radius:20px;background:#fff;display:grid;place-items:center;margin:0 auto 18px;box-shadow:0 18px 40px -26px rgba(0,0,0,.3)}
.feature-visual .fv-label{font-weight:600;font-size:1.1rem}
.feature-visual .fv-sub{color:var(--grey);font-size:.85rem;font-weight:300;margin-top:4px}

/* login / auth */
.auth{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:56px 20px;background:var(--mist)}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:38px;max-width:410px;width:100%;box-shadow:0 30px 70px -42px rgba(0,0,0,.35)}
.auth-badge{width:52px;height:52px;background:var(--orange);border-radius:14px;display:grid;place-items:center;margin-bottom:20px}
.auth-badge img{height:30px}
.auth-card h1{font-size:1.55rem;margin-bottom:6px}
.auth-card .sub{color:var(--ink-soft);font-weight:300;font-size:.94rem;margin-bottom:26px}
.field{margin-bottom:15px}
.field label{display:block;font-size:.8rem;font-weight:500;margin-bottom:7px}
.field input{width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:12px;font-family:inherit;font-size:.95rem;background:var(--mist);color:var(--ink)}
.field input:focus{outline:none;border-color:var(--orange);background:#fff}
.auth-row{display:flex;justify-content:space-between;align-items:center;font-size:.82rem;margin:6px 0 20px;color:var(--ink-soft)}
.auth-row a{color:var(--orange)}
.auth .btn{width:100%;justify-content:center}
.auth-foot{text-align:center;margin-top:22px;font-size:.88rem;color:var(--ink-soft)}
.auth-foot a{color:var(--orange);font-weight:500}
.auth-note{margin-top:20px;padding:12px 14px;background:#fdeee4;border-radius:12px;font-size:.8rem;color:#8a4a13;text-align:center;line-height:1.5}
.auth-note.error{background:#fdecec;color:#b42318}
.auth-note.success{background:#eaf6ec;color:#1e6b3a}

.nav-portal-link{font-size:.9rem;font-weight:500;color:var(--ink-soft)}
.nav-portal-link:hover{color:var(--orange)}

.btn-google{width:100%;justify-content:center;background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn-google:hover{background:var(--mist)}
.auth-divider{display:flex;align-items:center;gap:14px;margin:22px 0;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--grey)}
.auth-divider span{flex:1;height:1px;background:var(--line)}

.pw-wrap{position:relative}
.pw-wrap input{padding-right:70px}
.pw-toggle{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);border:none;background:transparent;
  color:var(--grey);font-size:.78rem;font-weight:500;padding:8px 12px;border-radius:var(--pill);
  cursor:pointer;font-family:inherit;
}
.pw-toggle:hover{color:var(--orange);background:var(--mist)}

.pw-meter{margin:-6px 0 15px;display:none}
.pw-meter.show{display:block}
.pw-meter-bar{height:4px;border-radius:var(--pill);background:var(--line);overflow:hidden}
.pw-meter-bar span{display:block;height:100%;width:0%;border-radius:var(--pill);background:var(--grey);transition:width .2s,background .2s}
.pw-meter-bar span.weak{width:25%;background:#d92d20}
.pw-meter-bar span.fair{width:55%;background:#f0a500}
.pw-meter-bar span.good{width:80%;background:var(--orange)}
.pw-meter-bar span.strong{width:100%;background:#1e6b3a}
.pw-meter-label{display:block;margin-top:5px;font-size:.74rem;color:var(--grey)}

.phone-wrap{position:relative}
.phone-wrap input{padding-left:66px}
.phone-prefix{
  position:absolute;left:16px;top:0;bottom:0;display:flex;align-items:center;gap:10px;
  font-size:.95rem;color:var(--ink-soft);pointer-events:none;
}
.phone-prefix::after{content:"";width:1px;height:18px;background:var(--line)}

.terms-row{display:flex;align-items:flex-start;gap:10px;margin:4px 0 20px;font-size:.85rem;color:var(--ink-soft);cursor:pointer}
.terms-row input{width:auto;margin-top:3px;flex:0 0 auto}
.terms-row a{color:var(--orange);font-weight:500}

/* onboarding */
.auth-card-wide{max-width:660px}
.step-row{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.step-pill{
  display:inline-flex;align-items:center;height:28px;padding:0 13px;border-radius:var(--pill);
  background:#fdeee4;color:var(--orange-dark);font-size:.72rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
}
.step-bar{flex:1;display:flex;gap:6px}
.step-bar span{flex:1;height:5px;border-radius:var(--pill);background:var(--ink)}
.step-bar span.on{background:var(--orange)}

.field-group{
  display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:20px;
  background:var(--mist);border:1px solid var(--line);margin-bottom:20px;
}
.field-group-head{display:flex;align-items:center;gap:10px}
.field-group-ic{
  width:32px;height:32px;border-radius:10px;background:#fdeee4;color:var(--orange);
  display:grid;place-items:center;flex:0 0 auto;
}
.field-group input{
  height:52px;padding:0 15px;border-radius:12px;border:1px solid var(--line);background:#fff;
  font-family:inherit;font-size:.95rem;color:var(--ink);
}
.field-group input:focus{outline:none;border-color:var(--orange)}
.field-2col{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.select-wrap{position:relative;display:flex}
.select-wrap select{
  flex:1;min-width:0;height:52px;padding:0 42px 0 15px;border-radius:12px;border:1px solid var(--line);
  background:var(--mist);font-family:inherit;font-size:.95rem;color:var(--ink);cursor:pointer;
  appearance:none;-webkit-appearance:none;
}
.select-wrap select:focus{outline:none;border-color:var(--orange);background:#fff}
.select-wrap svg{position:absolute;right:16px;top:50%;transform:translateY(-50%);pointer-events:none}

.logo-upload{
  display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:18px;
  border:1px dashed var(--silver);background:var(--mist);margin-bottom:24px;flex-wrap:wrap;
}
.logo-upload-ic{width:52px;height:52px;flex:0 0 auto;border-radius:14px;background:var(--line);color:var(--grey);display:grid;place-items:center}
.logo-upload-text{display:flex;flex-direction:column;gap:4px}
.logo-upload-text .t1{font-size:.88rem;font-weight:500;color:var(--ink)}
.logo-upload-text .t1 .opt{font-weight:400;color:var(--grey)}
.logo-upload-text .t2{font-size:.78rem;color:var(--grey)}
.logo-upload button{
  margin-left:auto;flex:0 0 auto;white-space:nowrap;height:40px;padding:0 18px;border-radius:var(--pill);
  border:1px solid var(--line);background:#fff;font-family:inherit;font-size:.85rem;font-weight:500;
  color:var(--ink);cursor:pointer;
}
.logo-upload button:hover{background:#fff;border-color:var(--silver)}

.onboard-actions{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:6px}
.onboard-actions .btn{width:100%;justify-content:center}
.onboard-skip{font-size:.85rem;color:var(--grey)}
.onboard-skip:hover{color:var(--orange)}

@media(max-width:600px){
  .field-2col{grid-template-columns:1fr}
}

.footer-portal{padding:0;margin-top:0}
.foot-portal-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:24px 0}
.foot-portal-row .brand{color:#fff}
.foot-portal-copy{font-size:.82rem;color:#a49f99}
.foot-portal-links{display:flex;gap:20px;font-size:.85rem}
.foot-portal-links a{color:#a49f99}
.foot-portal-links a:hover{color:var(--orange)}

@media(max-width:900px){
  .feature{grid-template-columns:1fr;gap:30px;padding:52px 0}
  .feature.rev .feature-visual{order:0}
}

/* ============ merchant portal — dashboard ============ */
.only-mobile{display:none}

.dash{display:grid;grid-template-columns:252px 1fr;min-height:100vh;background:var(--mist)}

.dash-sidebar{
  background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;
  padding:26px 18px 22px;gap:26px;
}
.dash-sidebar .brand{padding:0 8px}
.dash-nav{display:flex;flex-direction:column;gap:4px}
.dash-nav a{
  display:flex;align-items:center;gap:12px;height:46px;padding:0 14px;border-radius:14px;
  color:var(--ink-soft);font-size:.92rem;font-weight:400;
}
.dash-nav a:hover{background:var(--mist);color:var(--ink)}
.dash-nav a.active{background:#fdeee4;color:var(--orange);font-weight:500}
.dash-nav a svg{flex:0 0 auto}
.dash-nav .count{
  margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;
  padding:0 7px;border-radius:var(--pill);background:var(--mist);color:var(--ink-soft);font-size:.75rem;font-weight:500;
}
.dash-nav .soon{
  margin-left:auto;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--pill);
  background:#fdeee4;color:var(--orange-dark);font-size:.66rem;font-weight:500;letter-spacing:.04em;
}
.dash-nav a.dim{color:var(--grey)}
.dash-teaser{margin-top:auto;background:var(--ink);border-radius:18px;padding:20px 18px;display:flex;flex-direction:column;gap:10px}
.dash-teaser .kick{font-size:.72rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--orange)}
.dash-teaser p{margin:0;font-size:.82rem;line-height:1.5;color:#e7e5e4;font-weight:300}

.dash-main{min-width:0;display:flex;flex-direction:column}

.dash-topbar{display:flex;align-items:center;gap:16px;padding:20px 32px;border-bottom:1px solid var(--line);background:#fff}
.dash-search{position:relative;display:flex;flex:1;max-width:440px}
.dash-search svg{position:absolute;left:16px;top:0;height:44px;display:flex;align-items:center;color:var(--grey)}
.dash-search input{
  flex:1;height:44px;padding:0 16px 0 44px;border-radius:var(--pill);border:1px solid var(--line);
  background:var(--mist);font-family:inherit;font-size:.88rem;color:var(--ink);
}
.dash-search input:focus{outline:none;border-color:var(--orange);background:#fff}
.dash-topbar-right{margin-left:auto;display:flex;align-items:center;gap:12px}
.icon-btn{
  display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;
  border:1px solid var(--line);background:#fff;cursor:pointer;color:var(--ink-soft);
}
.icon-btn:hover{background:var(--mist);color:var(--ink)}
.dash-divider{width:1px;height:28px;background:var(--line)}
.dash-user{display:flex;align-items:center;gap:10px;cursor:pointer}
.dash-avatar{
  display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
  background:var(--mist);font-size:.82rem;font-weight:600;color:var(--ink-soft);flex:0 0 auto;
}
.dash-user-meta{display:flex;flex-direction:column;gap:2px}
.dash-user-meta .name{font-size:.86rem;font-weight:500;color:var(--ink)}
.dash-user-meta .loc{font-size:.76rem;color:var(--grey)}

.dash-content{flex:1;min-width:0;padding:28px 32px 40px;display:flex;flex-direction:column;gap:20px}

.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px 20px 18px;display:flex;flex-direction:column;gap:12px}
.stat-head{display:flex;align-items:center;justify-content:space-between}
.stat-head .lbl{font-size:.82rem;color:var(--grey)}
.stat-ic{width:32px;height:32px;border-radius:10px;background:var(--mist);color:var(--ink-soft);display:grid;place-items:center}
.stat-ic.orange{background:#fdeee4;color:var(--orange)}
.stat-num{font-size:1.9rem;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.stat-sub{font-size:.78rem;color:var(--grey)}
.stat-sub.up{color:var(--orange)}

.chart-card{flex:1;min-height:0;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px 26px 20px;display:flex;flex-direction:column;gap:20px}
.chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.chart-head h2{font-size:1.05rem}
.chart-head p{font-size:.82rem;color:var(--grey);margin-top:4px}
.chart-tabs{display:flex;gap:6px;padding:5px;border-radius:var(--pill);background:var(--mist)}
.chart-tabs span{padding:8px 16px;border-radius:var(--pill);font-size:.78rem;color:var(--grey);cursor:pointer}
.chart-tabs span.on{background:#fff;color:var(--ink);font-weight:500;box-shadow:0 2px 6px -4px rgba(28,25,23,.4)}
.chart-bars{display:grid;grid-template-columns:repeat(8,1fr);gap:14px;align-items:end;flex:1;min-height:184px}
.chart-bar-col{display:flex;flex-direction:column;align-items:center;gap:10px;height:100%;justify-content:flex-end}
.chart-bar-col .val{font-size:.72rem;font-weight:500;color:var(--grey)}
.chart-bar-col .bar{width:100%;border-radius:10px 10px 4px 4px;background:var(--mist)}
.chart-bar-col.hi .bar{background:var(--orange)}
.chart-bar-col.hi .val{color:var(--orange);font-weight:600}
.chart-bar-col .mo{font-size:.72rem;color:var(--grey)}
.chart-bar-col.hi .mo{color:var(--ink);font-weight:500}

/* ============ dashboard v2 — Scout assistant + mobile shipment home ============ */
.dash-body-row{display:flex;min-width:0}

.topbar-create{
  display:flex;align-items:center;gap:8px;height:44px;padding:0 20px 0 18px;border-radius:var(--pill);
  border:none;background:var(--orange);color:#fff;cursor:pointer;font-family:inherit;font-size:.86rem;
  font-weight:600;white-space:nowrap;box-shadow:0 12px 22px -14px rgba(237,85,2,1);
}
.topbar-create:hover{background:var(--orange-dark)}
.icon-btn.scout-toggle.active{border-color:var(--orange);background:#fdeee4;color:var(--orange)}

/* Scout desktop panel */
.scout-panel{
  display:none;flex:0 0 360px;flex-direction:column;margin:28px 32px 40px 0;border-radius:22px;overflow:hidden;
  border:1px solid #f3ddc9;background:linear-gradient(180deg,#fdeee4 0%,#fff7f0 100%);
}
.scout-panel.open{display:flex}
.scout-panel-head{display:flex;align-items:center;gap:12px;padding:22px 22px 16px;border-bottom:1px solid rgba(237,85,2,.14)}
.scout-panel-head .mark{width:38px;height:38px;border-radius:11px;background:var(--orange);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.scout-panel-head .meta{display:flex;flex-direction:column;gap:2px}
.scout-panel-head .meta .name{font-size:1rem;font-weight:600;color:var(--ink)}
.scout-panel-head .meta .sub{font-size:.72rem;color:#a8763f}
.scout-panel-close{
  margin-left:auto;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;
  border:none;background:transparent;color:#a8763f;cursor:pointer;
}
.scout-panel-close:hover{background:rgba(237,85,2,.1);color:var(--ink)}

.scout-thread{flex:1;min-height:0;overflow-y:auto;padding:20px 22px;display:flex;flex-direction:column;gap:16px}
.scout-timestamp{align-self:center;font-size:.68rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#c4884f}

.scout-msg-user{align-self:flex-end;max-width:84%;display:flex;flex-direction:column;gap:5px;align-items:flex-end}
.scout-msg-user .bubble{background:var(--ink);color:#fff;padding:12px 16px;border-radius:16px 16px 4px 16px;font-size:.86rem;line-height:1.5}
.scout-msg-user .time{font-size:.66rem;color:#b08256}

.scout-msg-ai{display:flex;gap:10px;max-width:92%}
.scout-avatar{flex:0 0 auto;width:28px;height:28px;margin-top:2px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#ffd3b3,var(--orange) 55%,#8f3101)}
.scout-msg-ai-body{display:flex;flex-direction:column;gap:8px;min-width:0}
.scout-msg-ai .bubble{background:#fff;padding:12px 16px;border-radius:4px 16px 16px 16px;font-size:.86rem;line-height:1.5;color:#3a332c;box-shadow:0 2px 10px -6px rgba(60,40,10,.18)}
.scout-msg-ai .time{font-size:.66rem;color:#b08256}

.scout-card{background:#fff;border:1px solid #f3ddc9;border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 8px 20px -14px rgba(60,40,10,.25)}
.scout-card-head{display:flex;align-items:center;justify-content:space-between}
.scout-card-kicker{display:inline-flex;align-items:center;gap:6px;font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--orange)}
.scout-card-tag{font-size:.68rem;font-weight:500;padding:4px 10px;border-radius:var(--pill);background:var(--mist);color:#78716c}
.scout-card-tag.transit{background:#fdeee4;color:#c44502}
.scout-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 18px}
.scout-card-grid .f{display:flex;flex-direction:column;gap:2px}
.scout-card-grid .f .k{font-size:.62rem;letter-spacing:.05em;text-transform:uppercase;color:#b8946a}
.scout-card-grid .f .v{font-size:.82rem;font-weight:500;color:var(--ink)}
.scout-card-total{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #f5eee5}
.scout-card-total .lbl{font-size:.76rem;color:var(--grey)}
.scout-card-total .amt{font-size:1rem;font-weight:600;color:var(--ink)}
.scout-card-actions{display:flex;gap:8px}
.scout-card-actions .confirm{flex:1;height:38px;border-radius:var(--pill);border:none;background:var(--orange);color:#fff;cursor:pointer;font-family:inherit;font-size:.78rem;font-weight:600}
.scout-card-actions .edit{flex:0 0 auto;height:38px;padding:0 16px;border-radius:var(--pill);border:1px solid var(--line);background:#fff;color:var(--ink-soft);cursor:pointer;font-family:inherit;font-size:.78rem;font-weight:500}

.scout-progress{display:flex;align-items:center;gap:5px;padding-top:8px;border-top:1px solid #f5eee5}
.scout-progress .dot{width:8px;height:8px;border-radius:50%;background:#eee0d5;flex:0 0 auto}
.scout-progress .dot.done{background:var(--ink)}
.scout-progress .dot.current{background:var(--orange)}
.scout-progress .line{flex:1;height:2px;background:#eee0d5}
.scout-progress .line.done{background:var(--ink)}
.scout-progress-labels{display:flex;justify-content:space-between;font-size:.62rem;color:var(--grey)}
.scout-progress-labels .current{color:var(--orange);font-weight:600}

.scout-input-bar{padding:14px 22px 20px;border-top:1px solid rgba(237,85,2,.14)}
.scout-input-wrap{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #f3ddc9;border-radius:var(--pill);padding:6px 6px 6px 18px}
.scout-input-wrap button{cursor:pointer}
.scout-input-wrap button.attach{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:none;background:transparent;color:#a8763f}
.scout-input-wrap input{flex:1;border:none;background:transparent;font-family:inherit;font-size:.82rem;color:var(--ink);height:34px}
.scout-input-wrap input:focus{outline:none}
.scout-input-wrap button.send{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 auto;border-radius:50%;border:none;background:var(--orange);color:#fff}

/* mobile header greeting */
.dash-mobile-header .greet-block{display:flex;flex-direction:column;gap:4px}
.dash-mobile-header .greet-name{font-size:1.05rem;font-weight:600;color:var(--ink)}
.dash-mobile-header .greet-sub{font-size:.72rem;color:var(--grey)}
.mobile-header-actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex:0 0 auto}
.mobile-header-actions .scout-mobile-open{background:var(--orange);border-color:var(--orange);color:#fff}

/* mobile quick actions */
.quick-actions{display:none;grid-template-columns:repeat(4,1fr);gap:8px}
.quick-actions .qa{display:flex;flex-direction:column;align-items:center;gap:7px}
.quick-actions .qa .ic{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:16px;background:var(--mist);color:var(--ink-soft)}
.quick-actions .qa.primary .ic{background:#fdeee4;color:var(--orange)}
.quick-actions .qa .lbl{font-size:.68rem;color:var(--ink-soft);text-align:center}

/* mobile current-shipment hero */
.shipment-hero{display:none;background:var(--ink);border-radius:20px;padding:18px 20px;flex-direction:column;gap:12px;position:relative;overflow:hidden}
.shipment-hero::before{
  content:"";position:absolute;top:-100px;right:-60px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle,rgba(237,85,2,.30),rgba(237,85,2,0) 66%);pointer-events:none;
}
.shipment-hero-top{display:flex;align-items:center;justify-content:space-between;position:relative}
.shipment-hero .badge{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:var(--pill);background:rgba(237,85,2,.2);color:#ffb37e;font-size:.72rem;font-weight:500}
.shipment-hero .badge .dot{width:6px;height:6px;border-radius:50%;background:#ffb37e}
.shipment-hero .ic-badge{width:34px;height:34px;border-radius:11px;background:radial-gradient(circle at 32% 28%,#ffd3b3,var(--orange) 55%,#8f3101);display:flex;align-items:center;justify-content:center;color:#fff}
.shipment-hero .route{font-size:1.02rem;font-weight:600;color:#fff;position:relative}
.shipment-hero-bottom{display:flex;align-items:center;justify-content:space-between;position:relative}
.shipment-hero-bottom .meta{font-size:.76rem;color:#d6d3d1}
.shipment-hero-bottom .eta{font-size:.76rem;font-weight:500;color:#fff}

/* mobile active shipments list */
.active-shipments{display:none;flex-direction:column;gap:10px}
.active-shipments-head{display:flex;align-items:center;justify-content:space-between}
.active-shipments-head h2{font-size:.98rem}
.active-shipments-head a{font-size:.8rem;font-weight:500;color:var(--orange)}
.shipment-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.shipment-card-top{display:flex;align-items:center;justify-content:space-between}
.shipment-card-top .id{font-size:.86rem;font-weight:500;color:var(--ink)}
.shipment-card .sub{font-size:.76rem;color:var(--grey)}
.shipment-card-rider{display:flex;align-items:center;gap:9px;padding-top:9px;border-top:1px solid var(--mist)}
.shipment-card-rider .initials{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--mist);font-size:.7rem;font-weight:600;color:var(--ink-soft)}
.shipment-card-rider .name{flex:1;font-size:.78rem;color:var(--ink-soft)}
.shipment-card-rider button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;cursor:pointer}
.shipment-card-rider button.call{border:1px solid var(--line);background:#fff;color:var(--ink-soft)}
.shipment-card-rider button.msg{border:none;background:var(--orange);color:#fff}
.status-outfordelivery{background:#f2efec;color:#44403c}
.status-outfordelivery .dot{background:#78716c}

/* mobile Scout overlays (teaser sheet, full-screen home, full-screen chat) */
.scout-sheet{display:none;position:fixed;inset:0;z-index:70;align-items:flex-end}
.scout-sheet.open{display:flex}
.scout-sheet-backdrop{position:absolute;inset:0;background:rgba(28,25,23,.5)}
.scout-sheet-panel{
  position:relative;width:100%;background:linear-gradient(180deg,#fdeee4 0%,#fff7f0 100%);border-radius:26px 26px 0 0;
  padding:14px 22px calc(26px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px;
  box-shadow:0 -24px 50px -24px rgba(0,0,0,.35);
}
.scout-sheet-handle{width:36px;height:4px;border-radius:99px;background:#e7d3bf;align-self:center}
.scout-sheet-id{display:flex;align-items:center;gap:10px}
.scout-sheet-id .mark{width:34px;height:34px;border-radius:10px;background:var(--orange);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.scout-sheet-id .name{font-size:1rem;font-weight:600;color:var(--ink)}
.scout-sheet-id .new-tag{padding:3px 9px;border-radius:var(--pill);background:var(--orange);color:#fff;font-size:.62rem;font-weight:600;letter-spacing:.04em}
.scout-sheet p{margin:0;font-size:.82rem;line-height:1.5;color:#6b5642}
.scout-sheet-features{display:flex;flex-direction:column}
.scout-sheet-feature{display:flex;align-items:center;gap:11px;padding:12px 2px;border-bottom:1px solid rgba(237,85,2,.14)}
.scout-sheet-feature:last-child{border-bottom:none}
.scout-sheet-feature .ic{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#fff;color:var(--orange);flex:0 0 auto}
.scout-sheet-feature .lbl{flex:1;font-size:.84rem;font-weight:500;color:var(--ink)}
.scout-sheet-feature .chev{color:#b8946a}
.scout-sheet-cta{height:48px;border-radius:var(--pill);border:none;background:var(--orange);color:#fff;cursor:pointer;font-family:inherit;font-size:.88rem;font-weight:600}

.scout-mobile-home{display:none;position:fixed;inset:0;z-index:70;flex-direction:column;background:linear-gradient(180deg,#fdeee4 0%,#fff7f0 55%)}
.scout-mobile-home.open{display:flex}
.scout-mobile-head{padding:18px;display:flex;align-items:center;gap:12px;flex:0 0 auto}
.scout-back{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:1px solid rgba(237,85,2,.25);background:#fff;cursor:pointer;color:var(--ink)}
.scout-mobile-head .mark{width:32px;height:32px;border-radius:10px;background:var(--orange);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.scout-mobile-head .name{font-size:1rem;font-weight:600;color:var(--ink)}
.scout-mobile-body{flex:1;min-height:0;overflow-y:auto;padding:14px 24px 24px;display:flex;flex-direction:column;align-items:center;gap:22px}
.scout-orb{width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#ffd3b3,var(--orange) 55%,#8f3101);box-shadow:0 24px 44px -20px rgba(237,85,2,.55);flex:0 0 auto}
.scout-greet{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.scout-greet .h{font-size:1.15rem;font-weight:600;color:var(--ink)}
.scout-greet .q{font-size:.92rem;font-weight:500;color:var(--ink)}
.scout-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.scout-chip{height:36px;padding:0 16px;border-radius:var(--pill);border:1px solid #f0d9c4;background:#fff;cursor:pointer;font-family:inherit;font-size:.78rem;color:var(--ink-soft)}
.scout-suggested{width:100%;display:flex;flex-direction:column;gap:10px;margin-top:6px}
.scout-suggested-lbl{font-size:.68rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#b8946a}
.scout-suggest-card{background:#fff;border:1px solid #f0d9c4;border-radius:16px;padding:13px 15px;display:flex;align-items:center;gap:12px}
.scout-suggest-card .ic{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#fdeee4;color:var(--orange);flex:0 0 auto}
.scout-suggest-card .txt{font-size:.78rem;line-height:1.4;color:#3a332c}

.scout-mobile-inputbar{padding:14px 20px 20px;background:#fff;border-top:1px solid var(--line);flex:0 0 auto}
.scout-mobile-inputbar .wrap{display:flex;align-items:center;gap:8px;background:var(--mist);border:1px solid var(--line);border-radius:var(--pill);padding:6px 6px 6px 18px}
.scout-mobile-inputbar input{flex:1;border:none;background:transparent;font-family:inherit;font-size:.82rem;color:var(--ink);height:34px}
.scout-mobile-inputbar input:focus{outline:none}
.scout-mobile-inputbar button.send{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 auto;border-radius:50%;border:none;background:var(--orange);color:#fff;cursor:pointer}

.scout-mobile-chat{display:none;position:fixed;inset:0;z-index:70;flex-direction:column;background:#faf9f8}
.scout-mobile-chat.open{display:flex}
.scout-mobile-chat .scout-mobile-head{background:#fff;border-bottom:1px solid var(--line)}
.scout-mobile-chat .scout-mobile-head .meta{display:flex;flex-direction:column;gap:1px}
.scout-mobile-chat .scout-mobile-head .sub{font-size:.68rem;color:var(--grey)}
.scout-chat-body{flex:1;min-height:0;overflow-y:auto;padding:18px 20px;display:flex;flex-direction:column;gap:14px}

.orders-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}
.orders-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px;border-bottom:1px solid var(--mist)}
.orders-head h2{font-size:1.05rem}
.orders-head a{font-size:.84rem;font-weight:500;color:var(--orange)}
.orders-table-head{
  display:grid;grid-template-columns:1.2fr 1.4fr 1fr .9fr 1fr;gap:16px;padding:13px 26px;background:var(--mist);
  border-bottom:1px solid var(--mist);font-size:.72rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--grey);
}
.orders-row{
  display:grid;grid-template-columns:1.2fr 1.4fr 1fr .9fr 1fr;gap:16px;align-items:center;padding:15px 26px;
  border-bottom:1px solid var(--mist);font-size:.88rem;color:var(--ink-soft);
}
.orders-row:last-child{border-bottom:none}
.orders-row:hover{background:var(--mist)}
.orders-row .strong{font-weight:500;color:var(--ink)}
.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:var(--pill);font-size:.78rem;font-weight:500}
.status-badge .dot{width:6px;height:6px;border-radius:50%}
.status-draft{background:var(--mist);color:var(--grey)}
.status-draft .dot{background:var(--silver)}
.status-created{background:#f2efec;color:var(--ink-soft)}
.status-created .dot{background:var(--ink-soft)}
.status-transit{background:#fdeee4;color:var(--orange-dark)}
.status-transit .dot{background:var(--orange)}
.status-delivered{background:var(--ink);color:#fff}
.status-delivered .dot{background:var(--orange)}

.orders-list-mobile{flex-direction:column;gap:11px}
.order-card-mobile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:9px}
.order-card-mobile .top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.order-card-mobile .top .name{font-size:.92rem;font-weight:500;color:var(--ink)}
.order-card-mobile .bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.8rem;color:var(--grey)}
.order-card-mobile .bottom .strong{font-weight:500;color:var(--ink)}

.dash-mobile-header{
  align-items:center;gap:12px;padding:16px 20px;background:#fff;border-bottom:1px solid var(--line);
}
.dash-mobile-header .mark{width:36px;height:36px}
.dash-mobile-header .mark .beemark{height:21px}
.dash-mobile-header .biz{display:flex;flex-direction:column;gap:2px}
.dash-mobile-header .biz .n{font-size:.86rem;font-weight:500;color:var(--ink)}
.dash-mobile-header .biz .r{font-size:.76rem;color:var(--grey)}
.dash-mobile-header .dash-avatar{margin-left:auto}

.dash-tabbar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:40;grid-template-columns:repeat(5,1fr);gap:4px;
  padding:8px 8px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);
}
.dash-tabbar a{
  display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 0;border-radius:14px;
  color:var(--grey);font-size:.68rem;font-weight:400;
}
.dash-tabbar a.active{color:var(--orange);font-weight:500}

@media(max-width:900px){
  .only-mobile{display:flex}
  .dash{grid-template-columns:1fr}
  .dash-sidebar,.dash-topbar{display:none}
  .dash-content{padding:18px 20px 100px}
  .stat-grid,.chart-card,.orders-card{display:none}
  .scout-panel{display:none!important}
  .quick-actions{display:grid}
  .shipment-hero{display:flex}
  .active-shipments{display:flex}
  .dash-tabbar{display:grid}
}

/* ============ merchant portal — orders ============ */
.dash-sidebar-user{
  margin-top:auto;display:flex;align-items:center;gap:11px;padding:10px 8px 0;border-top:1px solid var(--mist);
}
.dash-sidebar-user .dash-avatar{flex:0 0 auto}
.dash-sidebar-user .meta{display:flex;flex-direction:column;gap:2px}
.dash-sidebar-user .meta .n{font-size:.84rem;font-weight:500;color:var(--ink)}
.dash-sidebar-user .meta .r{font-size:.76rem;color:var(--grey)}

.orders-header{
  display:flex;align-items:center;gap:16px;padding:24px 32px;border-bottom:1px solid var(--line);
  background:#fff;flex-wrap:wrap;
}
.orders-header h1{font-size:1.35rem;margin-bottom:5px}
.orders-header p{font-size:.84rem;color:var(--grey)}
.orders-header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}
.btn-outline{
  display:flex;align-items:center;gap:9px;height:44px;padding:0 20px;border-radius:var(--pill);
  border:1px solid var(--line);background:#fff;cursor:pointer;font-family:inherit;font-size:.86rem;
  font-weight:500;color:var(--ink);
}
.btn-outline:hover{background:var(--mist)}

.orders-body{flex:1;min-height:0;display:flex}
.orders-list-col{flex:1;min-width:0;display:flex;flex-direction:column;padding:26px 32px;gap:18px}
.orders-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.orders-toolbar .dash-search{max-width:none;min-width:240px}
.filter-btn{
  display:flex;align-items:center;gap:9px;height:44px;padding:0 18px;border-radius:var(--pill);
  border:1px solid var(--line);background:#fff;cursor:pointer;font-family:inherit;font-size:.86rem;color:var(--ink-soft);
}
.filter-btn:hover{background:var(--mist)}

.status-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.status-pill{
  height:36px;padding:0 17px;border-radius:var(--pill);border:1px solid var(--line);background:#fff;
  color:var(--ink-soft);cursor:pointer;font-family:inherit;font-size:.82rem;
}
.status-pill:hover{background:var(--mist);color:var(--ink)}
.status-pill.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.pill-count{margin-left:auto;font-size:.82rem;color:var(--grey)}

.orders-table-wrap{flex:1;min-height:0;background:#fff;border:1px solid var(--line);border-radius:22px;display:flex;flex-direction:column;overflow:hidden}
.orders-table-scroll{flex:1;overflow-y:auto}
.orders-table-head.cols-6{grid-template-columns:1.2fr 1.3fr .9fr .8fr 1fr 1.05fr;padding:14px 24px}
.orders-row.cols-6{grid-template-columns:1.2fr 1.3fr .9fr .8fr 1fr 1.05fr;padding:15px 24px;border-left:3px solid transparent}
.orders-row.clickable{cursor:pointer}
.orders-row.clickable.selected{border-left-color:var(--orange);background:#fffaf6}
.cell-2line{display:flex;flex-direction:column;gap:3px}
.cell-2line .sub{font-size:.78rem;color:var(--grey)}

.order-detail{width:392px;flex:none;background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.order-detail-head{display:flex;align-items:flex-start;gap:14px;padding:24px 26px 20px;border-bottom:1px solid var(--mist)}
.order-detail-head .kicker{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--grey);display:block;margin-bottom:7px}
.order-detail-head h2{font-size:1.3rem;margin-bottom:9px}
.order-detail-body{flex:1;min-height:0;overflow-y:auto;padding:22px 26px;display:flex;flex-direction:column;gap:22px}
.detail-rows{display:flex;flex-direction:column;gap:14px}
.detail-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.86rem}
.detail-row .k{color:var(--grey)}
.detail-row .v{font-weight:500;color:var(--ink)}
.detail-row.total{padding-top:14px;border-top:1px solid var(--mist)}
.detail-row.total .v{font-size:1.05rem;font-weight:600}
.detail-section-title{font-size:.9rem;font-weight:600;color:var(--ink)}
.track-steps{display:flex;flex-direction:column}
.track-step{display:grid;grid-template-columns:26px 1fr;gap:14px}
.track-step-rail{display:flex;flex-direction:column;align-items:center;gap:4px}
.track-dot{width:13px;height:13px;border-radius:50%;flex:0 0 auto}
.track-dot.done{background:var(--ink)}
.track-dot.pending{background:#fff;border:2px solid var(--line)}
.track-dot.current{background:var(--orange);box-shadow:0 0 0 4px rgba(237,85,2,.16)}
.track-line{flex:1;width:2px;min-height:22px;background:var(--line)}
.track-line.done{background:var(--silver)}
.track-step-body{display:flex;flex-direction:column;gap:4px;padding-bottom:16px}
.track-step-label{font-size:.84rem;color:var(--grey)}
.track-step-label.done{font-weight:500;color:var(--ink)}
.track-step-time{font-size:.78rem;color:var(--grey)}
.order-detail-actions{display:flex;gap:10px;padding:18px 26px 22px;border-top:1px solid var(--mist)}
.order-detail-actions .btn{flex:1;justify-content:center}

.orders-mobile-header{align-items:center;gap:12px;padding:16px 20px;background:#fff;border-bottom:1px solid var(--line)}
.orders-mobile-header .mark{width:36px;height:36px}
.orders-mobile-header .mark .beemark{height:21px}
.orders-mobile-header h1{font-size:1.05rem;margin:0}
.orders-mobile-header .btn-outline{margin-left:auto;height:38px;padding:0 15px;font-size:.8rem}
.orders-mobile-body{flex:1;min-height:0;overflow:hidden;padding:18px 20px;flex-direction:column;gap:14px}
.orders-mobile-filters{display:flex;gap:8px;overflow-x:auto}
.orders-mobile-filters .status-pill{flex:none;height:34px;padding:0 15px;font-size:.78rem}
.orders-mobile-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px}
.order-card-mobile .track-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;
  border-top:1px solid var(--mist);font-size:.78rem;color:var(--grey);
}
.order-card-mobile .track-row .go{color:var(--orange);font-weight:500}

@media(max-width:900px){
  .orders-body{flex-direction:column}
  .order-detail{display:none}
  .orders-desktop-only{display:none}
  .orders-mobile-header{display:flex}
}
