/* ZEAM_UI_RESCUE_V1
   Dashboard visual rescue layer.
   Safe CSS-only patch. No backend changes.
*/

:root{
  --zr-bg-0:#03020b;
  --zr-bg-1:#080414;
  --zr-panel:rgba(12,10,28,.68);
  --zr-panel-2:rgba(255,255,255,.055);
  --zr-border:rgba(255,255,255,.105);
  --zr-border-2:rgba(168,85,247,.22);
  --zr-text:#f8f5ff;
  --zr-muted:rgba(248,245,255,.62);
  --zr-soft:rgba(248,245,255,.42);
  --zr-purple:#a855f7;
  --zr-orange:#f59e0b;
  --zr-cyan:#22d3ee;
  --zr-green:#34d399;
  --zr-red:#fb7185;
  --zr-radius-xl:30px;
  --zr-radius-lg:24px;
  --zr-radius-md:18px;
  --zr-shadow:0 24px 90px rgba(0,0,0,.38);
  --zr-shadow-soft:0 16px 50px rgba(0,0,0,.22);
}

/* Global polish */
body{
  background:
    radial-gradient(circle at 18% 7%, rgba(168,85,247,.28), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(245,158,11,.18), transparent 30%),
    radial-gradient(circle at 56% 86%, rgba(34,211,238,.10), transparent 30%),
    linear-gradient(135deg, var(--zr-bg-0), var(--zr-bg-1) 54%, #060216) !important;
  color:var(--zr-text) !important;
}

.main-shell{
  padding-top:18px !important;
}

/* Make header calmer and premium */
.app-header{
  border-radius:28px !important;
  border:1px solid rgba(255,255,255,.09) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    radial-gradient(circle at 10% 10%, rgba(168,85,247,.15), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(245,158,11,.10), transparent 28%),
    rgba(8,6,22,.66) !important;
  box-shadow:var(--zr-shadow-soft) !important;
}

/* Dashboard wrapper */
.du-wrap{
  width:100% !important;
  max-width:1540px !important;
  margin:0 auto !important;
  padding:0 4px 56px !important;
  gap:18px !important;
}

/* Hero cleanup */
.du-hero{
  position:relative !important;
  overflow:hidden !important;
  border-radius:34px !important;
  padding:24px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.080), rgba(255,255,255,.028)),
    radial-gradient(circle at 12% 16%, rgba(168,85,247,.22), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(245,158,11,.14), transparent 28%),
    radial-gradient(circle at 68% 90%, rgba(34,211,238,.08), transparent 30%),
    rgba(8,6,22,.72) !important;
  box-shadow:var(--zr-shadow) !important;
  backdrop-filter:blur(22px) saturate(145%) !important;
}

.du-hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), transparent 28%),
    radial-gradient(circle at top, rgba(255,255,255,.08), transparent 38%) !important;
  opacity:.75 !important;
}

.du-hero > *{
  position:relative !important;
  z-index:1 !important;
}

.du-hero h1{
  max-width:980px !important;
  margin-top:18px !important;
  font-size:clamp(30px,4vw,58px) !important;
  line-height:1.08 !important;
  letter-spacing:-.04em !important;
}

.du-hero h1 span{
  background:linear-gradient(135deg,#fff,#d8b4fe 42%,#fbbf24) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
}

.du-hero p{
  max-width:920px !important;
  color:var(--zr-muted) !important;
  line-height:1.95 !important;
  font-size:15px !important;
}

/* Main command strip */
.du-main-command-strip{
  border-radius:24px !important;
  padding:10px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.085) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.du-main-command-btn,
.du-btn{
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.055) !important;
  color:rgba(255,255,255,.80) !important;
  transition:transform .2s ease, background .2s ease, border-color .2s ease !important;
}

.du-main-command-btn:hover,
.du-btn:hover{
  transform:translateY(-1px) !important;
  background:rgba(255,255,255,.085) !important;
  border-color:rgba(245,158,11,.28) !important;
}

.du-main-command-btn.active{
  color:#fff !important;
  background:linear-gradient(135deg, rgba(168,85,247,.36), rgba(245,158,11,.20)) !important;
  border-color:rgba(245,158,11,.30) !important;
}

.du-main-command-search input{
  background:transparent !important;
  color:#fff !important;
}

.du-main-command-search{
  border-radius:18px !important;
  background:rgba(0,0,0,.16) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}

/* Pills and badges */
.du-pill,
.du-badge,
.du-main-badge{
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.105) !important;
  background:rgba(255,255,255,.055) !important;
  color:rgba(255,255,255,.78) !important;
}

.du-pill.ok,
.du-badge.good{
  color:#a7f3d0 !important;
  background:rgba(16,185,129,.13) !important;
  border-color:rgba(52,211,153,.22) !important;
}

.du-pill.warn,
.du-badge.bad{
  color:#fecaca !important;
  background:rgba(244,63,94,.12) !important;
  border-color:rgba(251,113,133,.22) !important;
}

.du-pill.info,
.du-badge.info{
  color:#bae6fd !important;
  background:rgba(14,165,233,.12) !important;
  border-color:rgba(56,189,248,.20) !important;
}

.du-main-badge.gold{
  color:#fde68a !important;
  background:rgba(245,158,11,.13) !important;
  border-color:rgba(245,158,11,.26) !important;
}

