
:root{--navy:#0B1F3A;--navy-2:#12345d;--emerald:#0E7C66;--emerald-soft:#E6F7F2;--gold:#D8A23A;--white:#fff;--light:#F6F8FB;--muted:#687789;--border:#E1E7EF;--shadow:0 20px 50px rgba(11,31,58,.10)}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:"Sarabun",Arial,sans-serif;background:#fff;color:#1d2a39;line-height:1.7;overflow-x:hidden}body,button,input,a,select,textarea{font-family:"Sarabun",Arial,sans-serif}a{text-decoration:none;color:inherit}img,iframe,video{display:block;max-width:100%}.container{width:min(1760px,96vw);margin:0 auto}.site-header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(11,31,58,.08)}.header-inner{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand-group{display:flex;align-items:center;gap:14px}.brand-logo{width:74px}.brand-copy{display:flex;flex-direction:column}.brand-title{font-size:clamp(24px,2.2vw,40px);font-weight:800;line-height:1}.brand-pbb{color:var(--navy)}.brand-th{color:var(--emerald);margin-left:6px}.brand-sub{font-size:11px;color:var(--navy);font-weight:700;margin-top:4px}.mini-nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.mini-nav a{font-weight:700;color:var(--navy)}.back-link{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:var(--emerald-soft);color:var(--navy);font-weight:800}.module-hero{padding:48px 0 34px;background:linear-gradient(135deg,#fbfdff,#f0f7f6)}.module-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center}.eyebrow{display:inline-flex;padding:9px 16px;border-radius:999px;background:var(--emerald-soft);color:var(--navy);font-weight:800;font-size:13px;border:1px solid rgba(14,124,102,.16);margin-bottom:18px}.module-hero h1{font-size:clamp(34px,4vw,62px);line-height:1.08;color:var(--navy);margin-bottom:14px}.module-hero p{font-size:18px;color:#425063;margin-bottom:18px}.hero-feature-list{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 22px}.hero-feature-list span{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--border);font-size:13px;font-weight:700;color:var(--navy)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 22px;border-radius:999px;border:1px solid transparent;font-weight:800;font-size:15px;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--gold),#efc862);color:var(--navy)}.btn-outline{background:#fff;border-color:#ced8e5;color:var(--navy)}.module-hero-visual{background:#08192f;border-radius:28px;overflow:hidden;box-shadow:0 30px 70px rgba(11,31,58,.16);border:1px solid rgba(11,31,58,.12)}.hero-preview-head{height:46px;background:#0b203d;display:flex;align-items:center;gap:8px;padding:0 16px;color:#fff}.hero-preview-head span{width:10px;height:10px;border-radius:50%;background:var(--gold)}.hero-preview-head span:nth-child(2){background:var(--emerald)}.hero-preview-head span:nth-child(3){background:#cdd5df}.hero-preview-body{aspect-ratio:16/9;background:linear-gradient(135deg,#16345f,#0d6c61);padding:18px}.hero-preview-body img{width:100%;height:100%;object-fit:cover;border-radius:20px}.section{padding:76px 0}.section-heading{text-align:center;max-width:980px;margin:0 auto 28px}.section-heading h2{font-size:clamp(28px,3.4vw,52px);color:var(--navy);line-height:1.16;margin-bottom:10px}.section-heading p{font-size:17px;color:var(--muted)}.label{display:inline-block;color:var(--gold);font-size:13px;letter-spacing:1.4px;font-weight:800;margin-bottom:10px}.benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.benefit-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:24px;box-shadow:var(--shadow)}.benefit-icon{width:54px;height:54px;border-radius:18px;background:var(--emerald-soft);display:grid;place-items:center;color:var(--emerald);font-size:22px;margin-bottom:14px}.benefit-card h3{font-size:22px;color:var(--navy);margin-bottom:8px}.benefit-card p{color:var(--muted)}.promo-section{background:var(--light)}.promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.promo-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px;box-shadow:var(--shadow)}.promo-card h3{font-size:24px;color:var(--navy);margin-bottom:10px}.promo-card ul{padding-left:18px;color:var(--muted)}.promo-card li{margin-bottom:8px}.demo-section{background:linear-gradient(180deg,#f8fbff,#ffffff)}.demo-stage{display:flex;align-items:flex-end;justify-content:center;gap:26px}.desktop-device{width:min(1200px,100%);background:#07172e;border-radius:28px;overflow:hidden;border:8px solid #082146;box-shadow:0 30px 70px rgba(11,31,58,.16)}.device-header{height:48px;padding:0 16px;background:#0b203d;color:#fff;display:grid;grid-template-columns:100px 1fr 120px;align-items:center;border-bottom:1px solid rgba(255,255,255,.08)}.device-dots{display:flex;gap:8px}.device-dots i{display:block;width:10px;height:10px;border-radius:50%;background:var(--gold)}.device-dots i:nth-child(2){background:var(--emerald)}.device-dots i:nth-child(3){background:#ced6e2}.device-mode{font-size:12px;color:var(--gold);text-align:right;font-weight:700}.desktop-frame{width:100%;height:min(76vh,920px);border:0;background:#fff}.mobile-device{width:280px;background:#0b203d;border-radius:34px;padding:10px;border:4px solid #0d284f;box-shadow:0 24px 60px rgba(11,31,58,.16);margin-bottom:26px}.mobile-notch{width:82px;height:12px;border-radius:0 0 12px 12px;background:#03101f;margin:0 auto 8px}.mobile-toolbar{font-size:12px;color:#fff;text-align:center;font-weight:700;margin-bottom:8px}.mobile-frame{width:100%;height:min(60vh,720px);border:0;border-radius:24px;background:#fff}.demo-note{margin-top:16px;padding:16px 18px;border-radius:18px;background:#fff7e3;border:1px solid #f1dfaa;color:#775718}.footer-cta{padding:38px 0 80px}.footer-cta-box{background:linear-gradient(135deg,#0b1f3a,#12345d);border-radius:32px;padding:34px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-cta-box h2{font-size:34px;line-height:1.2;color:#fff}.footer-cta-box p{color:rgba(255,255,255,.82);max-width:760px}.site-footer{padding:22px 0;background:#07172e;color:rgba(255,255,255,.76)}.site-footer .footer-inner{display:flex;justify-content:space-between;gap:16px}.mini-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}.mini-card{border:1px solid var(--border);border-radius:22px;background:#fff;padding:20px;box-shadow:var(--shadow)}.mini-card h4{font-size:20px;color:var(--navy);margin-bottom:8px}.mini-card p{color:var(--muted)}@media(max-width:1200px){.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-hero-grid,.promo-grid{grid-template-columns:1fr}.demo-stage{flex-direction:column;align-items:center}}@media(max-width:900px){.mini-nav{display:none}.benefit-grid,.mini-card-grid{grid-template-columns:1fr}.site-footer .footer-inner,.footer-cta-box{flex-direction:column;align-items:flex-start}.container{width:100%;padding-inline:16px}.mobile-device{width:min(280px,80vw)}.desktop-frame{height:68vh}.mobile-frame{height:56vh}}


/* =========================
   MODULE PAGE HEADER SYNC WITH HOME
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:200;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(11,31,58,.06);
  border-radius:0 0 18px 18px;
  box-shadow:0 8px 24px rgba(11,31,58,.04);
  overflow:visible;
}

.site-header .header-inner{
  width:100%;
  max-width:none;
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 16px;
  gap:18px;
  margin:0 auto;
}

.brand-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brand-logo{
  width:50px;
  height:auto;
  flex:0 0 auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.brand-title{
  display:flex;
  align-items:center;
  gap:6px;
  line-height:1;
  font-size:19px;
  font-weight:800;
  letter-spacing:.2px;
}

.brand-pbb{color:var(--navy)}
.brand-th{color:var(--emerald);margin-left:0}

.brand-sub{
  color:var(--navy);
  font-size:9.8px;
  font-weight:700;
  margin-top:3px;
  letter-spacing:.12px;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.main-nav a{
  color:var(--navy);
  font-weight:700;
  font-size:13.5px;
  padding:9px 11px;
  border-radius:12px;
  transition:.25s ease;
  border:1px solid transparent;
  white-space:nowrap;
}

.main-nav a:hover{
  background:rgba(6,119,102,.08);
  color:var(--emerald);
  border-color:rgba(6,119,102,.16);
}

.main-nav .admin-btn{
  background:linear-gradient(135deg,var(--gold),#F0C45C);
  color:var(--navy);
  padding:9px 17px;
  border-radius:999px;
  box-shadow:0 10px 22px rgba(216,162,58,.22);
}

.main-nav .admin-btn:hover{
  transform:translateY(-1px);
  color:var(--navy);
  background:linear-gradient(135deg,var(--gold),#F0C45C);
}

.menu-btn{
  display:none;
  width:42px;
  height:42px;
  border:none;
  background:#f3f7fb;
  color:var(--navy);
  border-radius:12px;
  font-size:20px;
  cursor:pointer;
}

@media (max-width:1080px){
  .main-nav{
    position:absolute;
    top:68px;
    right:12px;
    left:12px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    background:rgba(255,255,255,.98);
    border:1px solid var(--border);
    border-radius:18px;
    padding:12px;
    box-shadow:var(--shadow);
  }

  .main-nav.active{display:flex}
  .main-nav a{width:100%}
  .menu-btn{display:inline-grid;place-items:center}
}

@media (max-width:640px){
  .site-header .header-inner{
    min-height:64px;
    padding:8px 10px;
  }

  .brand-logo{width:44px}
  .brand-title{font-size:17px}
  .brand-sub{font-size:8.8px}
  .menu-btn{width:40px;height:40px;font-size:18px}
}


/* =========================
   DASHBOARD MODULE DETAIL PAGE
========================= */
.dashboard-detail-hero{
  background:
    radial-gradient(circle at 8% 12%, rgba(6,119,102,.08), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(216,162,58,.12), transparent 28%),
    linear-gradient(135deg,#fbfdff,#f0f7f6);
}

.dashboard-hero-visual{
  min-height:420px;
}

.dashboard-preview-iframe-wrap{
  padding:0;
  background:#f4f7fb;
  overflow:hidden;
}

.dashboard-preview-iframe-wrap iframe{
  width:100%;
  height:100%;
  min-height:420px;
  border:0;
  transform:scale(.78);
  transform-origin:top left;
  width:128%;
  height:128%;
  pointer-events:none;
}

.dashboard-scope-section{
  background:#ffffff;
}

.dashboard-scope-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.dashboard-scope-card{
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
  transition:.25s ease;
}

.dashboard-scope-card:hover{
  transform:translateY(-4px);
  border-color:rgba(14,124,102,.22);
}

.scope-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:var(--emerald-soft);
  color:var(--emerald);
  font-size:22px;
  margin-bottom:14px;
}

.dashboard-scope-card h3{
  color:var(--navy);
  font-size:21px;
  line-height:1.2;
  margin-bottom:8px;
}

.dashboard-scope-card p{
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  margin-bottom:12px;
}

.dashboard-scope-card ul{
  list-style:none;
  display:grid;
  gap:8px;
}

.dashboard-scope-card li{
  color:var(--navy);
  font-size:13px;
  font-weight:700;
  padding-left:18px;
  position:relative;
}

.dashboard-scope-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:.65em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gold);
}

