html,body{
  margin:0;
  padding:0;
  background:#050b14;
  color:#f5f7fb;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}

body{
  min-height:100vh
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  height:68px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(5,11,20,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #1d2a3b
}

.brand{
  border:0;
  background:none;
  color:#fff;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  text-align:left
}

.brand-mark{
  width:38px;
  height:38px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#f7b91e,#ff8b00);
  color:#07101c;
  font-weight:900;
  font-size:22px
}

.brand strong{
  display:block;
  letter-spacing:.5px
}

.brand small{
  display:block;
  color:#f7b91e;
  font-size:11px;
  margin-top:1px
}

.icon-btn{
  border:1px solid #33465f;
  background:#0b1625;
  color:#d9e4f3;
  border-radius:10px;
  padding:9px 12px;
  font-size:18px;
  cursor:pointer
}

main{
  max-width:980px;
  margin:0 auto;
  padding:20px 16px 100px
}

.hero{
  border:1px solid #263852;
  border-radius:24px;
  padding:28px 22px;
  background:radial-gradient(circle at 90% 10%,rgba(42,128,255,.22),transparent 38%),linear-gradient(145deg,#0a1526,#07101c);
  box-shadow:0 20px 70px rgba(0,0,0,.25)
}

.eyebrow{
  color:#f7b91e;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
  font-size:12px
}

.hero h1{
  font-size:clamp(34px,8vw,58px);
  line-height:1.02;
  margin:10px 0
}

.hero h1 span{
  color:#f7b91e
}

.hero p{
  color:#b7c5d8;
  line-height:1.6;
  max-width:650px
}

.btn{
  border:0;
  border-radius:12px;
  padding:13px 18px;
  font-weight:800;
  cursor:pointer
}

.btn.primary{
  background:linear-gradient(135deg,#ffc52b,#f29b0c);
  color:#07101c
}

.btn.secondary{
  background:#0b1829;
  color:#eaf2ff;
  border:1px solid #36506f
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px
}

.notice{
  margin-top:15px;
  padding:11px 13px;
  border-radius:10px;
  background:#101c2d;
  border:1px solid #2b405c;
  color:#9fb2c9;
  font-size:12px;
  line-height:1.5
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px
}

.card{
  background:#0a1524;
  border:1px solid #22344d;
  border-radius:16px;
  padding:16px
}

.card h3{
  margin:0 0 7px
}

.muted{
  color:#92a5bd
}

.small{
  font-size:12px
}

.stat{
  font-size:28px;
  font-weight:900
}

.accent{
  color:#f7b91e
}

.blue{
  color:#74b8ff
}

.green{
  color:#69df9d
}

.section-title{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin:26px 0 10px
}

.section-title h2{
  margin:0;
  font-size:21px
}

.package{
  display:flex;
  flex-direction:column;
  gap:10px
}

.package .row,
.summary-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center
}

.package .name{
  font-weight:900
}

.package .id{
  font-size:11px;
  color:#f7b91e
}

.money{
  font-weight:900
}

.input,
.select{
  width:100%;
  padding:13px 14px;
  background:#07111f;
  border:1px solid #31465f;
  color:#fff;
  border-radius:10px;
  outline:none
}

.label{
  font-size:12px;
  color:#a9b9cd;
  margin:12px 0 6px;
  display:block
}

.form{
  max-width:560px;
  margin:0 auto
}

.progress{
  height:8px;
  background:#18263a;
  border-radius:99px;
  overflow:hidden
}

.progress>i{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#f7b91e,#62a8ff)
}

.table-wrap{
  overflow:auto;
  border:1px solid #263952;
  border-radius:14px
}

.table{
  width:100%;
  border-collapse:collapse;
  min-width:720px
}

.table th,
.table td{
  padding:11px 10px;
  border-bottom:1px solid #1c2b3e;
  text-align:left;
  font-size:12px
}

.table th{
  color:#f7b91e;
  background:#0d1a2b;
  position:sticky;
  top:0
}

.table tr:last-child td{
  border-bottom:0
}

.pill{
  display:inline-flex;
  padding:4px 8px;
  border-radius:99px;
  font-size:11px;
  background:#11263d;
  color:#9bc9ff
}

.bottom-nav{
  position:fixed;
  z-index:20;
  bottom:0;
  left:0;
  right:0;
  height:70px;
  background:rgba(5,11,20,.97);
  border-top:1px solid #1e2d41;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  padding-bottom:env(safe-area-inset-bottom)
}

.bottom-nav button{
  border:0;
  background:none;
  color:#8092aa;
  font-size:20px;
  cursor:pointer
}

.bottom-nav button span{
  display:block;
  font-size:10px;
  margin-top:3px
}

.bottom-nav button.active{
  color:#f7b91e
}

.back{
  margin-bottom:14px
}

.kpi{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}

.kpi .card{
  padding:13px
}

.toast{
  position:fixed;
  left:50%;
  bottom:84px;
  transform:translate(-50%,20px);
  background:#eaf2ff;
  color:#06101d;
  padding:10px 14px;
  border-radius:10px;
  font-weight:800;
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition:.2s;
  z-index:30
}

.toast.show{
  opacity:1;
  transform:translate(-50%,0)
}

.empty{
  text-align:center;
  padding:40px 20px;
  color:#91a3ba
}

.range{
  width:100%;
  accent-color:#f7b91e
}

.alloc-line{
  display:grid;
  grid-template-columns:1fr 120px;
  gap:10px;
  align-items:center;
  margin:10px 0
}

.danger{
  color:#ff9d9d
}

.success{
  color:#6be2a0
}

.center{
  text-align:center
}

@media(max-width:650px){
  main{
    padding-top:14px
  }

  .grid{
    grid-template-columns:1fr
  }

  .kpi{
    grid-template-columns:1fr 1fr
  }

  .hero{
    padding:22px 18px
  }

  .table th,
  .table td{
    padding:9px 8px
  }

  .alloc-line{
    grid-template-columns:1fr 105px
  }

  .stat{
    font-size:24px
  }
}