/* KPI cards */
.du-kpi-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:12px !important;
}

.du-card{
  border-radius:26px !important;
  border:1px solid rgba(255,255,255,.095) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.067), rgba(255,255,255,.025)),
    rgba(9,7,23,.64) !important;
  box-shadow:var(--zr-shadow-soft) !important;
  backdrop-filter:blur(18px) saturate(140%) !important;
  transition:transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease !important;
}

.du-card:hover{
  transform:translateY(-3px) !important;
  border-color:rgba(245,158,11,.22) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035)),
    rgba(11,8,30,.74) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.32) !important;
}

.du-kpi{
  min-height:132px !important;
  padding:18px !important;
}

.du-kpi-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
}

.du-icon{
  width:42px !important;
  height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:16px !important;
  background:linear-gradient(135deg, rgba(168,85,247,.28), rgba(245,158,11,.14)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

.du-kpi-label,
.du-panel-sub{
  color:var(--zr-muted) !important;
}

.du-kpi-value{
  margin-top:14px !important;
  font-size:clamp(25px,2.3vw,38px) !important;
  line-height:1 !important;
  letter-spacing:-.045em !important;
  color:#fff !important;
}

.du-kpi-sub{
  margin-top:8px !important;
  color:var(--zr-soft) !important;
}

/* Charts and panels */
.du-chart-grid{
  display:grid !important;
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:14px !important;
  align-items:stretch !important;
}

.du-panel{
  padding:18px !important;
  min-height:230px !important;
}

.du-panel.tall{
  min-height:340px !important;
}

.du-panel-head{
  margin-bottom:14px !important;
}

.du-panel-title{
  color:#fff !important;
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:-.015em !important;
}

.du-list{
  gap:8px !important;
}

.du-row{
  border-radius:16px !important;
  padding:10px 12px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.07) !important;
  color:rgba(255,255,255,.82) !important;
}

.du-row:hover{
  background:rgba(255,255,255,.07) !important;
  border-color:rgba(168,85,247,.20) !important;
}

/* Delivery health card should match dashboard */
.zeam-delivery-health-card{
  max-width:1540px !important;
  margin:0 auto 18px !important;
  border-radius:34px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.074), rgba(255,255,255,.026)),
    radial-gradient(circle at 12% 20%, rgba(168,85,247,.18), transparent 32%),
    radial-gradient(circle at 92% 28%, rgba(245,158,11,.12), transparent 28%),
    rgba(8,6,22,.70) !important;
  box-shadow:var(--zr-shadow-soft) !important;
}

/* Reduce visual chaos from old layers */
.du-external-hint{
  opacity:.62 !important;
  font-size:11px !important;
}

.du-tabs{
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:18px !important;
  padding:5px !important;
}

.du-tab{
  border-radius:13px !important;
}

.du-tab.active{
  background:rgba(168,85,247,.25) !important;
  color:#fff !important;
}

/* Responsive */
@media (max-width:1280px){
  .du-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
  .du-span-8,.du-span-4{grid-column:span 6 !important;}
}

@media (max-width:820px){
  .main-shell{padding-inline:10px !important;}
  .du-wrap{padding-inline:0 !important;}
  .du-main-command-strip{display:flex !important; flex-direction:column !important;}
  .du-main-command-left,
  .du-main-command-right{width:100% !important; flex-wrap:wrap !important;}
  .du-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .du-chart-grid{grid-template-columns:1fr !important;}
  .du-span-8,.du-span-4{grid-column:span 1 !important;}
  .du-hero{padding:18px !important;}
}

@media (max-width:560px){
  .du-kpi-grid{grid-template-columns:1fr !important;}
  .du-hero h1{font-size:31px !important;}
  .du-pill-row{gap:7px !important;}
}

/* ZEAM_DASHBOARD_CARDS_CLEANUP_V3
   Lower dashboard card cleanup.
   Safe CSS-only polish for charts/lists/matrix panels.
*/

.zr-section-head{
  max-width:1540px;
  margin:4px auto -2px;
  padding:18px 20px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(145deg, rgba(255,255,255,.060), rgba(255,255,255,.022)),
    radial-gradient(circle at 12% 18%, rgba(168,85,247,.14), transparent 30%),
    rgba(8,6,22,.58);
  box-shadow:0 14px 44px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.zr-section-kicker{
  display:inline-flex;
  margin-bottom:6px;
  color:#fbbf24;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.zr-section-head h2{
  margin:0;
  color:#fff;
  font-size:22px;
  font-weight:950;
  letter-spacing:-.025em;
}

.zr-section-head p{
  margin:7px 0 0;
  color:rgba(248,245,255,.58);
  font-size:13px;
  line-height:1.8;
}

.zr-section-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.zr-section-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 12px;
  border-radius:999px;
  color:rgba(255,255,255,.82);
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.055);
  transition:.2s ease;
}

.zr-section-actions a:hover{
  transform:translateY(-1px);
  color:#fff;
  border-color:rgba(245,158,11,.25);
  background:rgba(255,255,255,.085);
}

.du-chart-grid{
  margin-top:14px !important;
}

/* Chart containers */
.du-chart,
.du-bars,
.du-heatmap,
.du-radar,
.du-bubble-board,
.du-matrix,
.du-hbars{
  border-radius:22px !important;
  border:1px solid rgba(255,255,255,.075) !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(168,85,247,.10), transparent 26%),
    rgba(0,0,0,.14) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
}

