
body{
font-family:Arial;
background:#f4f4f4;
margin:0;
padding:20px;
}

.card{
background:white;
padding:18px;
border-radius:12px;
margin-bottom:20px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.row{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:10px;
}

.between{
justify-content:space-between;
align-items:center;
}

input,select{
padding:10px;
border-radius:8px;
border:1px solid #ccc;
flex:1;
}

button{
background:#3f5fa3;
color:white;
border:none;
padding:10px 14px;
border-radius:8px;
cursor:pointer;
}

.units-scroll{
display:flex;
gap:10px;
overflow-x:auto;
margin-top:12px;
}

.unit-chip{
background:#e9ecf8;
padding:6px 12px;
border-radius:20px;
display:flex;
align-items:center;
gap:6px;
white-space:nowrap;
font-size:14px;
}

.delete-x{
cursor:pointer;
font-size:14px;
}

.materials-scroll{
max-height:260px;
overflow-y:auto;
margin-top:10px;
}

table{
width:100%;
border-collapse:collapse;
}

th,td{
border:1px solid #ddd;
padding:8px;
text-align:center;
}

th{
background:#eee;
}

.locked{
background:#f1f1f1;
}