.dashboard-insight-section{
  background:linear-gradient(180deg,#f7fbfc 0%,#ffffff 100%);
}

.dashboard-insight-layout{
  display:grid;
  grid-template-columns:1fr .92fr;
  gap:28px;
  align-items:start;
}

.dashboard-insight-layout h2{
  color:var(--navy);
  font-size:clamp(30px,3vw,48px);
  line-height:1.15;
  margin-bottom:12px;
}

.dashboard-insight-layout p{
  color:var(--muted);
  font-size:16px;
  line-height:1.85;
  margin-bottom:18px;
}

.dashboard-flow-list{
  display:grid;
  gap:12px;
}

.dashboard-flow-list div{
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px 16px;
  display:grid;
  grid-template-columns:46px 1fr;
  gap:4px 12px;
  box-shadow:0 8px 20px rgba(11,31,58,.04);
}

.dashboard-flow-list strong{
  grid-row:span 2;
  color:var(--gold);
  font-size:22px;
  line-height:1;
}

.dashboard-flow-list span{
  color:var(--navy);
  font-weight:800;
  font-size:15px;
}

.dashboard-flow-list small{
  color:var(--muted);
  font-size:13px;
}

.dashboard-alert-panel{
  background:#071d3a;
  color:#ffffff;
  border-radius:28px;
  padding:24px;
  box-shadow:0 28px 65px rgba(11,31,58,.18);
}

.dashboard-alert-panel h3{
  font-size:24px;
  line-height:1.25;
  margin-bottom:16px;
}

.alert-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:10px;
}