/* More premium chart feeling */
.du-chart{
  min-height:220px !important;
  padding:14px !important;
  overflow:hidden !important;
}

.du-bars{
  min-height:170px !important;
  padding:14px !important;
}

.du-radar{
  min-height:190px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.du-radar svg{
  width:100% !important;
  max-width:310px !important;
  filter:drop-shadow(0 0 18px rgba(34,211,238,.12)) !important;
}

/* Lists */
.du-list{
  display:flex !important;
  flex-direction:column !important;
}

.du-row{
  min-height:48px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  text-decoration:none !important;
}

.du-row strong{
  color:#fff !important;
  font-weight:900 !important;
}

.du-row small{
  display:block !important;
  margin-top:4px !important;
  color:rgba(248,245,255,.48) !important;
  line-height:1.5 !important;
}

/* Matrix */
.du-matrix{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  padding:12px !important;
}

.du-mini{
  min-height:80px !important;
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.075) !important;
  background:rgba(255,255,255,.045) !important;
  padding:12px !important;
}

.du-mini span{
  display:block !important;
  color:rgba(248,245,255,.55) !important;
  font-size:11px !important;
  font-weight:800 !important;
}

.du-mini strong{
  display:block !important;
  color:#fff !important;
  font-size:24px !important;
  font-weight:950 !important;
  margin-top:8px !important;
}

/* Horizontal bars */
.du-hbars{
  padding:14px !important;
}

.du-hbar{
  margin-bottom:12px !important;
}

.du-hbar-label{
  color:rgba(248,245,255,.70) !important;
  font-size:12px !important;
  font-weight:850 !important;
  margin-bottom:7px !important;
}

.du-hbar-track{
  height:9px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.06) !important;
  overflow:hidden !important;
}

.du-hbar-fill{
  height:100% !important;
  border-radius:999px !important;
  background:linear-gradient(90deg, rgba(168,85,247,.82), rgba(245,158,11,.82)) !important;
  box-shadow:0 0 20px rgba(168,85,247,.18) !important;
}

/* Bubble board */
.du-bubble-board{
  position:relative !important;
  min-height:210px !important;
  overflow:hidden !important;
}

.du-bubble{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:absolute !important;
  border-radius:999px !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:950 !important;
  text-decoration:none !important;
  border:1px solid rgba(255,255,255,.13) !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg, rgba(168,85,247,.50), rgba(245,158,11,.24)) !important;
  box-shadow:0 14px 40px rgba(0,0,0,.22), 0 0 24px rgba(168,85,247,.10) !important;
  transition:.2s ease !important;
}

.du-bubble:hover{
  transform:scale(1.06) !important;
  border-color:rgba(245,158,11,.36) !important;
}

/* Panel rhythm */
.du-panel{
  overflow:hidden !important;
}

.du-panel-head{
  min-height:54px !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:12px !important;
}

.du-panel-title{
  line-height:1.4 !important;
}

.du-panel-sub{
  margin-top:5px !important;
  line-height:1.6 !important;
}

/* Heatmap */
.du-heatmap{
  padding:14px !important;
  min-height:180px !important;
  display:grid !important;
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:7px !important;
  align-content:center !important;
}

.du-cell{
  aspect-ratio:1 !important;
  border-radius:9px !important;
  background:rgba(34,211,238,var(--o,.18)) !important;
  box-shadow:0 0 18px rgba(34,211,238,var(--g,.08)) !important;
}

/* Better responsive lower panels */
@media (max-width:820px){
  .zr-section-head{
    align-items:flex-start;
    flex-direction:column;
    padding:16px;
  }
  .zr-section-actions{
    width:100%;
  }
  .zr-section-actions a{
    flex:1;
  }
  .du-matrix{
    grid-template-columns:1fr !important;
  }
  .du-heatmap{
    grid-template-columns:repeat(8,minmax(0,1fr)) !important;
  }
}


/* ZEAM_PAGES_CONSISTENCY_V1
   Unifies Signals, Analytics, Reports, Webhooks, Channels, Telegram Deliveries pages.
   CSS-only. No backend/template logic changes.
*/

/* Page rhythm */
.space-y-5{
  max-width:1540px !important;
  margin-inline:auto !important;
}

.space-y-5 > * + *{
  margin-top:18px !important;
}

/* Generic glass normalization for non-dashboard pages */
.glass,
.chart-card,
.metric-card,
.list-card{
  border:1px solid rgba(255,255,255,.095) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.070), rgba(255,255,255,.026)),
    radial-gradient(circle at 14% 10%, rgba(168,85,247,.12), transparent 30%),
    rgba(8,6,22,.66) !important;
  box-shadow:0 16px 54px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.055) !important;
  backdrop-filter:blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(140%) !important;
}

.chart-card,
.metric-card,
.list-card{
  border-radius:26px !important;
}

.metric-card{
  min-height:150px !important;
  padding:18px !important;
  overflow:hidden !important;
  transition:transform .22s ease, border-color .22s ease, background .22s ease !important;
}

.metric-card:hover,
.chart-card:hover,
.list-card:hover{
  transform:translateY(-2px) !important;
  border-color:rgba(245,158,11,.22) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.082), rgba(255,255,255,.032)),
    radial-gradient(circle at 14% 10%, rgba(168,85,247,.16), transparent 30%),
    rgba(10,7,28,.74) !important;
}

