:root{
  --orange:#ff6a00;
  --dark:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --bg:#f7f7f5;
  --card:#ffffff;
  --ok:#16a34a;
  --soft:#f3f4f6;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--dark);
}

a{
  color:inherit;
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.header{
  padding:22px 20px;
  border-bottom:1px solid rgba(0,0,0,.06);
  background:#fff;
}

.header-inner{
  max-width:980px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  max-height:34px;
  width:auto;
}

.brand-title{
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
}

.container{
  width:100%;
  max-width:980px;
  margin:0 auto;
  padding:34px 20px 54px;
}

.hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:stretch;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:0 20px 50px rgba(17,24,39,.06);
}

.hero-text{
  padding:34px;
}

.eyebrow{
  color:var(--orange);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:14px;
}

h1{
  margin:0;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.04em;
}

.lead{
  margin:18px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.6;
}

.form-card{
  padding:28px;
}

.form-card h2{
  margin:0 0 8px;
  font-size:22px;
  letter-spacing:-.02em;
}

.form-card p{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.5;
  font-size:14px;
}

.form-group{
  margin-bottom:14px;
}

label{
  display:block;
  font-size:13px;
  color:#374151;
  font-weight:700;
  margin-bottom:7px;
}

input{
  width:100%;
  border:1px solid var(--border);
  border-radius:14px;
  padding:13px 14px;
  font-size:15px;
  outline:none;
  background:#fff;
}

input:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(255,106,0,.12);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border:none;
  border-radius:999px;
  padding:14px 18px;
  background:var(--dark);
  color:#fff;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  text-decoration:none;
  transition:.15s ease;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(17,24,39,.16);
}

.btn-orange{
  background:var(--orange);
}

.notice{
  margin-top:14px;
  border-radius:16px;
  padding:12px 14px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-size:13px;
  line-height:1.5;
}

.footer{
  margin-top:auto;
  padding:22px 20px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
}

.order-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:start;
  padding:30px;
  margin-bottom:18px;
}

.order-title{
  margin:0;
  font-size:34px;
  letter-spacing:-.04em;
}

.order-sub{
  margin:8px 0 0;
  color:var(--muted);
}

.status-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:9px 14px;
  background:#ecfdf5;
  color:#166534;
  border:1px solid #bbf7d0;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--ok);
}

.grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}

.section{
  padding:26px;
}

.section h2{
  margin:0 0 16px;
  font-size:22px;
  letter-spacing:-.02em;
}

.timeline{
  position:relative;
  padding-left:4px;
}

.timeline-item{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:12px;
  padding:0 0 20px;
  position:relative;
}

.timeline-item:before{
  content:"";
  position:absolute;
  left:16px;
  top:32px;
  bottom:0;
  width:2px;
  background:var(--border);
}

.timeline-item:last-child:before{
  display:none;
}

.timeline-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  border:2px solid var(--border);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:900;
  color:var(--muted);
  z-index:1;
}

.timeline-item.done .timeline-icon{
  background:var(--dark);
  border-color:var(--dark);
  color:#fff;
}

.timeline-item.current .timeline-icon{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
  box-shadow:0 0 0 5px rgba(255,106,0,.14);
}

.timeline-title{
  font-weight:850;
  margin:2px 0 4px;
}

.timeline-desc{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.timeline-date{
  margin-top:5px;
  color:#9ca3af;
  font-size:12px;
}

.info-list{
  display:grid;
  gap:10px;
}

.info-row{
  padding:13px 0;
  border-bottom:1px solid var(--border);
}

.info-row:last-child{
  border-bottom:none;
}

.info-label{
  color:var(--muted);
  font-size:12px;
  margin-bottom:4px;
}

.info-value{
  font-weight:800;
  word-break:break-word;
}

.external-link{
  margin-top:16px;
}

.empty{
  padding:18px;
  border-radius:18px;
  background:var(--soft);
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.error-card{
  max-width:620px;
  margin:0 auto;
  padding:32px;
  text-align:center;
}

.error-card h1{
  font-size:30px;
}

.error-card p{
  color:var(--muted);
  line-height:1.6;
}

@media (max-width:820px){
  .hero,
  .grid{
    grid-template-columns:1fr;
  }

  h1{
    font-size:34px;
  }

  .order-head{
    grid-template-columns:1fr;
  }

  .status-pill{
    width:max-content;
  }
}