.alert-item i{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#ffffff;
  color:var(--emerald);
  flex:0 0 38px;
}

.alert-item.good i{color:var(--emerald)}
.alert-item.wait i{color:var(--gold)}
.alert-item.risk i{color:#d64b4b}

.alert-item strong{
  display:block;
  font-size:15px;
  line-height:1.25;
}

.alert-item span{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.55;
  margin-top:3px;
}

@media (max-width:1180px){
  .dashboard-scope-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .dashboard-insight-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .dashboard-hero-visual{
    min-height:320px;
  }

  .dashboard-preview-iframe-wrap iframe{
    min-height:320px;
    transform:scale(.72);
    width:139%;
    height:139%;
  }

  .dashboard-scope-grid{
    grid-template-columns:1fr;
  }

  .dashboard-scope-card{
    padding:20px;
  }

  .dashboard-alert-panel{
    padding:20px;
    border-radius:24px;
  }

  .dashboard-flow-list div{
    grid-template-columns:38px 1fr;
  }
}


/* === Dashboard module page refinement 2026-06-15 === */
.site-header{border-radius:0 !important;box-shadow:0 6px 18px rgba(11,31,58,.04)}

.dashboard-hero-visual{min-height:520px;background:#08192f}
.hero-preview-head strong{font-size:15px;line-height:1.2}
.dashboard-preview-static-wrap{
  background:linear-gradient(180deg,#edf3f8,#f9fbfd);
  padding:18px;
}
.hero-device-stack{
  height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}
.hero-desktop-shell{
  flex:1 1 auto;
  min-width:0;
  background:#fff;
  border:1px solid #dce4ee;
  border-radius:24px;
  padding:14px;
  box-shadow:0 18px 38px rgba(11,31,58,.08);
}
.preview-top-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.preview-top-tabs span{
  padding:7px 11px;
  border-radius:999px;
  background:#f6f8fb;
  border:1px solid var(--border);
  color:var(--navy);
  font-size:11px;
  font-weight:800;
}
.preview-top-tabs span.active{
  background:var(--emerald);
  color:#fff;
  border-color:var(--emerald);
}
.preview-hero-banner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:18px;
  background:linear-gradient(135deg,#ffffff,#f7fbfc);
  margin-bottom:10px;
}
.preview-hero-banner strong{
  display:block;
  color:var(--navy);
  font-size:18px;
  line-height:1.2;
}
.preview-hero-banner small{
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:2px;
}
.preview-badge{
  flex:0 0 auto;
  padding:8px 11px;
  border-radius:999px;
  background:#e8f6f2;
  color:var(--emerald);
  font-size:11px;
  font-weight:800;
}
.preview-filter-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}
.preview-filter-grid div,
.preview-metric-grid article,
.mini-panel{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.preview-filter-grid div{
  padding:10px 11px;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
.preview-filter-grid strong{
  display:block;
  color:var(--navy);
  font-size:12px;
  margin-top:4px;
}
.preview-metric-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}
.preview-metric-grid article{
  padding:12px;
  position:relative;
  overflow:hidden;
}
.preview-metric-grid article::after{
  content:"";
  position:absolute;
  right:-16px;top:-16px;
  width:52px;height:52px;
  border-radius:50%;
  background:rgba(6,119,102,.08);
}
.preview-metric-grid span{
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-bottom:4px;
}
.preview-metric-grid strong{
  display:block;
  color:var(--navy);
  font-size:20px;
  line-height:1;
}
.preview-metric-grid small{
  display:block;
  color:var(--emerald);
  font-size:10px;
  font-weight:800;
  margin-top:6px;
}
.preview-content-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:10px;
}
.mini-panel{padding:12px}
.panel-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:8px}
.panel-head strong{color:var(--navy);font-size:13px;line-height:1.2}
.panel-head small{color:var(--muted);font-size:10px}
.mini-bars{height:136px;display:flex;align-items:end;gap:8px;padding-top:12px}
.mini-bars i{display:block;flex:1;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,var(--emerald),#11907d)}
.mini-bars i:nth-child(even){background:linear-gradient(180deg,var(--gold),#efc862)}
.decision-list.compact{display:grid;gap:8px}
.decision-list.compact div{display:flex;gap:8px;align-items:flex-start;background:#f8fbfd;border:1px solid var(--border);border-radius:13px;padding:8px 10px;color:var(--navy);font-size:11px;line-height:1.4}
.decision-list.compact i{color:var(--gold);margin-top:2px}
.hero-mobile-shell{
  width:210px;
  flex:0 0 210px;
  background:#0b203d;
  border:4px solid #0d284f;
  border-radius:34px;
  padding:10px 10px 12px;
  box-shadow:0 18px 40px rgba(11,31,58,.12);
}
.hero-mobile-top{
  width:84px;
  height:12px;
  overflow:hidden;
  margin:0 auto 10px;
  background:#03101f;
  border-radius:0 0 12px 12px;
  color:transparent;
}
.hero-mobile-screen{
  background:#fff;
  border-radius:24px 24px 16px 16px;
  padding:12px;
  display:grid;
  gap:8px;
  min-height:346px;
}
.mobile-card{
  border:1px solid var(--border);
  border-radius:15px;
  background:#fff;
  padding:10px;
}
.mobile-card.head{background:linear-gradient(135deg,#f7fbfc,#ffffff)}
.mobile-card span,.mobile-card small{display:block;color:var(--muted);font-size:10px;line-height:1.35}
.mobile-card strong{display:block;color:var(--navy);font-size:13px;line-height:1.25}
.mobile-card.alert{background:#fff7e3;border-color:#f1dfaa}
.hero-mobile-nav{
  margin-top:8px;
  background:#fff;
  border-radius:16px;
  padding:10px 8px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:6px;
}
.hero-mobile-nav i{
  display:grid;
  place-items:center;
  color:var(--navy);
  font-size:13px;
}
.hero-mobile-nav i:first-child{color:var(--emerald)}

.dashboard-alert-panel .alert-item.ai i{color:var(--navy)}
.dashboard-alert-panel .alert-item.ai{background:rgba(216,162,58,.12);border-color:rgba(216,162,58,.24)}

.mobile-device{position:relative;overflow:hidden;padding-bottom:48px}
.mobile-bottom-nav-overlay{
  position:absolute;
  left:14px;right:14px;bottom:12px;
  height:42px;
  background:#fff;
  border-radius:16px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:center;
  box-shadow:0 8px 18px rgba(11,31,58,.14);
  z-index:2;
}
.mobile-bottom-nav-overlay i{display:grid;place-items:center;color:#718197;font-size:14px}
.mobile-bottom-nav-overlay i:first-child{color:var(--emerald)}
.mobile-frame{height:calc(min(60vh,720px) - 34px)}

@media(max-width:1320px){
  .preview-filter-grid,.preview-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .preview-content-grid{grid-template-columns:1fr}
  .hero-mobile-shell{width:190px;flex-basis:190px}
}
@media(max-width:1180px){
  .hero-device-stack{flex-direction:column;align-items:center}
  .hero-desktop-shell,.hero-mobile-shell{width:100%}
  .hero-mobile-shell{max-width:280px}
  .dashboard-hero-visual{min-height:auto}
}
@media(max-width:640px){
  .dashboard-preview-static-wrap{padding:12px}
  .hero-desktop-shell{padding:10px;border-radius:18px}
  .preview-hero-banner{padding:12px;flex-direction:column}
  .preview-filter-grid,.preview-metric-grid{grid-template-columns:1fr 1fr}
  .preview-content-grid{grid-template-columns:1fr}
  .hero-mobile-screen{min-height:280px}
}

/* =====================================================
   FINAL FIX: HEADER RADIUS + SEPARATE DESKTOP/MOBILE PREVIEW
   วางท้ายสุดเพื่อ override CSS เดิมทั้งหมด
===================================================== */

/* ส่วนหัวบนสุด: โค้งมุมล่างซ้าย/ขวา */
body .site-header{
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(11,31,58,.06) !important;
  border-radius: 0 0 28px 28px !important;
  box-shadow: 0 10px 26px rgba(11,31,58,.06) !important;
  overflow: hidden !important;
}

/* กล่อง Preview ด้านขวา */
.dashboard-hero-visual{
  background: #071d3a !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  min-height: 560px !important;
  box-shadow: 0 30px 70px rgba(11,31,58,.16) !important;
}

/* พื้นที่แสดงตัวอย่าง */
.dashboard-preview-static-wrap{
  padding: 22px !important;
  background: linear-gradient(135deg,#edf5f8,#f9fbfd) !important;
  overflow: hidden !important;
  height: auto !important;
  min-height: 510px !important;
}

/* บังคับให้แยก Desktop และ Mobile เป็น 2 ส่วน ไม่ซ้อนกัน */
.hero-device-stack{
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 238px !important;
  gap: 22px !important;
  align-items: start !important;
  justify-content: center !important;
  position: relative !important;
}

/* เพิ่มเส้นแบ่งบาง ๆ ให้เห็นว่าเป็น 2 ส่วน */
.hero-device-stack::after{
  content: "" !important;
  position: absolute !important;
  top: 8px !important;
  bottom: 8px !important;
  right: 260px !important;
  width: 1px !important;
  background: linear-gradient(to bottom, transparent, #d9e3ec, transparent) !important;
  pointer-events: none !important;
}

/* จอคอม */
.hero-desktop-shell{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  background: #ffffff !important;
  border: 1px solid #dce4ee !important;
  border-radius: 24px !important;
  padding: 14px !important;
  box-shadow: 0 16px 36px rgba(11,31,58,.08) !important;
  overflow: hidden !important;
  transform: none !important;
}

/* จอมือถือ แยกเป็นคอลัมน์ขวา */
.hero-mobile-shell{
  width: 238px !important;
  min-width: 238px !important;
  max-width: 238px !important;
  flex: 0 0 238px !important;
  position: relative !important;
  z-index: 2 !important;
  justify-self: center !important;
  align-self: start !important;
  margin: 0 !important;
  transform: none !important;
  background: #0b203d !important;
  border: 4px solid #0d284f !important;
  border-radius: 34px !important;
  padding: 10px 10px 12px !important;
  box-shadow: 0 18px 40px rgba(11,31,58,.12) !important;
}

/* ลดขนาดเนื้อหาในจอคอมให้ไม่เบียดจอมือถือ */
.preview-top-tabs{
  gap: 6px !important;
  margin-bottom: 10px !important;
}

.preview-top-tabs span{
  padding: 6px 9px !important;
  font-size: 10.5px !important;
}

.preview-hero-banner{
  padding: 13px 14px !important;
  margin-bottom: 10px !important;
  border-radius: 17px !important;
}

.preview-hero-banner strong{
  font-size: 17px !important;
}

.preview-hero-banner small{
  font-size: 10.5px !important;
}

.preview-filter-grid,
.preview-metric-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.preview-filter-grid div,
.preview-metric-grid article{
  min-width: 0 !important;
}

.preview-filter-grid div{
  padding: 9px 10px !important;
  font-size: 9.8px !important;
}

.preview-filter-grid strong{
  font-size: 11px !important;
}

.preview-metric-grid article{
  padding: 11px 10px !important;
}

.preview-metric-grid strong{
  font-size: 18px !important;
}

.preview-content-grid{
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.mini-bars{
  height: 120px !important;
}

.decision-list.compact div{
  padding: 7px 9px !important;
  font-size: 10.5px !important;
}

/* จอมือถือให้เป็น mobile app ชัดเจน */
.hero-mobile-screen{
  min-height: 386px !important;
  padding: 11px !important;
  border-radius: 24px 24px 16px 16px !important;
}

.mobile-card{
  padding: 9px !important;
}

.mobile-card strong{
  font-size: 12.5px !important;
}

.hero-mobile-nav{
  height: 42px !important;
  margin-top: 8px !important;
  padding: 8px 7px !important;
  border-radius: 16px !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
}

/* จอขนาดกลาง: ยังคงแยก 2 ส่วน แต่ลดขนาดมือถือ */
@media (max-width: 1450px){
  .hero-device-stack{
    grid-template-columns: minmax(0, 1fr) 210px !important;
    gap: 18px !important;
  }

  .hero-device-stack::after{
    right: 228px !important;
  }

  .hero-mobile-shell{
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
    flex-basis: 210px !important;
  }

  .preview-filter-grid,
  .preview-metric-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .preview-content-grid{
    grid-template-columns: 1fr !important;
  }

  .hero-mobile-screen{
    min-height: 340px !important;
  }

  .mini-bars{
    height: 105px !important;
  }
}

/* Tablet/Mobile: เรียงจอคอมบน จอมือถือล่าง แบบไม่ซ้อน */
@media (max-width: 1180px){
  .dashboard-hero-visual{
    min-height: auto !important;
  }

  .hero-device-stack{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .hero-device-stack::after{
    display: none !important;
  }

  .hero-mobile-shell{
    width: min(260px, 86vw) !important;
    min-width: 0 !important;
    max-width: 260px !important;
    justify-self: center !important;
  }

  .preview-filter-grid,
  .preview-metric-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px){
  body .site-header{
    border-radius: 0 0 22px 22px !important;
  }

  .dashboard-preview-static-wrap{
    padding: 14px !important;
  }

  .hero-desktop-shell{
    padding: 10px !important;
    border-radius: 20px !important;
  }

  .preview-filter-grid,
  .preview-metric-grid{
    grid-template-columns: 1fr 1fr !important;
  }

  .preview-content-grid{
    grid-template-columns: 1fr !important;
  }

  .hero-mobile-shell{
    width: min(250px, 86vw) !important;
  }
}


/* =========================================================
   FINAL A VERSION: SPLIT DESKTOP AND MOBILE PREVIEW
   วางท้ายสุดของ module.css
========================================================= */

/* Header ด้านบน โค้งมุมล่างซ้าย/ขวา */
.site-header{
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(11,31,58,.06) !important;
  border-radius: 0 0 28px 28px !important;
  box-shadow: 0 12px 24px rgba(11,31,58,.05) !important;
  overflow: hidden !important;
}

/* กล่องภาพตัวอย่างรวม */
.dashboard-hero-visual.split-preview{
  background: transparent !important;
  border-radius: 0 !important;
  min-height: auto !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: visible !important;
}

/* แยก desktop / mobile ออกจากกันชัดเจน */
.preview-split-grid{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px !important;
  gap: 22px !important;
  align-items: start !important;
  width: 100% !important;
}

/* Card ของแต่ละจอ */
.preview-card{
  background: #fff !important;
  border: 1px solid #dce4ee !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 42px rgba(11,31,58,.08) !important;
  min-width: 0 !important;
}

/* Desktop */
.preview-desktop-card{
  min-width: 0 !important;
  width: 100% !important;
}

.preview-frame-head{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 18px !important;
  background: #0b2244 !important;
  color: #fff !important;
}

.preview-frame-head span{
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #d6dde7 !important;
  flex: 0 0 10px !important;
}

.preview-frame-head span:nth-child(1){background:#e2ad3b !important;}
.preview-frame-head span:nth-child(2){background:#0e7c66 !important;}
.preview-frame-head span:nth-child(3){background:#cfd7df !important;}

.preview-frame-head strong{
  margin-left: 4px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.preview-frame-body{
  padding: 18px !important;
  background: linear-gradient(135deg,#eff5f8 0%, #fcfcfd 100%) !important;
}

.preview-top-tabs{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.preview-top-tabs span{
  padding: 7px 11px !important;
  border-radius: 999px !important;
  border: 1px solid #dce4ee !important;
  background: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0b1f3a !important;
}

.preview-top-tabs span.active{
  background: #0e7c66 !important;
  color: #fff !important;
  border-color: #0e7c66 !important;
}

.preview-hero-banner{
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 16px !important;
  border: 1px solid #dce4ee !important;
  border-radius: 18px !important;
  background: #fff !important;
  margin-bottom: 12px !important;
}

.preview-hero-banner strong{
  display: block !important;
  font-size: 16px !important;
  color: #0b1f3a !important;
  margin-bottom: 4px !important;
  line-height: 1.25 !important;
}

.preview-hero-banner small{
  color: #6f8094 !important;
  font-size: 11px !important;
}

.preview-badge{
  white-space: nowrap !important;
  padding: 9px 12px !important;
  border-radius: 999px !important;
  background: #eaf7f3 !important;
  color: #067766 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.preview-filter-grid,
.preview-metric-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.preview-filter-grid div,
.preview-metric-grid article{
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid #dce4ee !important;
  border-radius: 16px !important;
}

.preview-filter-grid div{
  padding: 12px 13px !important;
  font-size: 10px !important;
  color: #7c8ea3 !important;
  line-height: 1.35 !important;
}

.preview-filter-grid strong{
  display: block !important;
  margin-top: 5px !important;
  color: #0b1f3a !important;
  font-size: 12px !important;
}

.preview-metric-grid article{
  padding: 12px 13px !important;
  position: relative !important;
  overflow: hidden !important;
}

.preview-metric-grid span{
  display: block !important;
  font-size: 10px !important;
  color: #7c8ea3 !important;
}

.preview-metric-grid strong{
  display: block !important;
  margin: 6px 0 4px !important;
  font-size: 18px !important;
  color: #0b1f3a !important;
  line-height: 1 !important;
}

.preview-metric-grid small{
  color: #0e7c66 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.preview-content-grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.mini-panel{
  background: #fff !important;
  border: 1px solid #dce4ee !important;
  border-radius: 18px !important;
  padding: 14px !important;
}

.panel-head{
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.panel-head strong{
  font-size: 14px !important;
  color: #0b1f3a !important;
}

.panel-head small{
  font-size: 10px !important;
  color: #8a99ab !important;
}

.mini-bars{
  height: 110px !important;
  display: flex !important;
  align-items: end !important;
  gap: 9px !important;
}

.mini-bars i{
  flex: 1 !important;
  border-radius: 10px 10px 0 0 !important;
  background: linear-gradient(180deg,#0e7c66 0%, #0f8b77 100%) !important;
}

.mini-bars i:nth-child(even){
  background: linear-gradient(180deg,#e2ad3b 0%, #d39a26 100%) !important;
}

.decision-list.compact{
  display: grid !important;
  gap: 8px !important;
}

.decision-list.compact div{
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  border: 1px solid #dce4ee !important;
  border-radius: 12px !important;
  background: #fbfdff !important;
  font-size: 11px !important;
  color: #0b1f3a !important;
  line-height: 1.4 !important;
}

.decision-list.compact i{
  color: #d39a26 !important;
  margin-top: 2px !important;
}

/* Mobile card แยกออกจาก Desktop */
.preview-mobile-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.hero-mobile-shell{
  width: 100% !important;
  max-width: 250px !important;
  margin: 0 auto !important;
  background: #0b203d !important;
  border: 4px solid #0d284f !important;
  border-radius: 34px !important;
  padding: 10px 10px 12px !important;
  box-shadow: 0 18px 40px rgba(11,31,58,.12) !important;
  transform: none !important;
}

.hero-mobile-top{
  position: relative !important;
  text-align: center !important;
  padding: 10px 0 14px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.hero-mobile-top::before{
  content: "" !important;
  display: block !important;
  width: 90px !important;
  height: 14px !important;
  border-radius: 0 0 18px 18px !important;
  background: #06152a !important;
  margin: 0 auto 10px !important;
}

.hero-mobile-screen{
  background: #f8fbfd !important;
  border-radius: 26px 26px 18px 18px !important;
  padding: 12px !important;
  min-height: 405px !important;
  display: grid !important;
  gap: 10px !important;
}

.mobile-card{
  background: #fff !important;
  border: 1px solid #dce4ee !important;
  border-radius: 16px !important;
  padding: 11px !important;
}

.mobile-card.head strong{
  display: block !important;
  font-size: 13px !important;
  color: #0b1f3a !important;
}

.mobile-card.head small{
  color: #7d8c9f !important;
  font-size: 11px !important;
}

.mobile-card span{
  display: block !important;
  font-size: 10px !important;
  color: #8090a3 !important;
  margin-bottom: 3px !important;
}

.mobile-card strong{
  display: block !important;
  font-size: 14px !important;
  color: #0b1f3a !important;
  line-height: 1.25 !important;
}

.mobile-card.alert{
  background: #fff9ed !important;
  border-color: #f0d28f !important;
}

.hero-mobile-nav{
  margin-top: 9px !important;
  height: 44px !important;
  border-radius: 16px !important;
  background: #fff !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  color: #0b1f3a !important;
}

.hero-mobile-nav i:first-child{
  color: #0e7c66 !important;
}

/* responsive */
@media (max-width: 1360px){
  .preview-split-grid{
    grid-template-columns: minmax(0, 1fr) 220px !important;
    gap: 18px !important;
  }

  .preview-filter-grid,
  .preview-metric-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .preview-content-grid{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1180px){
  .preview-split-grid{
    grid-template-columns: 1fr !important;
  }

  .preview-mobile-card{
    display: flex !important;
    justify-content: center !important;
  }

  .hero-mobile-shell{
    max-width: 260px !important;
  }
}

@media (max-width: 640px){
  .site-header{
    border-radius: 0 0 22px 22px !important;
  }

  .preview-frame-body{
    padding: 14px !important;
  }

  .preview-filter-grid,
  .preview-metric-grid{
    grid-template-columns: 1fr 1fr !important;
  }
}


/* =========================
   DECISION SUPPORT WOW B
========================= */
.module-decision-wow{
  position: relative;
  padding: 78px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(14,124,102,.10), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(216,162,58,.14), transparent 26%),
    linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
}

.module-decision-wow::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
  pointer-events:none;
}

.decision-wow-head{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 340px;
  gap: 30px;
  align-items: center;
  margin-bottom: 22px;
}

.decision-wow-copy .section-kicker{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #d8a23a;
}

.decision-wow-copy h2{
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  color: #0b1f3a;
  letter-spacing: -.8px;
}

.decision-wow-copy .section-lead{
  margin: 0;
  font-size: 18px;
  line-height: 1.78;
  color: #5f7087;
  max-width: 980px;
}

.ai-orbit-box{
  position: relative;
  width: 290px;
  height: 290px;
  margin-left: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(14,124,102,.14), rgba(14,124,102,.04) 48%, transparent 49%),
    conic-gradient(from 90deg, rgba(14,124,102,.18), rgba(216,162,58,.22), rgba(11,31,58,.16), rgba(14,124,102,.18));
  border: 1px solid rgba(11,31,58,.08);
  box-shadow: 0 24px 56px rgba(11,31,58,.09);
}

.ai-orbit-box::before,
.ai-orbit-box::after{
  content:"";
  position:absolute;
  border-radius:50%;
  border:1px dashed rgba(11,31,58,.16);
}

.ai-orbit-box::before{inset:34px}
.ai-orbit-box::after{inset:68px;border-color:rgba(216,162,58,.24)}

.ai-core{
  position: relative;
  z-index: 2;
  width: 142px;
  height: 142px;
  border-radius: 38px;
  background: linear-gradient(135deg,#0b1f3a,#0e7c66);
  display: grid;
  place-items: center;
  text-align: center;
  color:#fff;
  padding: 18px;
  box-shadow: 0 20px 42px rgba(11,31,58,.18);
}

.ai-core i{
  font-size: 30px;
  color:#f4c766;
  margin-bottom: 4px;
}

.ai-core strong{
  display:block;
  font-size: 18px;
  line-height:1;
}

.ai-core span{
  display:block;
  font-size: 10px;
  color:rgba(255,255,255,.72);
  margin-top: 4px;
}

.orbit-dot{
  position:absolute;
  z-index:3;
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#0b1f3a;
  background:#fff;
  border:1px solid rgba(11,31,58,.08);
  box-shadow: 0 12px 26px rgba(11,31,58,.12);
  animation: orbitFloat 3.2s ease-in-out infinite;
}

.orbit-dot i{color:#0e7c66}
.orbit-dot.dot-1{top:18px;left:50%;transform:translateX(-50%)}
.orbit-dot.dot-2{right:20px;top:118px;animation-delay:.25s}
.orbit-dot.dot-3{bottom:20px;left:50%;transform:translateX(-50%);animation-delay:.5s}
.orbit-dot.dot-4{left:20px;top:118px;animation-delay:.75s}

@keyframes orbitFloat{
  0%,100%{margin-top:0}
  50%{margin-top:-8px}
}

.decision-wow-badges{
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.decision-wow-badges span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,31,58,.08);
  box-shadow: 0 12px 24px rgba(11,31,58,.05);
  font-size: 14px;
  font-weight: 800;
  color: #0b1f3a;
}

.decision-wow-badges i{
  color:#0e7c66;
}

.decision-network-wrap{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.network-line{
  position: absolute;
  left: 6%;
  right: 6%;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14,124,102,.28), rgba(216,162,58,.35), transparent);
  pointer-events: none;
}

.decision-alert-card.wow-card{
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px 20px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(17,44,82,.98) 0%, rgba(9,28,55,.98) 100%);
  box-shadow: 0 20px 44px rgba(11,31,58,.14);
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.decision-alert-card.wow-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 28px 62px rgba(11,31,58,.22);
  border-color: rgba(255,255,255,.24);
}

.decision-alert-card.wow-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.10), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.05), transparent 42%);
  pointer-events: none;
  z-index: -1;
}

.decision-alert-card.wow-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #0e7c66 0%, #d8a23a 100%);
}

.decision-alert-card.sales::after{ background: linear-gradient(90deg, #0e7c66 0%, #25b38d 100%); }
.decision-alert-card.approval::after{ background: linear-gradient(90deg, #d8a23a 0%, #efc15f 100%); }
.decision-alert-card.stock::after{ background: linear-gradient(90deg, #db5c5c 0%, #f28b82 100%); }
.decision-alert-card.workload::after{ background: linear-gradient(90deg, #3d7eff 0%, #73a0ff 100%); }
.decision-alert-card.ai::after{ background: linear-gradient(90deg, #7c5cff 0%, #0e7c66 100%); }

.decision-alert-card.featured{
  background:
    radial-gradient(circle at 90% 0%, rgba(216,162,58,.20), transparent 32%),
    linear-gradient(180deg, #102d55 0%, #081a33 100%);
}

.decision-glow{
  position:absolute;
  right:-44px;
  top:-44px;
  width:132px;
  height:132px;
  border-radius:50%;
  background: rgba(14,124,102,.20);
  filter: blur(4px);
  pointer-events:none;
}

.decision-alert-card.approval .decision-glow{background:rgba(216,162,58,.22)}
.decision-alert-card.stock .decision-glow{background:rgba(219,92,92,.18)}
.decision-alert-card.workload .decision-glow{background:rgba(61,126,255,.18)}
.decision-alert-card.ai .decision-glow{background:rgba(124,92,255,.22)}

.decision-icon{
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  color: #ffffff;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.decision-content{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.decision-title-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.decision-title-row h3{
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
  color: #ffffff;
}

.alert-badge{
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.alert-badge.success{
  background: rgba(14,124,102,.18);
  color: #7df0cc;
  border: 1px solid rgba(125,240,204,.18);
}

.alert-badge.warning{
  background: rgba(216,162,58,.16);
  color: #ffd47c;
  border: 1px solid rgba(255,212,124,.16);
}

.alert-badge.danger{
  background: rgba(239,92,92,.14);
  color: #ff9b9b;
  border: 1px solid rgba(255,155,155,.16);
}

.alert-badge.neutral{
  background: rgba(255,255,255,.12);
  color: #e7eef9;
  border: 1px solid rgba(255,255,255,.12);
}

.alert-badge.ai-badge{
  background: rgba(124,92,255,.18);
  color: #d2c4ff;
  border: 1px solid rgba(210,196,255,.18);
}

.decision-content p{
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255,255,255,.82);
}

.decision-content ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.decision-content ul li{
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}

.decision-content ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8a23a;
  box-shadow: 0 0 0 5px rgba(216,162,58,.12);
}

/* responsive */
@media (max-width: 1500px){
  .decision-network-wrap{
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }

  .network-line{
    display:none;
  }
}

@media (max-width: 1080px){
  .decision-wow-head{
    grid-template-columns: 1fr;
  }

  .ai-orbit-box{
    margin: 0 auto;
  }

  .decision-network-wrap{
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 680px){
  .module-decision-wow{
    padding: 56px 0 64px;
  }

  .decision-wow-copy h2{
    font-size: 32px;
  }

  .decision-wow-copy .section-lead{
    font-size: 16px;
  }

  .ai-orbit-box{
    width: 240px;
    height: 240px;
  }

  .ai-core{
    width: 124px;
    height: 124px;
    border-radius: 32px;
  }

  .orbit-dot{
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .decision-network-wrap{
    grid-template-columns: 1fr;
  }

  .decision-title-row{
    flex-direction: column;
  }

  .decision-title-row h3{
    font-size: 22px;
  }
}


/* =========================
   SALES MODULE PAGE
========================= */
.sales-detail-hero{
  background:
    radial-gradient(circle at 8% 12%, rgba(6,119,102,.08), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(216,162,58,.12), transparent 28%),
    linear-gradient(135deg,#fbfdff,#f0f7f6);
}

.sales-hero-visual.split-preview{
  background: transparent !important;
  border-radius: 0 !important;
  min-height: auto !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: visible !important;
}

.sales-scope-section{
  background:#ffffff;
}

.sales-scope-grid .scope-icon{
  background:#e8f6f2;
}

.sales-ai-section{
  background:
    radial-gradient(circle at 8% 0%, rgba(6,119,102,.10), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(216,162,58,.14), transparent 26%),
    linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
}

.sales-orbit .ai-core{
  background: linear-gradient(135deg,#0b1f3a,#0e7c66);
}

.sales-preview-grid .preview-badge{
  background:#eaf7f3 !important;
  color:#067766 !important;
}

/* ให้หน้า Sales ใช้ preview split เหมือน Dashboard */
.preview-split-grid{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px !important;
  gap: 22px !important;
  align-items: start !important;
  width: 100% !important;
}

.preview-card{
  background: #fff !important;
  border: 1px solid #dce4ee !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 42px rgba(11,31,58,.08) !important;
  min-width: 0 !important;
}

.preview-desktop-card{min-width:0 !important;width:100% !important}
.preview-mobile-card{background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;overflow:visible !important}

@media(max-width:1360px){
  .preview-split-grid{grid-template-columns:minmax(0,1fr) 220px !important;gap:18px !important}
}

@media(max-width:1180px){
  .preview-split-grid{grid-template-columns:1fr !important}
  .preview-mobile-card{display:flex !important;justify-content:center !important}
}