/* Hero sections in pages */
.space-y-5 > section.glass:first-child,
.space-y-5 > .glass:first-child{
  border-radius:34px !important;
  padding:24px !important;
  overflow:hidden !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.082), rgba(255,255,255,.030)),
    radial-gradient(circle at 8% 14%, rgba(168,85,247,.22), transparent 34%),
    radial-gradient(circle at 94% 20%, rgba(245,158,11,.14), transparent 30%),
    rgba(8,6,22,.76) !important;
  box-shadow:0 24px 90px rgba(0,0,0,.34) !important;
}

.space-y-5 h2,
.space-y-5 h3,
.panel-title-lg{
  color:#fff !important;
  letter-spacing:-.025em !important;
}

.space-y-5 h2{
  line-height:1.12 !important;
}

.panel-subtitle,
.text-zeam-muted{
  color:rgba(248,245,255,.58) !important;
}

/* Buttons */
.btn-zeam,
.btn-ghost{
  min-height:40px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  border-radius:999px !important;
  text-decoration:none !important;
  font-weight:900 !important;
  transition:transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease !important;
}

.btn-zeam{
  color:#16051f !important;
  background:linear-gradient(135deg, #fbbf24, #fb923c 48%, #c084fc) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 12px 34px rgba(245,158,11,.16) !important;
}

.btn-ghost{
  color:rgba(255,255,255,.82) !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

.btn-zeam:hover,
.btn-ghost:hover{
  transform:translateY(-1px) !important;
}

.btn-ghost:hover{
  color:#fff !important;
  background:rgba(255,255,255,.085) !important;
  border-color:rgba(245,158,11,.22) !important;
}

/* Badges */
.badge{
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.105) !important;
  background:rgba(255,255,255,.055) !important;
  color:rgba(255,255,255,.78) !important;
  font-weight:900 !important;
}

.badge-orange,
.badge-gold{
  color:#fde68a !important;
  background:rgba(245,158,11,.13) !important;
  border-color:rgba(245,158,11,.25) !important;
}

.badge-purple{
  color:#e9d5ff !important;
  background:rgba(168,85,247,.14) !important;
  border-color:rgba(168,85,247,.25) !important;
}

.badge-blue{
  color:#bae6fd !important;
  background:rgba(14,165,233,.12) !important;
  border-color:rgba(56,189,248,.21) !important;
}

.badge-green{
  color:#a7f3d0 !important;
  background:rgba(16,185,129,.13) !important;
  border-color:rgba(52,211,153,.22) !important;
}

.badge-red{
  color:#fecaca !important;
  background:rgba(244,63,94,.12) !important;
  border-color:rgba(251,113,133,.22) !important;
}

/* Forms */
.input-zeam,
select.input-zeam,
textarea.input-zeam,
input.input-zeam{
  min-height:44px !important;
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(0,0,0,.18) !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.input-zeam:focus,
select.input-zeam:focus,
textarea.input-zeam:focus,
input.input-zeam:focus{
  border-color:rgba(245,158,11,.35) !important;
  background:rgba(0,0,0,.24) !important;
  box-shadow:0 0 0 4px rgba(245,158,11,.08), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.input-zeam option{
  background:#080414 !important;
  color:#fff !important;
}

/* Tables */
.table-shell,
.overflow-x-auto:has(.table-zeam){
  border-radius:24px !important;
  border:1px solid rgba(255,255,255,.075) !important;
  background:rgba(0,0,0,.12) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.table-zeam{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  color:rgba(255,255,255,.82) !important;
}

.table-zeam thead th{
  position:sticky !important;
  top:0 !important;
  z-index:2 !important;
  background:rgba(12,9,30,.94) !important;
  color:rgba(248,245,255,.62) !important;
  font-size:12px !important;
  font-weight:950 !important;
  text-transform:none !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

.table-zeam th,
.table-zeam td{
  padding:13px 14px !important;
  border-bottom:1px solid rgba(255,255,255,.055) !important;
}

.table-zeam tbody tr{
  transition:background .18s ease !important;
}

.table-zeam tbody tr:hover{
  background:rgba(255,255,255,.045) !important;
}

/* Canvas/chart blocks on analytics pages */
canvas{
  max-width:100% !important;
}

.h-\[380px\],
.h-\[420px\],
.h-\[300px\],
.h-\[260px\]{
  border-radius:24px !important;
  border:1px solid rgba(255,255,255,.07) !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(168,85,247,.10), transparent 26%),
    rgba(0,0,0,.13) !important;
  padding:12px !important;
}

/* Inner soft panels */
.glass-soft{
  border:1px solid rgba(255,255,255,.075) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.020)),
    rgba(0,0,0,.12) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
}

/* Page-specific table/filter polish */
#filter-form{
  margin-top:14px !important;
}

.panel-header{
  margin-bottom:16px !important;
}

#signals-table td,
#signals-table th{
  white-space:nowrap !important;
}

/* Simple old pages like signals_center */
.page{
  max-width:1540px !important;
  margin:0 auto !important;
}

.page .grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}

.page .card{
  border-radius:26px !important;
  padding:18px !important;
  border:1px solid rgba(255,255,255,.095) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.024)),
    rgba(8,6,22,.66) !important;
  box-shadow:0 16px 54px rgba(0,0,0,.24) !important;
}

