* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0a0e17;
  color: #c5cdd8;
  min-height: 100vh;
}

.header {
  background: #111827;
  border-bottom: 1px solid #1e293b;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header h1 {
  font-size: 18px;
  color: #e2e8f0;
}

.status-bar {
  background: #1e293b;
  padding: 8px 24px;
  font-family: monospace;
  font-size: 13px;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.controls {
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  background: #111827;
  border-bottom: 1px solid #1e293b;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.field input,
.field select {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  min-width: 180px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #3b82f6;
}

button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  height: 36px;
}

button:hover {
  background: #2563eb;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.table-wrap {
  padding: 16px 24px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  text-align: left;
  padding: 10px 12px;
  background: #1e293b;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
}

td {
  padding: 8px 12px;
  border-bottom: 1px solid #1e293b;
}

tr:hover td {
  background: #111827;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.profit {
  color: #4ade80;
}

.timer {
  font-size: 12px;
  color: #64748b;
  font-family: monospace;
}
