/* DANENG Product UI foundation — opt in per product while each phase is approved. */
:root{
  --ui-surface:#0b1728;
  --ui-surface-raised:#0e1d30;
  --ui-border:#203750;
  --ui-border-strong:#2a506e;
  --ui-radius:12px;
  --ui-space:16px;
  --ui-accent:linear-gradient(135deg,#168fe8 0%,#18b6d1 52%,#20c98f 100%);
}

body[data-product-ui="compute"] .view:not(.contribution-view) .view-head{
  min-height:72px;
  align-items:center;
  margin-bottom:14px;
  padding:14px 18px;
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  background:linear-gradient(135deg,rgba(13,31,51,.94),rgba(8,21,35,.94));
  box-shadow:0 16px 42px rgba(0,0,0,.16);
}
body[data-product-ui="compute"] .view:not(.contribution-view) .view-head h1{font-size:24px;line-height:1.2}
body[data-product-ui="compute"] .view:not(.contribution-view) .view-head p{max-width:760px;margin-top:4px;line-height:1.55}
body[data-product-ui="compute"] .panel,
body[data-product-ui="compute"] .table-wrap,
body[data-product-ui="compute"] .stat{
  border-color:var(--ui-border);
  border-radius:var(--ui-radius);
  background:linear-gradient(145deg,var(--ui-surface-raised),var(--ui-surface));
}
body[data-product-ui="compute"] .stat{min-height:116px;padding-top:18px;padding-bottom:16px}
body[data-product-ui="compute"] .stat b{font-size:28px;line-height:1.2}
body[data-product-ui="compute"] .btn{min-height:42px;border-radius:9px}
body[data-product-ui="compute"] .btn-primary,
body[data-product-ui="compute"] .btn-green{background:var(--ui-accent);border-color:#27b9b2;box-shadow:0 10px 28px rgba(24,159,185,.18)}
body[data-product-ui="compute"] .input{min-height:46px;border-color:var(--ui-border-strong);border-radius:9px;background:#0b1829}
body[data-product-ui="compute"] .status{min-height:24px;align-items:center;padding:5px 10px;border:1px solid rgba(255,255,255,.08)}
body[data-product-ui="compute"] th{height:44px;padding-block:11px;background:#091524;color:#8ea0b8;font-weight:850;text-transform:none}
body[data-product-ui="compute"] td{height:52px;padding-block:12px}
body[data-product-ui="compute"] tbody tr{transition:background .16s ease}
body[data-product-ui="compute"] tbody tr:hover{background:rgba(33,159,219,.055)}
body[data-product-ui="compute"] .balance{background:radial-gradient(circle at 12% 0,rgba(45,214,163,.14),transparent 54%)}
body[data-product-ui="compute"] .balance strong{font-size:34px;line-height:1.15}

/* Compute information architecture: compact orientation, data first, action obvious. */
body[data-product-ui="compute"] .view[data-panel="overview"]{display:none}
body[data-product-ui="compute"] .view[data-panel="overview"].active{display:flex;flex-direction:column}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero{order:1;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr)}
body[data-product-ui="compute"] .view[data-panel="overview"] .stats{order:2;margin:12px 0}
body[data-product-ui="compute"] .view[data-panel="overview"] .grid2{order:3}
body[data-product-ui="compute"] .view[data-panel="overview"] #computeInfrastructureLoop{order:4}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-main{padding:22px 26px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-eyebrow{margin-bottom:8px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero h2{font-size:clamp(26px,2vw,34px)}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-main>p{display:-webkit-box;max-width:780px;margin-top:9px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.65}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions{margin-top:16px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .btn-primary{min-width:190px;min-height:46px;font-size:13px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-side{display:grid;align-content:center;padding:18px 20px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-lifecycle{gap:5px;margin:12px 0}
body[data-product-ui="compute"] .view[data-panel="overview"] .stage-icon{width:32px;height:32px;margin-bottom:5px;font-size:10px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-stage b{font-size:10px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-stage span:not(.stage-icon){display:none}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-stage:not(:last-child):after{top:15px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-rule{gap:10px;padding-top:12px}
body[data-product-ui="compute"] .view[data-panel="overview"] .rule-mark{width:34px;height:34px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-rule strong{font-size:18px}
body[data-product-ui="compute"] .view[data-panel="overview"] .hero-rule p{display:none}
body[data-product-ui="compute"] .view[data-panel="overview"] .stat{isolation:isolate;padding:18px 16px 15px;border-color:#24415b;background:linear-gradient(155deg,#10243a 0%,#0b1b2c 58%,#09202a 100%)}
body[data-product-ui="compute"] .view[data-panel="overview"] .stat:after{content:"";position:absolute;z-index:-1;inset:0 auto auto 0;width:100%;height:3px;background:var(--ui-accent);opacity:.88}
body[data-product-ui="compute"] .view[data-panel="overview"] .stat:before{position:static;width:auto;height:auto;display:block;margin-bottom:9px;border:0;background:none!important;color:#62dcbf;font-size:9px;letter-spacing:.12em;text-align:left}
body[data-product-ui="compute"] .view[data-panel="overview"] .stat b{margin-top:5px;color:#fff;font-size:30px}
body[data-product-ui="compute"] .view[data-panel="overview"] .panel-head{min-height:58px;padding:12px 16px}
body[data-product-ui="compute"] .view[data-panel="overview"] .panel-body{padding:16px}
body[data-product-ui="compute"] .view[data-panel="overview"] .step p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}

@media(max-width:1120px){
  body[data-product-ui="compute"] .view:not(.contribution-view) .view-head{min-height:0;padding:13px 14px}
  body[data-product-ui="compute"] .view:not(.contribution-view) .view-head h1{font-size:21px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero{grid-template-columns:1fr}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-side{border-top:1px solid var(--ui-border);border-left:0}
}

@media(max-width:700px){
  body[data-product-ui="compute"] .main{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
  body[data-product-ui="compute"] .view:not(.contribution-view) .view-head{align-items:stretch;gap:10px;margin-bottom:12px}
  body[data-product-ui="compute"] .view:not(.contribution-view) .view-head .btn{width:100%}
  body[data-product-ui="compute"] .stats{grid-template-columns:1fr 1fr;gap:8px}
  body[data-product-ui="compute"] .stat{min-height:104px;padding:14px 12px 12px 54px}
  body[data-product-ui="compute"] .stat:before{left:12px;top:16px;width:32px;height:32px;font-size:8px}
  body[data-product-ui="compute"] .stat span{font-size:10px;line-height:1.35}
  body[data-product-ui="compute"] .stat b{font-size:20px;white-space:normal;overflow-wrap:anywhere}
  body[data-product-ui="compute"] .stat small{font-size:9px;line-height:1.35}
  body[data-product-ui="compute"] .table-wrap{overflow:visible;border:0;background:transparent}
  body[data-product-ui="compute"] .table-wrap table.ui-card-table{min-width:0;border-collapse:separate;border-spacing:0 10px}
  body[data-product-ui="compute"] .ui-card-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}
  body[data-product-ui="compute"] .ui-card-table tbody{display:grid;gap:10px}
  body[data-product-ui="compute"] .ui-card-table tbody tr{display:grid;padding:5px 13px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:linear-gradient(145deg,var(--ui-surface-raised),var(--ui-surface));box-shadow:0 12px 30px rgba(0,0,0,.14)}
  body[data-product-ui="compute"] .ui-card-table tbody td{min-width:0;height:auto;display:grid;grid-template-columns:minmax(92px,.7fr) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid rgba(40,61,86,.75);text-align:end;overflow-wrap:anywhere}
  body[data-product-ui="compute"] .ui-card-table tbody td:last-child{border-bottom:0}
  body[data-product-ui="compute"] .ui-card-table tbody td:before{content:attr(data-label);color:#7f91aa;font-size:10px;font-weight:800;text-align:start}
  body[data-product-ui="compute"] .ui-card-table tbody td[colspan]{display:block;padding:28px 8px;text-align:center}
  body[data-product-ui="compute"] .ui-card-table tbody td[colspan]:before{display:none}
  body[data-product-ui="compute"] .ui-card-table .actions{justify-content:flex-end}
  body[data-product-ui="compute"] .withdraw-layout{gap:10px}
  body[data-product-ui="compute"] .withdraw-form{padding:16px}
  html[dir="rtl"] body[data-product-ui="compute"] .ui-card-table tbody td{text-align:start}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-main{padding:16px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-eyebrow{margin-bottom:6px;font-size:9px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero h2{font-size:25px;line-height:1.12}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-main>p{margin-top:8px;-webkit-line-clamp:3;font-size:11px;line-height:1.55}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .btn-primary:first-child{grid-column:1/-1}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .btn,
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .btn-primary{min-width:0;min-height:44px;padding-inline:10px;font-size:11px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .compute-consult-button{min-width:0;max-width:100%;display:grid!important;grid-template-columns:22px minmax(0,1fr);gap:5px;padding:7px 6px!important;font-size:10px!important;line-height:1.22!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .compute-consult-button:before{width:22px!important;height:22px!important;flex-basis:22px!important;background-size:19px 19px!important}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .compute-consult-button__label{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .compute-consult-overview:after{display:none!important}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-side{padding:12px 14px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-side>small{display:none}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-lifecycle{margin:0 0 10px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stage-icon{width:28px;height:28px;margin-bottom:4px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-stage:not(:last-child):after{top:13px;width:48%}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-rule{display:flex;padding-top:9px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .rule-mark{width:28px;height:28px;font-size:8px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-rule strong{font-size:15px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stats{gap:8px;margin:10px 0}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stat{height:104px;min-height:104px;padding:12px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stat:before{margin-bottom:4px;font-size:8px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stat span{font-size:9px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stat b{font-size:21px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stat small{display:none}
  body[data-product-ui="compute"] .view[data-panel="overview"] .grid2{display:flex;gap:10px;overflow-x:auto;margin-inline:-13px;padding:0 13px 5px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body[data-product-ui="compute"] .view[data-panel="overview"] .grid2::-webkit-scrollbar{display:none}
  body[data-product-ui="compute"] .view[data-panel="overview"] .grid2>.panel{flex:0 0 min(88vw,430px);scroll-snap-align:start}
  body[data-product-ui="compute"] .view[data-panel="overview"] .steps{display:flex;gap:8px;overflow-x:auto;padding:14px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body[data-product-ui="compute"] .view[data-panel="overview"] .steps:before{display:none}
  body[data-product-ui="compute"] .view[data-panel="overview"] .step{flex:0 0 190px;display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;padding:10px;border:1px solid #203b55;border-radius:9px;background:#0a1828;scroll-snap-align:start}
  body[data-product-ui="compute"] .view[data-panel="overview"] .step-num{width:28px;height:28px;margin:0}
  body[data-product-ui="compute"] .view[data-panel="overview"] .step p{margin-top:4px;-webkit-line-clamp:2}
  body[data-product-ui="compute"] .view[data-panel="overview"] #computeInfrastructureLoop{margin-top:12px!important}
}

@media(max-width:360px){
  body[data-product-ui="compute"] .stats{grid-template-columns:1fr}
  body[data-product-ui="compute"] .ui-card-table tbody td{grid-template-columns:minmax(78px,.65fr) minmax(0,1fr)}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-product-ui="compute"] .view[data-panel="overview"] .stat{height:104px;min-height:104px}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .btn:not(.btn-primary){min-height:96px;padding:8px 6px;overflow-wrap:anywhere;line-height:1.2}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .compute-consult-button{min-width:0;gap:4px;padding:8px 5px!important;font-size:9.5px!important;line-height:1.18!important;overflow-wrap:anywhere}
  body[data-product-ui="compute"] .view[data-panel="overview"] .hero-actions .compute-consult-button:before{width:20px!important;height:20px!important;flex:0 0 20px!important;background-size:18px 18px!important}
}

/* SCRM product surface --------------------------------------------------- */
body[data-product-ui="scrm"] .workspace{padding:20px clamp(18px,2vw,32px) 54px}
body[data-product-ui="scrm"] .topbar{min-height:58px;height:auto;gap:16px;margin-bottom:12px;padding:13px 16px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:linear-gradient(145deg,#10243a,#0a1828);box-shadow:var(--ui-shadow)}
body[data-product-ui="scrm"] .crumb b{font-size:22px;line-height:1.2}
body[data-product-ui="scrm"] .hero{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:12px;margin-bottom:12px}
body[data-product-ui="scrm"] .hero-main,
body[data-product-ui="scrm"] .team-card,
body[data-product-ui="scrm"] .stat-card,
body[data-product-ui="scrm"] .panel{border-color:var(--ui-border);border-radius:var(--ui-radius);background:linear-gradient(155deg,#10243a 0%,#0b1b2c 58%,#091724 100%)}
body[data-product-ui="scrm"] .hero-main{min-height:0;padding:22px 24px}
body[data-product-ui="scrm"] .hero-main h1{font-size:28px;line-height:1.18}
body[data-product-ui="scrm"] .hero-main>p{margin-top:7px;font-size:12px;line-height:1.55}
body[data-product-ui="scrm"] .hero-actions{gap:8px;margin-top:15px}
body[data-product-ui="scrm"] .btn{min-height:42px;border-radius:9px}
body[data-product-ui="scrm"] .btn-primary{background:var(--ui-accent);border-color:#27b9b2;box-shadow:0 10px 28px rgba(24,159,185,.18)}
body[data-product-ui="scrm"] .hero-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}
body[data-product-ui="scrm"] .mini{min-width:0;min-height:70px;padding:12px;border-color:var(--ui-border);border-radius:10px;background:#0a1828}
body[data-product-ui="scrm"] .mini b{font-size:18px;overflow-wrap:anywhere}
body[data-product-ui="scrm"] .team-card{min-height:0;justify-content:center;padding:20px;overflow:hidden;border:1px solid var(--ui-border)}
body[data-product-ui="scrm"] .team-card .invite{font-size:30px;line-height:1.15;overflow-wrap:anywhere}
body[data-product-ui="scrm"] .team-card .copy-box{border-radius:9px}
body[data-product-ui="scrm"] .stats{gap:10px;margin-bottom:12px}
body[data-product-ui="scrm"] .stat-card{position:relative;isolation:isolate;height:112px;min-height:112px;padding:16px;overflow:hidden}
body[data-product-ui="scrm"] .stat-card:before{content:"";position:absolute;z-index:-1;inset:0 auto auto 0;width:100%;height:3px;background:var(--ui-accent);opacity:.9}
body[data-product-ui="scrm"] .stat-card b{font-size:25px}
body[data-product-ui="scrm"] .trend{height:30px;margin-top:8px}
body[data-product-ui="scrm"] .grid{gap:12px}
body[data-product-ui="scrm"] .panel{padding:17px;margin-bottom:12px}
body[data-product-ui="scrm"] .panel-head{gap:12px;margin-bottom:12px}
body[data-product-ui="scrm"] .panel-head h2{font-size:16px}
body[data-product-ui="scrm"] table{border:1px solid var(--ui-border);border-radius:10px;overflow:hidden}
body[data-product-ui="scrm"] th{height:42px;background:#091524;color:#8ea0b8}
body[data-product-ui="scrm"] td{height:50px}
body[data-product-ui="scrm"] .meta-row{min-height:44px;border-color:rgba(40,61,86,.78)}

@media(max-width:1100px){
  body[data-product-ui="scrm"] .hero{grid-template-columns:1fr}
  body[data-product-ui="scrm"] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:680px){
  body[data-product-ui="scrm"] .workspace{padding:15px 13px calc(120px + env(safe-area-inset-bottom))}
  body[data-product-ui="scrm"] .topbar{align-items:flex-start;min-height:0;gap:8px;padding:11px 13px}
  body[data-product-ui="scrm"] .crumb{display:grid;gap:2px;min-width:0}
  body[data-product-ui="scrm"] .crumb b{font-size:20px}
  body[data-product-ui="scrm"] .userbar{gap:6px}
  body[data-product-ui="scrm"] .userbar #whoText{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body[data-product-ui="scrm"] .hero{gap:9px}
  body[data-product-ui="scrm"] .hero-main{padding:16px}
  body[data-product-ui="scrm"] .hero-main h1{font-size:25px}
  body[data-product-ui="scrm"] .hero-main>p{font-size:11px;line-height:1.5}
  body[data-product-ui="scrm"] .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}
  body[data-product-ui="scrm"] .hero-actions .btn{min-width:0;min-height:44px;padding:8px;font-size:11px;white-space:normal;overflow-wrap:anywhere}
  body[data-product-ui="scrm"] .hero-metrics{display:flex;gap:7px;overflow-x:auto;margin:12px -16px 0;padding:0 16px 2px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body[data-product-ui="scrm"] .hero-metrics::-webkit-scrollbar{display:none}
  body[data-product-ui="scrm"] .mini{flex:0 0 150px;min-height:66px;scroll-snap-align:start}
  body[data-product-ui="scrm"] .team-card{padding:15px 16px}
  body[data-product-ui="scrm"] .team-card .invite{font-size:26px}
  body[data-product-ui="scrm"] .team-card .muted:nth-of-type(2){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:10px;line-height:1.45}
  body[data-product-ui="scrm"] .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body[data-product-ui="scrm"] .stat-card{height:104px;min-height:104px;padding:12px}
  body[data-product-ui="scrm"] .stat-card b{font-size:20px}
  body[data-product-ui="scrm"] .trend{height:24px;margin-top:5px}
  body[data-product-ui="scrm"] .grid{gap:0}
  body[data-product-ui="scrm"] .panel{padding:15px}
  body[data-product-ui="scrm"] .panel-head{align-items:stretch;flex-direction:column}
  body[data-product-ui="scrm"] .panel-head .btn{width:100%}
  body[data-product-ui="scrm"] table.ui-card-table{min-width:0;border:0;border-collapse:separate;border-spacing:0 10px}
  body[data-product-ui="scrm"] .ui-card-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}
  body[data-product-ui="scrm"] .ui-card-table tbody{display:grid;gap:10px}
  body[data-product-ui="scrm"] .ui-card-table tbody tr{display:grid;padding:5px 13px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:linear-gradient(145deg,var(--ui-surface-raised),var(--ui-surface));box-shadow:0 12px 30px rgba(0,0,0,.14)}
  body[data-product-ui="scrm"] .ui-card-table tbody td{min-width:0;height:auto;display:grid;grid-template-columns:minmax(88px,.68fr) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid rgba(40,61,86,.75);text-align:end;overflow-wrap:anywhere;white-space:normal}
  body[data-product-ui="scrm"] .ui-card-table tbody td:last-child{border-bottom:0}
  body[data-product-ui="scrm"] .ui-card-table tbody td:before{content:attr(data-label);color:#7f91aa;font-size:10px;font-weight:800;text-align:start}
  body[data-product-ui="scrm"] .ui-card-table tbody td[colspan]{display:block;padding:26px 8px;text-align:center}
  body[data-product-ui="scrm"] .ui-card-table tbody td[colspan]:before{display:none}
  html[dir="rtl"] body[data-product-ui="scrm"] .ui-card-table tbody td{text-align:start}
}

@media(max-width:340px){
  body[data-product-ui="scrm"] .workspace{padding-inline:10px}
  body[data-product-ui="scrm"] .topbar{flex-direction:column}
  body[data-product-ui="scrm"] .userbar{width:100%;justify-content:flex-start}
  body[data-product-ui="scrm"] .hero-actions{grid-template-columns:1fr}
}

@media(max-width:360px){
  body[data-product-ui="compute"] .contribution-heading-copy{align-items:stretch;flex-direction:column}
  body[data-product-ui="compute"] .contribution-heading-copy .contribution-scenario-advisor{width:100%}
  body[data-product-ui="compute"] .contribution-heading-copy .compute-consult-button{width:100%;max-width:none;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
  body[data-product-ui="gateway"] .hero-main h1{font-size:22px;word-break:normal;overflow-wrap:break-word;hyphens:auto}
  body[data-product-ui="gateway"] .stat-card{min-width:0}
  body[data-product-ui="gateway"] .stat-card span{min-width:0;gap:4px;flex-wrap:wrap;overflow-wrap:anywhere;line-height:1.25}
  body[data-product-ui="gateway"] .stat-card b{max-width:100%;overflow-wrap:anywhere}
  body[data-product-ui="scrm"] .stat-card{min-width:0}
  body[data-product-ui="scrm"] .stat-card span{min-width:0;gap:4px;flex-wrap:wrap;overflow-wrap:anywhere;line-height:1.25}
  body[data-product-ui="scrm"] .stat-card b{max-width:100%;overflow-wrap:anywhere}
}

@media(prefers-reduced-motion:reduce){
  body[data-product-ui="compute"] *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* Model Gateway phase — same product language, gateway-specific hierarchy. */
body[data-product-ui="gateway"] .workspace{padding:20px clamp(18px,2vw,32px) 54px}
body[data-product-ui="gateway"] .topbar,
body[data-product-ui="gateway"] .wallet-page-head{
  min-height:68px;
  margin-bottom:14px;
  padding:13px 17px;
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  background:linear-gradient(135deg,rgba(13,31,51,.94),rgba(8,21,35,.94));
  box-shadow:0 16px 42px rgba(0,0,0,.16);
}
body[data-product-ui="gateway"] .crumb b,
body[data-product-ui="gateway"] .wallet-page-head h1{font-size:22px;line-height:1.2}
body[data-product-ui="gateway"] .hero{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);border-color:var(--ui-border);border-radius:var(--ui-radius);background:linear-gradient(145deg,#10243a,#091725)}
body[data-product-ui="gateway"] .hero-main{padding:22px 24px}
body[data-product-ui="gateway"] .hero-main h1{font-size:28px;line-height:1.18}
body[data-product-ui="gateway"] .hero-main>p{display:-webkit-box;max-width:760px;margin-top:8px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.6}
body[data-product-ui="gateway"] .hero-actions{margin-top:15px}
body[data-product-ui="gateway"] .hero-actions .btn-primary{min-width:170px;min-height:46px;background:var(--ui-accent)}
body[data-product-ui="gateway"] .hero-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}
body[data-product-ui="gateway"] .mini{min-height:70px;padding:12px;border-color:var(--ui-border);border-radius:10px;background:#0a1828}
body[data-product-ui="gateway"] .mini b{font-size:18px}
body[data-product-ui="gateway"] .wallet-card{display:flex;flex-direction:column;justify-content:center;padding:20px;overflow:hidden;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:radial-gradient(circle at 20% 0,rgba(45,214,163,.16),transparent 58%),#0a1828}
body[data-product-ui="gateway"] .wallet-card .balance{font-size:38px;line-height:1.1}
body[data-product-ui="gateway"] .stats{gap:10px;margin:12px 0}
body[data-product-ui="gateway"] .stat-card,
body[data-product-ui="gateway"] .panel,
body[data-product-ui="gateway"] .overview-tool,
body[data-product-ui="gateway"] .wallet-summary-card,
body[data-product-ui="gateway"] .wallet-recharge,
body[data-product-ui="gateway"] .wallet-packages{position:relative;border-color:var(--ui-border);border-radius:var(--ui-radius);background:linear-gradient(155deg,#10243a 0%,#0b1b2c 58%,#091724 100%)}
body[data-product-ui="gateway"] .stat-card{isolation:isolate;min-height:112px;padding:16px;overflow:hidden}
body[data-product-ui="gateway"] .stat-card:before,
body[data-product-ui="gateway"] .wallet-summary-card:before{content:"";position:absolute;z-index:-1;inset:0 auto auto 0;width:100%;height:3px;background:var(--ui-accent);opacity:.9}
body[data-product-ui="gateway"] .stat-card b{font-size:25px}
body[data-product-ui="gateway"] .trend{height:30px;margin-top:8px}
body[data-product-ui="gateway"] #keys{padding:17px;margin-bottom:12px}
body[data-product-ui="gateway"] .panel-head{margin-bottom:12px}
body[data-product-ui="gateway"] .panel-head h2{font-size:16px}
body[data-product-ui="gateway"] .btn{min-height:42px;border-radius:9px}
body[data-product-ui="gateway"] .btn-primary{background:var(--ui-accent);border-color:#27b9b2}
body[data-product-ui="gateway"] input,
body[data-product-ui="gateway"] select,
body[data-product-ui="gateway"] textarea{border-color:var(--ui-border-strong);border-radius:9px;background:#0b1829}
body[data-product-ui="gateway"] .key-table-wrap{border-color:var(--ui-border);border-radius:10px}
body[data-product-ui="gateway"] .key-table th{height:42px;background:#091524;color:#8ea0b8}
body[data-product-ui="gateway"] .key-table td{height:50px}
body[data-product-ui="gateway"] .pill{min-height:24px;align-items:center;border:1px solid rgba(255,255,255,.08)}
body[data-product-ui="gateway"] .overview-tools{gap:10px}
body[data-product-ui="gateway"] .overview-tool{min-height:138px;padding:15px}
body[data-product-ui="gateway"] .wallet-summary{gap:10px;margin-bottom:12px}
body[data-product-ui="gateway"] #walletView .wallet-page-head{min-height:0;margin-bottom:10px;padding:0;border:0;background:none;box-shadow:none}
body[data-product-ui="gateway"] #walletView .wallet-page-head h1{display:none}
body[data-product-ui="gateway"] #walletView .wallet-page-head p{margin:0;color:#8ea0b8;line-height:1.55}
body[data-product-ui="gateway"] .wallet-summary-card{height:104px;padding:16px}
body[data-product-ui="gateway"] .wallet-layout{gap:12px}
body[data-product-ui="gateway"] .wallet-recharge,
body[data-product-ui="gateway"] .wallet-packages{padding:17px}

@media(max-width:1080px){
  body[data-product-ui="gateway"] .workspace{padding:15px 13px 88px}
  body[data-product-ui="gateway"] .hero{grid-template-columns:1fr}
  body[data-product-ui="gateway"] .wallet-card{border:1px solid var(--ui-border)}
}

@media(max-width:700px){
  body[data-product-ui="gateway"] .topbar{min-height:0;gap:8px;padding:11px 13px}
  body[data-product-ui="gateway"] .crumb b{font-size:20px}
  body[data-product-ui="gateway"] .crumb span{display:none}
  body[data-product-ui="gateway"] .userbar{gap:6px}
  body[data-product-ui="gateway"] .userbar #refreshBtn,
  body[data-product-ui="gateway"] .userbar #logoutBtn{min-height:38px;padding:6px 9px}
  body[data-product-ui="gateway"] .hero-main{padding:16px}
  body[data-product-ui="gateway"] .hero-main h1{font-size:25px}
  body[data-product-ui="gateway"] .hero-main>p{-webkit-line-clamp:3;font-size:11px;line-height:1.5}
  body[data-product-ui="gateway"] .hero-actions{display:grid;grid-template-columns:1.3fr .7fr;gap:7px;margin-top:12px}
  body[data-product-ui="gateway"] .hero-actions .btn,
  body[data-product-ui="gateway"] .hero-actions .btn-primary{min-width:0;min-height:46px;padding:8px;font-size:11px;white-space:normal}
  body[data-product-ui="gateway"] .hero-metrics{display:flex;gap:7px;overflow-x:auto;margin:12px -16px 0;padding:0 16px 2px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body[data-product-ui="gateway"] .hero-metrics::-webkit-scrollbar{display:none}
  body[data-product-ui="gateway"] .mini{flex:0 0 150px;min-height:66px;scroll-snap-align:start}
  body[data-product-ui="gateway"] .wallet-card{padding:14px 16px}
  body[data-product-ui="gateway"] .wallet-card .balance{font-size:32px}
  body[data-product-ui="gateway"] .wallet-card .wallet-note:last-of-type{display:none}
  body[data-product-ui="gateway"] .wallet-card .btn{width:100%;margin-top:10px}
  body[data-product-ui="gateway"] .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body[data-product-ui="gateway"] .stat-card{height:104px;min-height:104px;padding:12px}
  body[data-product-ui="gateway"] .stat-card b{font-size:20px}
  body[data-product-ui="gateway"] .trend{height:24px;margin-top:5px}
  body[data-product-ui="gateway"] .panel-head{align-items:stretch;flex-direction:column}
  body[data-product-ui="gateway"] .panel-head .btn{width:100%}
  body[data-product-ui="gateway"] .key-toolbar{gap:8px}
  body[data-product-ui="gateway"] .key-table-wrap{overflow:visible;border:0;background:transparent}
  body[data-product-ui="gateway"] table.ui-card-table{min-width:0;border-collapse:separate;border-spacing:0 10px}
  body[data-product-ui="gateway"] .ui-card-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}
  body[data-product-ui="gateway"] .ui-card-table tbody{display:grid;gap:10px}
  body[data-product-ui="gateway"] .ui-card-table tbody tr{display:grid;padding:5px 13px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:linear-gradient(145deg,var(--ui-surface-raised),var(--ui-surface));box-shadow:0 12px 30px rgba(0,0,0,.14)}
  body[data-product-ui="gateway"] .ui-card-table tbody td{width:auto!important;min-width:0;height:auto;display:grid;grid-template-columns:minmax(92px,.7fr) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid rgba(40,61,86,.75);text-align:end;overflow-wrap:anywhere;white-space:normal}
  body[data-product-ui="gateway"] .ui-card-table tbody td:last-child{border-bottom:0}
  body[data-product-ui="gateway"] .ui-card-table tbody td:before{content:attr(data-label);color:#7f91aa;font-size:10px;font-weight:800;text-align:start}
  body[data-product-ui="gateway"] .ui-card-table tbody td[colspan]{display:block;padding:28px 8px;text-align:center}
  body[data-product-ui="gateway"] .ui-card-table tbody td[colspan]:before{display:none}
  body[data-product-ui="gateway"] .overview-tools{display:flex;gap:9px;overflow-x:auto;margin-inline:-12px;padding:0 12px 4px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body[data-product-ui="gateway"] .overview-tool{flex:0 0 min(84vw,330px);min-height:132px;scroll-snap-align:start}
  body[data-product-ui="gateway"] .wallet-page-head{min-height:0;padding:13px 14px}
  body[data-product-ui="gateway"] .wallet-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  body[data-product-ui="gateway"] .wallet-summary-card{height:98px;padding:12px 9px}
  body[data-product-ui="gateway"] .wallet-summary-card b{font-size:18px}
  body[data-product-ui="gateway"] .wallet-layout{display:flex;gap:10px;overflow-x:auto;margin-inline:-12px;padding:0 12px 5px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body[data-product-ui="gateway"] .wallet-layout>section{flex:0 0 min(90vw,430px);scroll-snap-align:start}
  body[data-product-ui="gateway"] .wallet-amount{min-height:72px;align-items:flex-start;justify-content:center;flex-direction:column;gap:4px}
  body[data-product-ui="gateway"] .wallet-amount span{line-height:1.25;white-space:normal}
  body[data-product-ui="gateway"] .package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-product-ui="gateway"] .package-card{padding:13px}
  html[dir="rtl"] body[data-product-ui="gateway"] .ui-card-table tbody td{text-align:start}
}

@media(max-width:360px){
  body[data-product-ui="gateway"] .hero-actions{grid-template-columns:1fr}
  body[data-product-ui="gateway"] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-product-ui="gateway"] .wallet-summary{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  body[data-product-ui="gateway"] .wallet-summary-card{flex:0 0 132px;scroll-snap-align:start}
  body[data-product-ui="gateway"] .hero-main h1{font-size:22px;word-break:normal;overflow-wrap:break-word;hyphens:auto}
  body[data-product-ui="gateway"] .stat-card{min-width:0}
  body[data-product-ui="gateway"] .stat-card span{min-width:0;gap:4px;flex-wrap:wrap;overflow-wrap:anywhere;line-height:1.25}
  body[data-product-ui="gateway"] .stat-card b{max-width:100%;overflow-wrap:anywhere}
}

/* Unified DANENG product theme ------------------------------------------------
   Compute is the visual source of truth for Compute Pool, Model Gateway and
   SCRM. This layer changes presentation only; product views and behavior stay
   owned by their existing pages. */
body[data-product-ui]{
  --bg:#000;
  --panel:#0a0a0a;
  --panel-2:#101010;
  --line:rgba(255,255,255,.18);
  --line-2:rgba(255,255,255,.12);
  --text:#fff;
  --muted:#b7b7b7;
  --soft:#fff;
  --blue:#2aa8ff;
  --green:#2aa8ff;
  --shadow:none;
  --ui-surface:#0a0a0a;
  --ui-surface-raised:#101010;
  --ui-border:rgba(255,255,255,.18);
  --ui-border-strong:rgba(255,255,255,.26);
  --ui-accent:#2aa8ff;
  background:#000!important;
  background-image:none!important;
  color:#fff
}
body[data-product-ui]:before{display:none!important;background:none!important}
body[data-product-ui] .app{background:#000!important;background-image:none!important}
body[data-product-ui] .app-top,
body[data-product-ui] .product-header{
  background:#080808!important;
  background-image:none!important;
  border-bottom-color:rgba(255,255,255,.26)!important;
  box-shadow:none!important;
  backdrop-filter:none!important
}
body[data-product-ui] .side{
  background:#080808!important;
  background-image:none!important;
  border-right-color:rgba(255,255,255,.26)!important;
  box-shadow:none!important;
  backdrop-filter:none!important
}
body[data-product-ui] .workspace{background:#000!important;background-image:none!important}
body[data-product-ui] .topbar,
body[data-product-ui] .wallet-page-head,
body[data-product-ui] .hero,
body[data-product-ui] .hero-main,
body[data-product-ui] .wallet-card,
body[data-product-ui] .team-card,
body[data-product-ui] .stat-card,
body[data-product-ui] .panel,
body[data-product-ui] .overview-tool,
body[data-product-ui] .wallet-summary-card,
body[data-product-ui] .wallet-recharge,
body[data-product-ui] .wallet-packages,
body[data-product-ui] .side-card,
body[data-product-ui] .login-card,
body[data-product-ui] .modal,
body[data-product-ui] .data-modal,
body[data-product-ui] .key-modal,
body[data-product-ui] .order-box,
body[data-product-ui] .doc-guide,
body[data-product-ui] .package-card,
body[data-product-ui] .port-package{
  background:#0a0a0a!important;
  background-image:none!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important
}
body[data-product-ui] .topbar,
body[data-product-ui] .wallet-page-head,
body[data-product-ui] .panel-head,
body[data-product-ui] .wallet-section-head,
body[data-product-ui] .data-modal-head,
body[data-product-ui] .modal-head{
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important
}
body[data-product-ui] .mini,
body[data-product-ui] .meta-row,
body[data-product-ui] .copy-box,
body[data-product-ui] .side-copy,
body[data-product-ui] .model-option,
body[data-product-ui] .method-choice,
body[data-product-ui] .amount-choice,
body[data-product-ui] .wallet-amount,
body[data-product-ui] .docs-code,
body[data-product-ui] .doc-step{
  background:#101010!important;
  background-image:none!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important
}
body[data-product-ui] .top-tab,
body[data-product-ui] .product-nav-link,
body[data-product-ui] .nav-item,
body[data-product-ui] .rail-action{color:#b7b7b7!important}
body[data-product-ui] .top-tab.active,
body[data-product-ui] .product-nav-link.active,
body[data-product-ui] .nav-item.active,
body[data-product-ui] .nav-item:hover,
body[data-product-ui] .rail-action:hover{
  background:#101010!important;
  background-image:none!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:none!important
}
body[data-product-ui] .nav-item.active .nav-icon,
body[data-product-ui] .top-tab.active:before,
body[data-product-ui] .product-nav-link.active:before,
body[data-product-ui] .status-dot{color:#2aa8ff!important;background:#2aa8ff!important}
body[data-product-ui] .btn{
  background:#101010!important;
  background-image:none!important;
  border-color:rgba(255,255,255,.18)!important;
  color:#fff!important;
  box-shadow:none!important
}
body[data-product-ui] .btn:hover{border-color:#2aa8ff!important;background:#141414!important;transform:none!important}
body[data-product-ui] .btn-primary,
body[data-product-ui] .btn.active{
  background:#2aa8ff!important;
  background-image:none!important;
  border-color:#2aa8ff!important;
  color:#fff!important;
  box-shadow:none!important
}
body[data-product-ui] input,
body[data-product-ui] select,
body[data-product-ui] textarea{
  background:#101010!important;
  background-image:none!important;
  border-color:rgba(255,255,255,.22)!important;
  color:#fff!important;
  box-shadow:none!important
}
body[data-product-ui] input:focus,
body[data-product-ui] select:focus,
body[data-product-ui] textarea:focus{
  border-color:#2aa8ff!important;
  outline:2px solid rgba(42,168,255,.32)!important;
  outline-offset:1px!important
}
body[data-product-ui] table,
body[data-product-ui] .key-table-wrap{border-color:rgba(255,255,255,.18)!important;background:#0a0a0a!important}
body[data-product-ui] th{background:#101010!important;color:#b7b7b7!important;border-color:rgba(255,255,255,.18)!important}
body[data-product-ui] td{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}
body[data-product-ui] tbody tr:hover{background:#101010!important}
body[data-product-ui] .muted,
body[data-product-ui] .hero-main>p,
body[data-product-ui] .panel-head p,
body[data-product-ui] .wallet-note,
body[data-product-ui] .login-foot{color:#b7b7b7!important}
body[data-product-ui] .pill,
body[data-product-ui] .package-badge{
  background:#101010!important;
  background-image:none!important;
  border-color:rgba(255,255,255,.18)!important;
  color:#2aa8ff!important;
  box-shadow:none!important
}
body[data-product-ui] .status-ok{
  background:#102019!important;
  background-image:none!important;
  border-color:#24543d!important;
  color:#8ee0b3!important;
  box-shadow:none!important
}
body[data-product-ui] .status-warn{
  background:#211a0c!important;
  background-image:none!important;
  border-color:#53411f!important;
  color:#e4c77d!important;
  box-shadow:none!important
}
body[data-product-ui] .btn.danger{
  background:#171012!important;
  border-color:#6c2b38!important;
  color:#ff8a95!important
}
body[data-product-ui] .stat-card:before,
body[data-product-ui] .wallet-summary-card:before{background:#2aa8ff!important}
body[data-product-ui] .hero-main:after{display:none!important;background:none!important}
body[data-product-ui] .trend{filter:none!important}
body[data-product-ui] .trend path{stroke:#2aa8ff!important}

@media(max-width:1080px){
  body[data-product-ui] .side{border-right:0!important;border-bottom-color:rgba(255,255,255,.26)!important}
}

/* DANENG Center -------------------------------------------------------------
   The public learning surface consumes the same product tokens and controls.
   Keep palette, radii, controls and container rules here with the other
   products so global theme changes remain synchronized. */
body[data-product-ui="center"]{
  --product-header-height:88px;
  --product-container:1280px;
  --product-radius:12px;
  --product-control-height:42px;
  margin:0;
  min-width:0;
  overflow-x:hidden;
  font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;
  line-height:1.5
}
body[data-product-ui="center"] *{box-sizing:border-box}
body[data-product-ui="center"] a{color:inherit}
body[data-product-ui="center"] .wrap{width:min(var(--product-container),calc(100% - 48px));margin-inline:auto}
body[data-product-ui="center"]>.center-header{position:sticky;z-index:70;top:0;height:var(--product-header-height);border-bottom:1px solid var(--ui-border-strong);background:#080808}
body[data-product-ui="center"]>.center-header>.wrap{width:min(1480px,calc(100% - 48px))}
body[data-product-ui="center"] .center-topbar{display:grid;height:72px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:0 18px}
body[data-product-ui="center"] .brand{display:flex;min-width:max-content;align-items:center;gap:10px;text-decoration:none}
body[data-product-ui="center"] .brand img{width:38px;height:38px;border-radius:10px;object-fit:contain}
body[data-product-ui="center"] .brand-copy{display:grid;gap:1px}
body[data-product-ui="center"] .brand b{color:#fff;font-size:18px;letter-spacing:.08em}
body[data-product-ui="center"] .brand span{color:#c7c7c7;font-size:11px;font-weight:650}
body[data-product-ui="center"] .main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(24px,3vw,52px);margin:0}
body[data-product-ui="center"] .main-nav a{position:relative;padding:24px 0;color:#e6e6e6;font-size:15px;font-weight:800;text-decoration:none}
body[data-product-ui="center"] .main-nav a:hover,body[data-product-ui="center"] .main-nav a.active{color:#fff}
body[data-product-ui="center"] .main-nav a.active:after{position:absolute;right:0;bottom:9px;left:0;height:3px;border-radius:99px;background:#fff;content:""}
body[data-product-ui="center"] .header-actions{display:flex;align-items:center;gap:10px}
body[data-product-ui="center"] .mobile-nav-trigger{display:none;width:42px;height:42px;place-items:center;border:1px solid var(--ui-border);border-radius:9px;background:#101010;color:#fff;font-size:22px;cursor:pointer}
body[data-product-ui="center"] .mobile-nav-trigger svg,body[data-product-ui="center"] .nav-icon svg,body[data-product-ui="center"] .nav-user svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body[data-product-ui="center"] .nav-icon,body[data-product-ui="center"] .nav-user{display:grid;width:38px;height:38px;place-items:center;color:#fff;text-decoration:none}
body[data-product-ui="center"] .language-menu{position:relative;display:grid;place-items:center}
body[data-product-ui="center"] .language-trigger{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--ui-border);border-radius:9px;background:#101010;color:#fff;cursor:pointer}
body[data-product-ui="center"] .language-trigger svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
body[data-product-ui="center"] .language-list{position:absolute;z-index:90;top:calc(100% + 8px);right:0;width:168px;max-height:min(420px,calc(100vh - 92px));overflow-y:auto;padding:8px;border:1px solid var(--ui-border);border-radius:10px;background:#101010;opacity:0;visibility:hidden;transform:translateY(-6px);transition:.16s ease}
body[data-product-ui="center"] .language-menu.is-open .language-list,body[data-product-ui="center"] .language-menu:focus-within .language-list{opacity:1;visibility:visible;transform:none}
body[data-product-ui="center"] .language-list a{display:flex;min-height:42px;align-items:center;justify-content:center;border-radius:7px;color:#b7b7b7;font-size:12px;font-weight:800;text-decoration:none}
body[data-product-ui="center"] .language-list a:hover,body[data-product-ui="center"] .language-list a[aria-current="true"]{background:#181818;color:#fff}
body[data-product-ui="center"] .center-contact-shortcut,body[data-product-ui="center"] .center-language-shortcut{position:fixed;z-index:2147483000;bottom:max(18px,env(safe-area-inset-bottom));font:800 13px/1.2 Inter,"Segoe UI",sans-serif}
body[data-product-ui="center"] .center-contact-shortcut{left:max(18px,env(safe-area-inset-left));display:flex;min-height:44px;align-items:center;gap:8px;border:1px solid var(--ui-border);border-radius:999px;padding:9px 14px;background:#101010;color:#fff;cursor:pointer}
body[data-product-ui="center"] .center-contact-shortcut:hover,body[data-product-ui="center"] .center-language-shortcut>button:hover{border-color:var(--blue);color:#fff}
body[data-product-ui="center"] .center-contact-shortcut svg,body[data-product-ui="center"] .center-language-shortcut svg{width:19px;height:19px;fill:none;stroke:var(--blue);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body[data-product-ui="center"] .center-language-shortcut{right:max(18px,env(safe-area-inset-right));color:#fff}
body[data-product-ui="center"] .center-language-shortcut>button{display:flex;min-width:118px;min-height:44px;align-items:center;justify-content:center;gap:8px;border:1px solid var(--ui-border);border-radius:999px;padding:9px 14px;background:#101010;color:inherit;font:inherit;cursor:pointer}
body[data-product-ui="center"] .center-language-shortcut .dn-i18n-list{position:absolute;right:0;bottom:calc(100% + 9px);display:none;width:190px;max-height:min(420px,70vh);overflow:auto;padding:8px;border:1px solid var(--ui-border);border-radius:12px;background:#101010}
body[data-product-ui="center"] .center-language-shortcut.is-open .dn-i18n-list{display:grid}
body[data-product-ui="center"] .center-language-shortcut .dn-i18n-list a{display:flex;min-height:40px;align-items:center;justify-content:center;border-radius:8px;color:#b7b7b7;text-decoration:none}
body[data-product-ui="center"] .center-language-shortcut .dn-i18n-list a:hover,body[data-product-ui="center"] .center-language-shortcut .dn-i18n-list a[aria-current="true"]{background:#181818;color:#fff}
body[data-product-ui="center"] #dnSupportRoot{bottom:18px}
body[data-product-ui="center"] #dnSupportButton{display:none}
body[data-product-ui="center"] main{min-height:80vh;background:#000}
body[data-product-ui="center"] .hero{padding:54px 0 30px;border:0!important;background:#000!important}
body[data-product-ui="center"] .eyebrow{color:var(--blue);font-size:12px;font-weight:850;letter-spacing:.1em}
body[data-product-ui="center"] .hero h1{max-width:900px;margin:12px 0 8px;color:#fff;font-size:clamp(38px,5vw,62px);font-weight:900;line-height:1.05;letter-spacing:-.04em}
body[data-product-ui="center"] .hero p{max-width:760px;margin:0;color:#d0d0d0;font-size:clamp(16px,1.7vw,20px);line-height:1.6}
body[data-product-ui="center"] .power-chain{display:flex;align-items:center;gap:12px;margin-top:20px;color:#fff;font-size:14px;font-weight:780}
body[data-product-ui="center"] .power-chain i{color:#777;font-style:normal}
body[data-product-ui="center"] .center-tabs-shell{position:sticky;z-index:60;top:var(--product-header-height);padding:10px 0;border-bottom:1px solid var(--line-2);background:#000}
body[data-product-ui="center"] .tabs{display:grid;width:min(420px,100%);grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid var(--ui-border);border-radius:10px;background:#0a0a0a}
body[data-product-ui="center"] .tab{min-height:var(--product-control-height);border:0;border-radius:7px;background:#101010;color:#929292;font:800 13px inherit;cursor:pointer}
body[data-product-ui="center"] .tab:hover{color:#fff}
body[data-product-ui="center"] .tab[aria-selected="true"]{background:var(--blue);color:#fff}
body[data-product-ui="center"] .intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 36px}
body[data-product-ui="center"] .intro{min-height:178px;padding:24px;border:1px solid var(--ui-border);border-radius:var(--product-radius);background:var(--panel)}
body[data-product-ui="center"] .intro .num{color:var(--blue);font-size:11px;font-weight:850;letter-spacing:.1em}
body[data-product-ui="center"] .intro h2{margin:30px 0 7px;color:#fff;font-size:24px;line-height:1.25}
body[data-product-ui="center"] .intro p{max-width:520px;margin:0;color:var(--muted);font-size:13px;line-height:1.65}
body[data-product-ui="center"] .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:34px 0 16px}
body[data-product-ui="center"] .section-head h2{margin:0;color:#fff;font-size:26px}
body[data-product-ui="center"] .section-head p{max-width:620px;margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
body[data-product-ui="center"] .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-bottom:54px;align-items:stretch}
body[data-product-ui="center"] .card{position:relative;display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--ui-border);border-radius:var(--product-radius);background:var(--panel)}
body[data-product-ui="center"] .poster{position:relative;display:grid;aspect-ratio:16/9;place-items:center;overflow:hidden;border-bottom:1px solid var(--ui-border);background:#050505}
body[data-product-ui="center"] .poster img{width:100%;height:100%;object-fit:cover}
body[data-product-ui="center"] .play{position:absolute;z-index:2;display:grid;width:54px;height:54px;place-items:center;border:1px solid var(--blue);border-radius:50%;background:var(--blue);color:#fff;cursor:pointer}
body[data-product-ui="center"] .play svg{width:21px;fill:currentColor}
body[data-product-ui="center"] .play:disabled{border-color:#4b4b4b;background:#242424;color:#777;cursor:not-allowed}
body[data-product-ui="center"] .card-body{display:flex;min-height:250px;flex:1;flex-direction:column;padding:20px}
body[data-product-ui="center"] .meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#7f7f7f;font-size:11px;font-weight:750}
body[data-product-ui="center"] .card h3{margin:12px 0 5px;color:#fff;font-size:22px;font-weight:850;line-height:1.25}
body[data-product-ui="center"] .card h4{margin:0;color:#d0d0d0;font-size:13px;font-weight:650;line-height:1.5}
body[data-product-ui="center"] .card p{margin:12px 0 18px;color:var(--muted);font-size:13px;line-height:1.65}
body[data-product-ui="center"] .card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
body[data-product-ui="center"] .btn{display:inline-flex;min-height:var(--product-control-height);align-items:center;justify-content:center;border:1px solid var(--ui-border);border-radius:9px;padding:8px 14px;background:#101010;color:#fff;font:780 13px inherit;text-decoration:none;cursor:pointer}
body[data-product-ui="center"] .btn.primary{border-color:var(--blue)!important;background:var(--blue)!important;color:#fff!important}
body[data-product-ui="center"] .btn:focus-visible,body[data-product-ui="center"] .tab:focus-visible,body[data-product-ui="center"] .play:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
body[data-product-ui="center"] .btn:disabled{border-color:#292929!important;background:#151515!important;color:#666!important;cursor:not-allowed}
body[data-product-ui="center"] .empty{grid-column:1/-1;padding:44px;border:1px dashed var(--ui-border);border-radius:var(--product-radius);background:#0a0a0a;color:#868686;text-align:center}
body[data-product-ui="center"] .tutorial-text{display:grid;gap:14px;margin:0 0 42px}
body[data-product-ui="center"] .tutorial-guide,body[data-product-ui="center"] .current-info{border:1px solid var(--ui-border);border-radius:var(--product-radius);padding:24px;background:var(--panel);scroll-margin-top:150px}
body[data-product-ui="center"] .tutorial-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
body[data-product-ui="center"] .tutorial-guide h3,body[data-product-ui="center"] .current-info h3{margin:0;color:#fff;font-size:23px}
body[data-product-ui="center"] .guide-summary,body[data-product-ui="center"] .current-info>p{max-width:850px;margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
body[data-product-ui="center"] .tutorial-status{flex:0 0 auto;color:#818181;font-size:11px;font-weight:800}
body[data-product-ui="center"] .guide-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;margin-top:20px}
body[data-product-ui="center"] .guide-block{min-width:0;padding:17px;border:1px solid var(--line-2);border-radius:10px;background:var(--panel-2)}
body[data-product-ui="center"] .guide-block h4{margin:0 0 10px;color:#fff;font-size:14px}
body[data-product-ui="center"] .guide-block ol,body[data-product-ui="center"] .guide-block ul{margin:0;padding-inline-start:21px;color:#c7c7c7;font-size:13px;line-height:1.75}
body[data-product-ui="center"] .guide-block li::marker{color:var(--blue);font-weight:800}
body[data-product-ui="center"] .guide-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
body[data-product-ui="center"] .learning-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 42px}
body[data-product-ui="center"] .learning-path{padding:18px;border:1px solid var(--ui-border);border-radius:var(--product-radius);background:var(--panel)}
body[data-product-ui="center"] .learning-path b{display:block;margin-bottom:6px;color:#fff}
body[data-product-ui="center"] .learning-path span{color:var(--muted);font-size:12px;line-height:1.6}
body[data-product-ui="center"] #infrastructureLoopLesson,body[data-product-ui="center"] #centerDemandWorkloadFlow{margin-bottom:32px!important}
body[data-product-ui="center"] .current-info{margin:0 0 32px}
body[data-product-ui="center"] .current-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
body[data-product-ui="center"] .current-item{min-width:0;padding:15px;border:1px solid var(--line-2);border-radius:10px;background:var(--panel-2)}
body[data-product-ui="center"] .current-item span{display:block;color:#838383;font-size:11px}
body[data-product-ui="center"] .current-item b{display:block;margin-top:6px;color:#fff;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
body[data-product-ui="center"] .current-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
body[data-product-ui="center"] .timeline{position:relative;display:grid;gap:14px;padding:4px 0 64px 28px}
body[data-product-ui="center"] .timeline:before{position:absolute;top:14px;bottom:80px;left:8px;width:1px;background:var(--blue);content:""}
body[data-product-ui="center"] .timeline .card:before{position:absolute;top:28px;left:-25px;width:8px;height:8px;border:2px solid #000;border-radius:50%;background:var(--blue);content:""}
body[data-product-ui="center"] .center-support{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 96px;padding:24px;border:1px solid var(--ui-border);border-radius:var(--product-radius);background:var(--panel)}
body[data-product-ui="center"] .center-support h2{margin:0 0 6px;color:#fff;font-size:22px}
body[data-product-ui="center"] .center-support p{margin:0;color:var(--muted);font-size:13px}
body[data-product-ui="center"] dialog{width:min(980px,calc(100% - 24px));max-height:94vh;padding:0;border:1px solid var(--ui-border);border-radius:var(--product-radius);background:#050505;color:#fff}
body[data-product-ui="center"] dialog::backdrop{background:rgba(0,0,0,.84)}
body[data-product-ui="center"] .player-head,body[data-product-ui="center"] .player-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid var(--ui-border)}
body[data-product-ui="center"] .player-head h2{margin:0;font-size:17px}
body[data-product-ui="center"] .player-foot{border-top:1px solid var(--ui-border);border-bottom:0;color:var(--muted);font-size:13px}
body[data-product-ui="center"] .close{border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}
body[data-product-ui="center"] .video-shell,body[data-product-ui="center"] .video-shell video{display:block;width:100%;max-width:100%;background:#000}
body[data-product-ui="center"] .video-shell video{max-height:68vh}
body[data-product-ui="center"] .player-error{padding:40px;color:#ff9ba5;text-align:center}

@media(max-width:1024px){
  body[data-product-ui="center"] .wrap{width:min(var(--product-container),calc(100% - 32px))}
  body[data-product-ui="center"] .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-product-ui="center"] .guide-grid,body[data-product-ui="center"] .current-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  body[data-product-ui="center"]{--product-header-height:64px}
  body[data-product-ui="center"] .wrap{width:calc(100% - 24px)}
  body[data-product-ui="center"]>.center-header{height:var(--product-header-height)}
  body[data-product-ui="center"]>.center-header>.wrap{width:100%}
  body[data-product-ui="center"] .center-topbar{height:var(--product-header-height);grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:0 12px}
  body[data-product-ui="center"] .brand span{display:none}
  body[data-product-ui="center"] .main-nav{position:fixed;z-index:69;top:var(--product-header-height);right:0;left:0;display:none;grid-template-columns:1fr 1fr;gap:6px;padding:10px 12px;border-bottom:1px solid var(--ui-border-strong);background:#080808}
  body[data-product-ui="center"] .center-header.nav-open .main-nav{display:grid}
  body[data-product-ui="center"] .main-nav a{display:flex;min-height:42px;align-items:center;justify-content:center;border:1px solid var(--ui-border);border-radius:9px;background:#101010;font-size:12px}
  body[data-product-ui="center"] .main-nav a.active:after{display:none}
  body[data-product-ui="center"] .mobile-nav-trigger{display:grid}
  body[data-product-ui="center"] .nav-icon{display:none}
  body[data-product-ui="center"] .language-trigger{width:40px;height:40px}
  body[data-product-ui="center"] .hero{padding:34px 0 22px}
  body[data-product-ui="center"] .hero h1{font-size:clamp(34px,11vw,48px);overflow-wrap:anywhere}
  body[data-product-ui="center"] .hero p{font-size:15px}
  body[data-product-ui="center"] .power-chain{gap:8px;font-size:13px}
  body[data-product-ui="center"] .center-tabs-shell{padding:8px 0}
  body[data-product-ui="center"] .tabs{width:100%}
  body[data-product-ui="center"] .intro-grid,body[data-product-ui="center"] .cards,body[data-product-ui="center"] .guide-grid,body[data-product-ui="center"] .learning-paths,body[data-product-ui="center"] .current-grid{grid-template-columns:1fr}
  body[data-product-ui="center"] .intro{min-height:0;padding:20px}
  body[data-product-ui="center"] .intro h2{margin-top:20px;font-size:21px}
  body[data-product-ui="center"] .section-head{display:block;margin-top:28px}
  body[data-product-ui="center"] .section-head p{margin-top:7px}
  body[data-product-ui="center"] .cards{gap:12px;padding-bottom:40px}
  body[data-product-ui="center"] .card-body{min-height:0;padding:17px}
  body[data-product-ui="center"] .card h3{font-size:20px}
  body[data-product-ui="center"] .card-actions{display:grid;grid-template-columns:1fr 1fr}
  body[data-product-ui="center"] .card-actions .primary{grid-column:1/-1}
  body[data-product-ui="center"] .btn{min-height:44px;white-space:normal}
  body[data-product-ui="center"] .tutorial-guide,body[data-product-ui="center"] .current-info{padding:19px}
  body[data-product-ui="center"] .tutorial-guide-head,body[data-product-ui="center"] .center-support{display:block}
  body[data-product-ui="center"] .tutorial-status{display:block;margin-top:10px}
  body[data-product-ui="center"] .guide-block{padding:15px}
  body[data-product-ui="center"] .center-support .btn{width:100%;margin-top:16px}
  body[data-product-ui="center"] .player-foot{display:block}
  body[data-product-ui="center"] .player-foot .btn{width:100%;margin-top:10px}
  body[data-product-ui="center"] main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  body[data-product-ui="center"] .center-contact-shortcut,body[data-product-ui="center"] .center-language-shortcut{bottom:calc(78px + env(safe-area-inset-bottom))}
  body[data-product-ui="center"] .center-contact-shortcut{left:12px}
  body[data-product-ui="center"] .center-language-shortcut{right:12px}
  body[data-product-ui="center"] .center-contact-shortcut span,body[data-product-ui="center"] .center-language-label{display:none}
  body[data-product-ui="center"] .center-contact-shortcut,body[data-product-ui="center"] .center-language-shortcut>button{width:44px;min-width:44px;padding:0}
}
@media(max-width:390px){
  body[data-product-ui="center"] .brand img{width:30px;height:30px}
  body[data-product-ui="center"] .brand b{font-size:13px}
  body[data-product-ui="center"] .center-topbar{gap:8px}
  body[data-product-ui="center"] .header-actions{margin-inline-start:auto;gap:6px}
  body[data-product-ui="center"] .mobile-nav-trigger,body[data-product-ui="center"] .language-trigger{width:38px;height:38px}
  body[data-product-ui="center"] .card-actions{grid-template-columns:1fr}
  body[data-product-ui="center"] .card-actions .primary{grid-column:auto}
}
html[dir="rtl"] body[data-product-ui="center"] .language-list{right:auto;left:0}
html[dir="rtl"] body[data-product-ui="center"] .center-contact-shortcut{right:max(18px,env(safe-area-inset-right));left:auto}
html[dir="rtl"] body[data-product-ui="center"] .center-language-shortcut{right:auto;left:max(18px,env(safe-area-inset-left))}
html[dir="rtl"] body[data-product-ui="center"] .timeline{padding-right:28px;padding-left:0}
html[dir="rtl"] body[data-product-ui="center"] .timeline:before{right:8px;left:auto}
html[dir="rtl"] body[data-product-ui="center"] .timeline .card:before{right:-25px;left:auto}