/* Mobile consistency */
@media (max-width:900px){
  .space-y-5 > section.glass:first-child,
  .space-y-5 > .glass:first-child{
    padding:18px !important;
    border-radius:28px !important;
  }

  .metric-card{
    min-height:132px !important;
  }

  .table-zeam th,
  .table-zeam td{
    padding:11px 12px !important;
  }

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


/* ZEAM_UI_FINAL_RESPONSIVE_V1
   Final responsive, overflow and touch polish.
   CSS-only. No backend/template changes.
*/

html,
body{
  max-width:100%;
  overflow-x:hidden !important;
}

.main-shell{
  max-width:100vw !important;
}

img,
svg,
canvas,
video{
  max-width:100%;
}

a,
button,
input,
select,
textarea{
  -webkit-tap-highlight-color:transparent;
}

/* Prevent wide content from breaking mobile */
.du-wrap,
.space-y-5,
.zr-section-head,
.zeam-delivery-health-card{
  max-width:min(1540px, 100%) !important;
}

.table-shell,
.overflow-x-auto,
.du-list,
.du-chart,
.du-bars,
.du-heatmap,
.du-radar,
.du-bubble-board,
.du-matrix,
.du-hbars{
  max-width:100% !important;
}

/* Tablet */
@media (max-width:1100px){
  .app-header{
    border-radius:24px !important;
  }

  .du-hero,
  .space-y-5 > section.glass:first-child,
  .space-y-5 > .glass:first-child,
  .zeam-delivery-health-card{
    border-radius:28px !important;
  }

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

  .du-chart-grid{
    grid-template-columns:1fr !important;
  }

  .du-span-8,
  .du-span-4{
    grid-column:span 1 !important;
  }
}

/* Mobile */
@media (max-width:720px){
  .main-shell{
    padding:10px !important;
  }

  .app-header{
    padding:14px !important;
    margin-bottom:14px !important;
  }

  .du-hero,
  .zeam-delivery-health-card,
  .space-y-5 > section.glass:first-child,
  .space-y-5 > .glass:first-child{
    padding:16px !important;
    border-radius:24px !important;
  }

  .du-hero h1{
    font-size:30px !important;
    line-height:1.18 !important;
    letter-spacing:-.025em !important;
  }

  .du-hero p{
    font-size:13px !important;
    line-height:1.9 !important;
  }

  .du-main-command-strip{
    gap:10px !important;
  }

  .du-main-command-left,
  .du-main-command-right{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:7px !important;
  }

  .du-main-command-btn,
  .du-btn,
  .btn-zeam,
  .btn-ghost,
  .zr-section-actions a{
    min-height:38px !important;
    padding:8px 11px !important;
    font-size:12px !important;
  }

  .du-main-command-search{
    width:100% !important;
  }

  .du-main-command-search input{
    width:100% !important;
    min-height:40px !important;
  }

  .du-kpi-grid,
  .grid.grid-cols-1,
  .grid.grid-cols-2,
  .grid.grid-cols-4,
  .grid.grid-cols-8{
    grid-template-columns:1fr !important;
  }

  .metric-card,
  .du-kpi{
    min-height:120px !important;
  }

  .du-kpi-value,
  .metric-card .text-4xl{
    font-size:30px !important;
  }

  .chart-card,
  .glass,
  .metric-card,
  .list-card,
  .du-card{
    border-radius:22px !important;
  }

  .table-zeam{
    font-size:12px !important;
  }

  .table-zeam th,
  .table-zeam td{
    padding:10px 10px !important;
  }

  .zr-section-head{
    border-radius:22px !important;
    padding:15px !important;
  }

  .zr-section-head h2{
    font-size:19px !important;
  }

  .zr-section-head p{
    font-size:12px !important;
  }
}

/* Small mobile */
@media (max-width:430px){
  .main-shell{
    padding:8px !important;
  }

  .du-hero h1{
    font-size:26px !important;
  }

  .du-pill-row{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
  }

  .du-pill,
  .badge,
  .du-badge,
  .du-main-badge{
    font-size:11px !important;
    padding:6px 9px !important;
  }

  .du-icon{
    width:36px !important;
    height:36px !important;
    border-radius:13px !important;
  }

  .du-panel,
  .chart-card,
  .metric-card,
  .glass{
    padding:14px !important;
  }

  .h-\[380px\],
  .h-\[420px\],
  .h-\[300px\],
  .h-\[260px\]{
    min-height:240px !important;
    height:auto !important;
  }
}

/* ZEAM_DATA_SYNC_CONTRACT_CARD_V1 */
.zr-sync-card{
  position:relative;
  overflow:hidden;
  margin:18px auto 22px;
  padding:22px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 8% 0%, rgba(168,85,247,.24), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(245,158,11,.18), transparent 30%),
    linear-gradient(135deg, rgba(16,10,30,.92), rgba(9,12,24,.88));
  box-shadow:0 24px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
}
.zr-sync-card *{box-sizing:border-box}
.zr-sync-bg{
  position:absolute;
  inset:-40%;
  opacity:.18;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.10) 49% 51%, transparent 52% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(255,255,255,.08) 49% 51%, transparent 52% 100%);
  background-size:54px 54px;
  transform:rotate(8deg);
  pointer-events:none;
}
.zr-sync-head,
.zr-sync-grid,
.zr-sync-map,
.zr-sync-foot{position:relative;z-index:1}
.zr-sync-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.zr-sync-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  color:rgba(250,204,21,.94);
  background:rgba(245,158,11,.10);
  border:1px solid rgba(245,158,11,.22);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.zr-sync-head h2{
  margin:12px 0 8px;
  font-size:clamp(22px,3vw,34px);
  line-height:1.15;
  color:#fff;
}
.zr-sync-head p{
  max-width:880px;
  margin:0;
  color:rgba(226,232,240,.76);
  line-height:1.9;
}
.zr-sync-head b{color:#fff}
.zr-sync-status{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:950;
  color:#fff;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
}
.zr-sync-status span{
  width:10px;height:10px;border-radius:50%;
  background:#f59e0b;
  box-shadow:0 0 18px rgba(245,158,11,.8);
}
.zr-sync-status.is-ok span{
  background:#22c55e;
  box-shadow:0 0 18px rgba(34,197,94,.8);
}
.zr-sync-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}
.zr-sync-metric{
  min-height:118px;
  padding:16px;
  border-radius:22px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.10);
}
.zr-sync-metric small{
  display:block;
  color:rgba(148,163,184,.9);
  font-size:12px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.zr-sync-metric strong{
  display:block;
  margin-top:8px;
  color:#fff;
  font-size:clamp(18px,2.3vw,28px);
  line-height:1.15;
  word-break:break-word;
}
.zr-sync-metric em{
  display:block;
  margin-top:8px;
  color:rgba(226,232,240,.72);
  font-size:12px;
  line-height:1.6;
  font-style:normal;
}
.zr-sync-map{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.zr-sync-map>div{
  padding:16px;
  border-radius:22px;
  background:rgba(2,6,23,.32);
  border:1px solid rgba(255,255,255,.08);
}
.zr-sync-map h3{
  margin:0 0 12px;
  color:#fff;
  font-size:15px;
}
.zr-sync-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.zr-sync-pills span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  color:rgba(226,232,240,.88);
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
}
.zr-sync-pills span.ok{
  border-color:rgba(34,197,94,.22);
  background:rgba(34,197,94,.075);
}
.zr-sync-pills span.bad{
  border-color:rgba(248,113,113,.26);
  background:rgba(248,113,113,.08);
}
.zr-sync-pills b{
  color:#fff;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
}
.zr-sync-foot{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(148,163,184,.86);
  font-size:12px;
}
@media (max-width:1100px){
  .zr-sync-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zr-sync-map{grid-template-columns:1fr}
}
@media (max-width:720px){
  .zr-sync-card{padding:16px;border-radius:22px}
  .zr-sync-head{flex-direction:column}
  .zr-sync-grid{grid-template-columns:1fr}
  .zr-sync-status{width:100%;justify-content:center}
}

/* ZEAM_BUILDER_SYNC_CENTER_V1 */
.zr-builder-center{
  max-width:1440px;
  margin:0 auto;
  padding:22px clamp(14px,2vw,28px) 44px;
}
.zr-builder-hero{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  padding:24px;
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(168,85,247,.28), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(245,158,11,.18), transparent 32%),
    linear-gradient(135deg, rgba(15,12,32,.94), rgba(3,7,18,.92));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 24px 90px rgba(0,0,0,.36);
}
.zr-builder-kicker{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  color:rgba(250,204,21,.96);
  background:rgba(245,158,11,.10);
  border:1px solid rgba(245,158,11,.22);
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
}
.zr-builder-hero h1{
  margin:14px 0 8px;
  color:#fff;
  font-size:clamp(34px,5vw,64px);
  line-height:1;
}
.zr-builder-hero p{
  margin:0;
  max-width:820px;
  color:rgba(226,232,240,.75);
  line-height:1.9;
}
.zr-builder-state{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 14px;
  border-radius:999px;
  color:#fff;
  font-weight:950;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
}
.zr-builder-state span{
  width:10px;height:10px;border-radius:50%;
  background:#f59e0b;
  box-shadow:0 0 18px rgba(245,158,11,.8);
}
.zr-builder-state.is-ok span{
  background:#22c55e;
  box-shadow:0 0 18px rgba(34,197,94,.85);
}
.zr-builder-kpis{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:16px 0;
}
.zr-builder-kpis>div,
.zr-builder-panel{
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.055);
  box-shadow:0 18px 60px rgba(0,0,0,.22);
  backdrop-filter:blur(16px);
}
.zr-builder-kpis>div{
  min-height:116px;
  padding:16px;
}
.zr-builder-kpis small{
  color:rgba(148,163,184,.92);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:900;
}
.zr-builder-kpis strong{
  display:block;
  margin-top:8px;
  color:#fff;
  font-size:clamp(20px,2vw,30px);
  line-height:1.1;
  word-break:break-word;
}
.zr-builder-kpis em{
  display:block;
  margin-top:8px;
  color:rgba(226,232,240,.68);
  font-size:12px;
  font-style:normal;
}
.zr-builder-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.zr-builder-grid.is-wide{
  grid-template-columns:1fr 1fr;
}
.zr-builder-panel{
  padding:16px;
  overflow:hidden;
}
.zr-builder-panel-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:12px;
}
.zr-builder-panel-head h2{
  margin:0;
  color:#fff;
  font-size:17px;
}
.zr-builder-panel-head span{
  display:inline-flex;
  min-width:32px;
  height:28px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:#fff;
  background:rgba(168,85,247,.20);
  border:1px solid rgba(168,85,247,.24);
  font-weight:950;
}
.zr-builder-list{
  display:grid;
  gap:10px;
}
.zr-builder-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:18px;
  background:rgba(2,6,23,.34);
  border:1px solid rgba(255,255,255,.075);
}
.zr-builder-row b{
  display:block;
  color:#fff;
  font-size:14px;
}
.zr-builder-row small{
  display:block;
  margin-top:5px;
  color:rgba(148,163,184,.88);
  font-size:12px;
  word-break:break-word;
}
.zr-builder-row span,
.zr-builder-pills span{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border-radius:999px;
  color:rgba(226,232,240,.90);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:12px;
  font-weight:850;
}
.zr-builder-row span.ok,
.zr-builder-pills span.ok{
  border-color:rgba(34,197,94,.24);
  background:rgba(34,197,94,.08);
}
.zr-builder-row span.warn,
.zr-builder-pills span.warn{
  border-color:rgba(245,158,11,.24);
  background:rgba(245,158,11,.08);
}
.zr-builder-row span.bad,
.zr-builder-pills span.bad{
  border-color:rgba(248,113,113,.24);
  background:rgba(248,113,113,.08);
}
.zr-builder-empty{
  padding:18px;
  border-radius:18px;
  color:rgba(226,232,240,.70);
  background:rgba(255,255,255,.045);
  border:1px dashed rgba(255,255,255,.12);
}
.zr-builder-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.zr-builder-pills b{
  color:#fff;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
}
.zr-builder-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.zr-builder-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
}
@media (max-width:1180px){
  .zr-builder-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .zr-builder-hero{flex-direction:column}
  .zr-builder-grid,
  .zr-builder-grid.is-wide{grid-template-columns:1fr}
}
@media (max-width:680px){
  .zr-builder-center{padding:14px 10px 34px}
  .zr-builder-hero{padding:18px;border-radius:24px}
  .zr-builder-kpis{grid-template-columns:1fr}
  .zr-builder-row{align-items:flex-start;flex-direction:column}
}

