.hero {
  border-radius: 0 0 16px 16px;
  padding: 16px;
  color: #fff;
}
.hero-blue { background: linear-gradient(135deg, #1677ff 0%, #0050d4 100%); }
.hero-green { background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%); }

.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.entry {
  text-align: center;
}
.entry-btn {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 8px;
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.bg-blue { background: linear-gradient(135deg, #1677ff, #4096ff); }
.bg-green { background: linear-gradient(135deg, #52c41a, #73d13d); }
.bg-orange { background: linear-gradient(135deg, #faad14, #ffc53d); }
.bg-purple { background: linear-gradient(135deg, #722ed1, #9254de); }

.input, textarea, select {
  width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
textarea { min-height: 100px; resize: vertical; }
.input:focus, textarea:focus, select:focus { border-color: var(--blue); }

.tabs, .chips { display: flex; gap: 8px; overflow: auto; }
.tab, .chip {
  border: 0;
  border-radius: 16px;
  padding: 6px 12px;
  background: #f5f7fa;
  color: var(--text-secondary);
  white-space: nowrap;
}
.tab.active, .chip.active { background: var(--blue); color: #fff; }

.customer-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 14px;
  margin-bottom: 12px;
}
.customer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.customer-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid #f5f7fa; }
.meta-item b { display: block; font-size: 11px; color: var(--text-secondary); font-weight: 400; margin-bottom: 2px; }
.meta-item span { font-size: 13px; }

.queue-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid #f5f7fa; }
.queue-item:last-child { border-bottom: none; }
.toggle {
  margin-left: auto;
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: #d9d9d9;
  position: relative;
  border: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: .2s;
}
.toggle.on { background: var(--blue); }
.toggle.on::after { left: 23px; }

.mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 50;
}
.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: min(100%, 430px);
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 60;
}

.sheet-head { padding: 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.sheet-body { padding: 12px 16px 16px; }
.timeline { position: relative; }
.timeline-item { padding-left: 38px; margin-bottom: 14px; position: relative; }
.timeline-dot {
  width: 28px; height: 28px; border-radius: 50%;
  position: absolute; left: 0; top: 0;
  background: #f5f7fa;
  display: grid; place-items: center;
}
.timeline-line {
  position: absolute; left: 13px; top: 28px; bottom: -14px; width: 2px; background: #f0f0f0;
}
.timeline-item:last-child .timeline-line { display: none; }