/* ZEAM_SERVICE_ROUTES_UI_V1 */
.zr-routes-page{
  max-width:1440px;
  margin:0 auto;
  padding:22px clamp(14px,2vw,28px) 44px;
}
.zr-routes-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding:24px;
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,.22), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(168,85,247,.20), transparent 32%),
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(3,7,18,.92));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 24px 90px rgba(0,0,0,.36);
}
.zr-routes-kicker{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  color:rgba(103,232,249,.96);
  background:rgba(34,211,238,.10);
  border:1px solid rgba(34,211,238,.22);
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
}
.zr-routes-hero h1{
  margin:14px 0 8px;
  color:#fff;
  font-size:clamp(34px,5vw,64px);
  line-height:1;
}
.zr-routes-hero p{
  max-width:850px;
  margin:0;
  color:rgba(226,232,240,.76);
  line-height:1.9;
}
.zr-routes-state{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 14px;
  border-radius:999px;
  color:#fff;
  font-weight:950;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
}
.zr-routes-state span{
  width:10px;height:10px;border-radius:50%;
  background:#f59e0b;
  box-shadow:0 0 18px rgba(245,158,11,.8);
}
.zr-routes-state.is-ok span{
  background:#22c55e;
  box-shadow:0 0 18px rgba(34,197,94,.85);
}
.zr-routes-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:16px 0;
}
.zr-routes-kpis>div,
.zr-routes-panel{
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.055);
  box-shadow:0 18px 60px rgba(0,0,0,.22);
  backdrop-filter:blur(16px);
}
.zr-routes-kpis>div{
  min-height:116px;
  padding:16px;
}
.zr-routes-kpis small{
  color:rgba(148,163,184,.92);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:900;
}
.zr-routes-kpis strong{
  display:block;
  margin-top:8px;
  color:#fff;
  font-size:clamp(24px,3vw,36px);
}
.zr-routes-kpis em{
  display:block;
  margin-top:8px;
  color:rgba(226,232,240,.68);
  font-size:12px;
  font-style:normal;
}
.zr-routes-panel{
  padding:16px;
  margin-top:14px;
}
.zr-routes-panel-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:12px;
}
.zr-routes-panel-head h2{
  margin:0;
  color:#fff;
  font-size:18px;
}
.zr-routes-panel-head span{
  color:rgba(103,232,249,.95);
  font-size:12px;
  font-weight:900;
}
.zr-route-cards{
  display:grid;
  gap:12px;
}
.zr-route-card{
  padding:16px;
  border-radius:22px;
  background:rgba(2,6,23,.40);
  border:1px solid rgba(34,211,238,.15);
}
.zr-route-card-head,
.zr-routes-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.zr-route-card-head b,
.zr-routes-row b{
  display:block;
  color:#fff;
  font-size:15px;
}
.zr-route-card-head small,
.zr-routes-row small{
  display:block;
  margin-top:5px;
  color:rgba(148,163,184,.88);
  font-size:12px;
  word-break:break-word;
}
.zr-route-card-head span,
.zr-routes-row span{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  color:rgba(226,232,240,.90);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:12px;
  font-weight:850;
}
.zr-route-card-head span.ok,
.zr-routes-row span.ok{
  border-color:rgba(34,197,94,.24);
  background:rgba(34,197,94,.08);
}
.zr-routes-row span.bad{
  border-color:rgba(248,113,113,.24);
  background:rgba(248,113,113,.08);
}
.zr-route-flow{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  align-items:center;
  gap:10px;
  margin-top:14px;
}
.zr-route-flow>div:not(.zr-route-arrow){
  min-height:94px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.075);
}
.zr-route-flow small{
  display:block;
  color:rgba(148,163,184,.9);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.zr-route-flow strong{
  display:block;
  margin-top:7px;
  color:#fff;
  font-size:20px;
}
.zr-route-flow em{
  display:block;
  margin-top:5px;
  color:rgba(226,232,240,.65);
  font-size:12px;
  font-style:normal;
}
.zr-route-arrow{
  color:rgba(103,232,249,.9);
  font-size:24px;
  font-weight:950;
}
.zr-route-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.zr-route-meta span{
  padding:6px 9px;
  border-radius:999px;
  color:rgba(226,232,240,.85);
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  font-size:12px;
}
.zr-routes-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.zr-routes-list{
  display:grid;
  gap:10px;
}
.zr-routes-row{
  padding:12px;
  border-radius:18px;
  background:rgba(2,6,23,.34);
  border:1px solid rgba(255,255,255,.075);
}
.zr-routes-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.zr-routes-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
}
.zr-routes-empty{
  padding:18px;
  border-radius:18px;
  color:rgba(226,232,240,.70);
  background:rgba(255,255,255,.045);
  border:1px dashed rgba(255,255,255,.12);
}
@media (max-width:1050px){
  .zr-routes-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zr-route-flow{grid-template-columns:1fr}
  .zr-route-arrow{text-align:center;transform:rotate(90deg)}
}
@media (max-width:800px){
  .zr-routes-hero{flex-direction:column}
  .zr-routes-grid{grid-template-columns:1fr}
}
@media (max-width:620px){
  .zr-routes-page{padding:14px 10px 34px}
  .zr-routes-kpis{grid-template-columns:1fr}
  .zr-route-card-head,.zr-routes-row{align-items:flex-start;flex-direction:column}
}

/* ZEAM_SERVICE_ROUTES_EMBED_V1 */
.zr-routes-embed{
  max-width:1440px;
  margin:18px auto 28px;
  padding:18px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 10% 0%, rgba(34,211,238,.18), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(168,85,247,.18), transparent 32%),
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(2,6,23,.90));
  box-shadow:0 22px 80px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(16px);
}
.zr-routes-embed *{box-sizing:border-box}
.zr-routes-embed-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.zr-routes-embed-kicker{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  color:rgba(103,232,249,.96);
  background:rgba(34,211,238,.10);
  border:1px solid rgba(34,211,238,.20);
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
}
.zr-routes-embed h2{
  margin:10px 0 6px;
  color:#fff;
  font-size:clamp(20px,2.4vw,30px);
  line-height:1.15;
}
.zr-routes-embed p{
  margin:0;
  color:rgba(226,232,240,.72);
  line-height:1.75;
}
.zr-routes-embed-head a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 13px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
}
.zr-routes-embed-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}
.zr-routes-embed-kpis>div{
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
}
.zr-routes-embed-kpis small{
  display:block;
  color:rgba(148,163,184,.92);
  font-size:11px;
  text-transform:uppercase;
  font-weight:900;
}
.zr-routes-embed-kpis strong{
  display:block;
  margin-top:6px;
  color:#fff;
  font-size:24px;
}
.zr-routes-embed-flow{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.zr-routes-embed-card{
  padding:13px;
  border-radius:20px;
  background:rgba(2,6,23,.42);
  border:1px solid rgba(34,211,238,.13);
}
.zr-routes-embed-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.zr-routes-embed-card-top b{
  color:#fff;
  font-size:14px;
}
.zr-routes-embed-card-top span{
  padding:5px 8px;
  border-radius:999px;
  color:rgba(226,232,240,.92);
  font-size:11px;
  font-weight:900;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.zr-routes-embed-card-top span.ok{
  border-color:rgba(34,197,94,.24);
  background:rgba(34,197,94,.08);
}
.zr-routes-embed-chain{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-top:10px;
}
.zr-routes-embed-chain span{
  display:inline-flex;
  padding:7px 9px;
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:850;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.09);
}
.zr-routes-embed-chain em{
  color:rgba(103,232,249,.95);
  font-style:normal;
  font-weight:950;
}
.zr-routes-embed-card>small{
  display:block;
  margin-top:10px;
  color:rgba(148,163,184,.85);
  font-size:11px;
  line-height:1.6;
}
.zr-routes-embed-empty{
  padding:16px;
  border-radius:18px;
  color:rgba(226,232,240,.72);
  background:rgba(255,255,255,.045);
  border:1px dashed rgba(255,255,255,.12);
}
@media (max-width:1080px){
  .zr-routes-embed-flow{grid-template-columns:1fr}
}
@media (max-width:720px){
  .zr-routes-embed{margin:14px 10px 24px;padding:14px;border-radius:22px}
  .zr-routes-embed-head{flex-direction:column}
  .zr-routes-embed-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px){
  .zr-routes-embed-kpis{grid-template-columns:1fr}
}
